https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125990
Bug ID: 125990
Summary: gcc 16.1.1 build fails on aarch64_be netbsd 11.0 RC5
Product: gcc
Version: 16.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
Assignee: unassigned at gcc dot gnu.org
Reporter: lfoldy at gmail dot com
Target Milestone: ---
For a hobby project, on a qemu aarch64_be netbsd 11.0 machine, compiling with
system gcc (12.5.0):
./gcc-16-20260613/configure --prefix=/scratch/devel
--build=aarch64_be-unknown-netbsd11.0 --host=aarch64_be-unknown-netbsd11.0
--enable-checking=release --enable-languages=c,c++,fortran --enable-long-long
--enable-threads --enable-__cxa_atexit --disable-libgcj
--with-gmp=/scratch/devel --with-mpfr=/scratch/devel --with-mpc=/scratch/devel
--with-isl=/scratch/devel --disable-multilib --disable-libstdcxx-pch
--disable-nls --disable-isl-version-check --program-suffix=-16.1.1
--with-demangler-in-ld --enable-host-shared --disable-werror
ld: gcc.o:(.data.rel.ro+0x158): undefined reference
to`host_detect_local_cpu(int, char const**)'
gmake[5]: *** [Makefile:2397: xgcc] Error 1