https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91833
Bug ID: 91833
Summary: [AArch64] LSE atomics depends on glibc specific
sys/auxv.h
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Keywords: build
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
Target Milestone: ---
Host: x86_64-linux-gnu
Target: aarch64-none-elf
Build: x86_64-linux-gnu
Hi.
libgcc/config/aarch64/lse-init.c includes <sys/auxv.h> (in order to determine
hardware features). As that is a glibc specific header, its presence should be
checked. If the header is not provided by the used (target) libc
implementation, bootstrapping will fail.