gcc-14 fails building gcc-14 with USE=hardened Reproducible: Always Steps to Reproduce: 1. set my use flags as below 2. emerge -av gcc 3. after long build time, fails to complete Actual Results: fails to build Expected Results: build should compelete successfully sys-devel/gcc-14.2.1_p20241116:14::gentoo USE="(cxx) (default-stack-clash-protection) (default-znow) fortran go graphite hardened* (multilib) nls openmp (pie) sanitize ssp zstd -ada -cet (-custom-cflags) -d -debug -doc (-fixed-point) (-ieee-long-double) -jit (-libssp) -lto -modula2 -objc -objc++ -objc-gc (-pch) -pgo -rust -systemtap -test (-time64) -valgrind -vanilla -vtv"
Created attachment 914800 [details] build log
/var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/libgo/runtime/proc.c: In function ‘runtime_gogo’: /var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/libgo/runtime/proc.c:293:9: error: implicit declaration of function ‘fixcontext’; did you mean ‘setcontext’? [-Wimplicit-function-declaration] 293 | fixcontext(ucontext_arg(&newg->context[0])); | ^~~~~~~~~~ | setcontext /var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/libgo/runtime/proc.c: In function ‘runtime_mstart’: /var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/work/gcc-14-20241116/libgo/runtime/proc.c:558:9: error: implicit declaration of function ‘initcontext’; did you mean ‘setcontext’? [-Wimplicit-function-declaration] 558 | initcontext(); | ^~~~~~~~~~~ | setcontext make[8]: *** [Makefile:1531: runtime/proc.lo] Error 1 so people do not have to dig threw entire log to see error
``` [31;01m*[0m Please include /var/tmp/portage/sys-devel/gcc-14.2.1_p20241116/ work/gcc-build-logs.tar.xz in your bug report. ``` Please upload that tarball.