https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119680
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[15 Regression] Bootstrap |Build fails with |fails with |--enable-host-pie linking |--enable-host-pie |collect2 Target| |riscv Keywords| |build Known to fail| |14.2.1, 15.0 Host| |x86_64-unknown-linux-gnu CC| |mpolacek at gcc dot gnu.org --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- The particular build that failed for me was a cross to riscv64 using binutils 2.43 and glibc 2.31 configured with [ 37s] + ../configure 'CFLAGS= -fmessage-length=0 -grecord-gcc-switches -O2 -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' 'CXXFLAGS= -fmessage-length=0 -grecord-gcc-switches -O2 -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' 'XCFLAGS= -fmessage-length=0 -grecord-gcc-switches -O2 -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' 'TCFLAGS= -fmessage-length=0 -grecord-gcc-switches -O2 -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' 'GDCFLAGS= -fmessage-length=0 -grecord-gcc-switches -O2 -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c --enable-host-pie --enable-checking=release --disable-werror --with-gxx-include-dir=/usr/include/c++/15 --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --enable-ssp --disable-libssp --disable-libvtv --enable-cet=auto --disable-libcc1 --disable-plugin --with-bugurl=https://bugs.opensuse.org/ '--with-pkgversion=SUSE Linux' --with-slibdir=/usr/riscv64-suse-linux/sys-root/lib64 --with-system-zlib --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --with-gcc-major-version-only --enable-linux-futex --enable-gnu-indirect-function --program-suffix=-15 --program-prefix=riscv64-suse-linux- --target=riscv64-suse-linux --disable-nls --with-sysroot=/usr/riscv64-suse-linux/sys-root --with-build-sysroot=/usr/riscv64-suse-linux/sys-root --with-build-time-tools=/usr/riscv64-suse-linux/bin --disable-gcov --disable-threads --disable-shared --disable-libmudflap --disable-libssp --disable-libgomp --disable-libquadmath --disable-libatomic --without-headers --with-newlib --disable-multilib --disable-bootstrap --enable-link-serialization --disable-libsanitizer --build=x86_64-suse-linux --host=x86_64-suse-linux >From a newer codebase a cross build from ppc64le -> x86_64 works fine linking collect2, it seems no symbols are picked up from libbacktrace there. Fails on both trunk and the 14 branch (--enable-host-pie is new there).