]> sourceware.org Git - glibc.git/commit
s390x: Check HWCAP bits against compiler flags
authorFlorian Weimer <fweimer@redhat.com>
Wed, 19 May 2021 09:09:57 +0000 (11:09 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 19 May 2021 09:09:57 +0000 (11:09 +0200)
commit1805bf753f6fec9ccaeb305b748cfb9a26041d1c
treef68c170bd35639cfe430e084ead92eb60e9380d1
parentd337345ce145e23c5f3a956f349d924fdf54ce2d
s390x: Check HWCAP bits against compiler flags

When compiled with GCC 11.1 and -march=z14 -O3 build flags, running
ld.so (or any dynamically linked program) prints:

Fatal glibc error: CPU lacks VXE support (z14 or later required)

Co-Authored-By: Stefan Liebler <stli@linux.ibm.com>
Reviewed-by: Stefan Liebler <stli@linux.ibm.com>
sysdeps/s390/s390-64/dl-hwcap-check.h [new file with mode: 0644]
This page took 0.038262 seconds and 5 git commands to generate.