emerge sys-devel/gcc-14.2.0 fails with this error: /usr/lib/gcc/armv7a-unknown-linux-musleabihf/14/../../../../armv7a-unknown-linux-musleabihf/bin/ld: ../libbacktrace/.libs/libbacktrace.a(backtrace.o): in function `unwind': backtrace.c:(.text+0x1c): undefined reference to `_Unwind_GetIP' collect2: error: ld returned 1 exit status Thank you. Reproducible: Always
Created attachment 899274 [details] emerge --info
Please include gcc-build-logs.tar.xz.
Created attachment 899275 [details] build log
I did more tests: - emerge sys-devel/gcc:13 fails with the same error - after installing gcc:13 binpkg and activating it in eselect gcc, emerge sys-devel/gcc:14 fails with the same error. I don't know if it's important or not, but I'm using kernel v6.10 from github/torvalds and linux-headers v6.9 from portage. I couldn't find a guide how to install headers from an external kernel source. Running make headers_install in the kernel source dir made a mess in /usr/include.