/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/build/./gcc/xgcc -B/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/build/./gcc/ -B/usr/armv7a-hardfloat-linux-gnueabi/bin/ -B/usr/armv7a-hardfloat-linux-gnueabi/lib/ -isystem /usr/armv7a-hardfloat-linux-gnueabi/include -isystem /usr/armv7a-hardfloat-linux-gnueabi/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fno-stack-clash-protection -fPIC -fno-inline -I. -I. -I../.././gcc -I/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/gcc-8.2.0/libgcc -I/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/gcc-8.2.0/libgcc/. -I/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/gcc-8.2.0/libgcc/../gcc -I/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/gcc-8.2.0/libgcc/../include -DHAVE_CC_TLS -o _cmpdi2.o -MT _cmpdi2.o -MD -MP -MF _cmpdi2.dep -DL_cmpdi2 -c /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/gcc-8.2.0/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS In file included from /usr/armv7a-hardfloat-linux-gnueabi/sys-include/features.h:452, from /usr/armv7a-hardfloat-linux-gnueabi/sys-include/bits/libc-header-start.h:33, from /usr/armv7a-hardfloat-linux-gnueabi/sys-include/stdio.h:27, from /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/gcc-8.2.0/libgcc/../gcc/tsystem.h:87, from /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/gcc-8.2.0/libgcc/libgcc2.c:27: /usr/armv7a-hardfloat-linux-gnueabi/sys-include/gnu/stubs.h:7:11: fatal error: gnu/stubs-soft.h: No such file or directory # include <gnu/stubs-soft.h> ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:494: _muldi3.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /usr/armv7a-hardfloat-linux-gnueabi/sys-include/features.h:452, from /usr/armv7a-hardfloat-linux-gnueabi/sys-include/bits/libc-header-start.h:33, from /usr/armv7a-hardfloat-linux-gnueabi/sys-include/stdio.h:27, from /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/gcc-8.2.0/libgcc/../gcc/tsystem.h:87, from /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/gcc-8.2.0/libgcc/libgcc2.c:27: /usr/armv7a-hardfloat-linux-gnueabi/sys-include/gnu/stubs.h:7:11: fatal error: gnu/stubs-soft.h: No such file or directory # include <gnu/stubs-soft.h> ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:494: _negdi2.o] Error 1 In file included from /usr/armv7a-hardfloat-linux-gnueabi/sys-include/features.h:452, from /usr/armv7a-hardfloat-linux-gnueabi/sys-include/bits/libc-header-start.h:33, from /usr/armv7a-hardfloat-linux-gnueabi/sys-include/stdio.h:27, from /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/gcc-8.2.0/libgcc/../gcc/tsystem.h:87, from /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/gcc-8.2.0/libgcc/libgcc2.c:27: /usr/armv7a-hardfloat-linux-gnueabi/sys-include/gnu/stubs.h:7:11: fatal error: gnu/stubs-soft.h: No such file or directory # include <gnu/stubs-soft.h> ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:494: _cmpdi2.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/build/armv7a-hardfloat-linux-gnueabi/libgcc' make[1]: *** [Makefile:12432: all-target-libgcc] Error 2 make[1]: Leaving directory '/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/build' make: *** [Makefile:906: all] Error 2 * ERROR: cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3::crossdev failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3::crossdev'`, * the complete build log and the output of `emerge -pqv '=cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3::crossdev'`. * The complete build log is located at '/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/temp/environment'. * Working directory: '/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/build' * S: '/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/gcc-8.2.0' * * Please include /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-8.2.0-r3/work/gcc-build-logs.tar.bz2 in your bug report. * pietro@ThinkPad ~ $
Created attachment 547958 [details] build info
Created attachment 547960 [details] complete build log
Is it a new crossdev run or an attempt to update existing install? It could be a fallout of https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=921cb9c10de4d237924a61a1c27f914dfb479a64
See also: https://bugs.gentoo.org/674112 dev-python/m2crypto-0.31.0 on armhf - src_compile(): swig: /usr/include/gnu/stubs.h:7: Error: Unable to find 'gnu/stubs-soft.h' I am hit by this problem on an ARM device. Gentoo was cross-compiled for initial install but then kept up to date by runnging emerge on that device. This issue appeared about one or two weeks ago for me. I remember transitioning to the new ARM tuples and profile some time ago without issues (was able to emerge without a hitch).
Here the fallout is mis-detection of FP ABI: --host=x86_64-pc-linux-gnu --target=armv7a-hardfloat-linux-gnueabi --build=x86_64-pc-linux-gnu ... --with-float=softfp --with-arch=armv7-a Without answer to #comment3 it's hard to say for sure.
Created attachment 564524 [details] build.log.gz
Please file a new bug or reopen this one if gcc still fails build for you.