[PATCH 7/7] s390x: Use <gcc-macros.h> in early HWCAP check
Florian Weimer
fweimer@redhat.com
Tue Jan 18 12:54:40 GMT 2022
* Stefan Liebler:
> I'm not quite sure if all your patches are already committed. I've just
> give it a try with commit f8b765bec44e6c464a7eabf80e58c6851ca15ac3:
>
> - configure glibc with --with-rtld-early-cflags=-march=zEC12 and
> CFLAGS=-march=z15 on a z15.
>
> - Rebooted with novx-kernel-parameter => vector-related HWCAPs are
> disabled and executing vector-instructions leads to a crash
>
> - run a helloworld-program: crash due to vector-instruction in
> _dl_setup_hash, which is called in _dl_start_final before
> _dl_sysdep_start is called which runs dl_hwcap_check.
>
> I've checked the build-log and see that the following files are compiled
> with -march=zEC12:
> - dl-printf.c
> - ../sysdeps/unix/sysv/linux/dl-write.c
> - dl-tunables.c
> - ../sysdeps/unix/sysv/linux/dl-sysdep.c
> - rtld.c
Sorry, I missed that requirement.
Would you mind testing the attached patch?
Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-elf-Move-_dl_setup_hash-to-its-own-file.patch
Type: text/x-patch
Size: 5234 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20220118/920a0f1c/attachment.bin>
More information about the Libc-alpha
mailing list