Created attachment 334870 [details] build.log make[5]: Entering directory `/mnt/space/tmp/portage/sys-devel/gcc-4.5.4/work/build/s390x-ibm-linux-gnu/32/libgcc' # If this is the top-level multilib, build all the other # multilibs. /mnt/space/tmp/portage/sys-devel/gcc-4.5.4/work/build/./gcc/xgcc -B/mnt/space/tmp/portage/sys-devel/gcc-4.5.4/work/build/./gcc/ -B/usr/s390x-ibm-linux-gnu/bin/ -B/usr/s390x-ibm-linux-gnu/lib/ -isystem /usr/s390x-ibm-linux-gnu/include -isystem /usr/s390x-ibm-linux-gnu/sys-include -g -O2 -pipe -m31 -O2 -g -O2 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -mlong-double-128 -I. -I. -I../../.././gcc -I/mnt/space/tmp/portage/sys-devel/gcc-4.5.4/work/gcc-4.5.4/libgcc -I/mnt/space/tmp/portage/sys-devel/gcc-4.5.4/work/gcc-4.5.4/libgcc/. -I/mnt/space/tmp/portage/sys-devel/gcc-4.5.4/work/gcc-4.5.4/libgcc/../gcc -I/mnt/space/tmp/portage/sys-devel/gcc-4.5.4/work/gcc-4.5.4/libgcc/../include -DHAVE_CC_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c /mnt/space/tmp/portage/sys-devel/gcc-4.5.4/work/gcc-4.5.4/libgcc/../gcc/libgcc2.c \ -fvisibility=hidden -DHIDE_EXPORTS In file included from /usr/include/features.h:382:0, from /usr/include/stdio.h:28, from /mnt/space/tmp/portage/sys-devel/gcc-4.5.4/work/gcc-4.5.4/libgcc/../gcc/tsystem.h:87, from /mnt/space/tmp/portage/sys-devel/gcc-4.5.4/work/gcc-4.5.4/libgcc/../gcc/libgcc2.c:29: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory compilation terminated. make[5]: *** [_muldi3.o] Error 1 make[5]: Leaving directory `/mnt/space/tmp/portage/sys-devel/gcc-4.5.4/work/build/s390x-ibm-linux-gnu/32/libgcc' make[4]: *** [multi-do] Error 1 make[4]: Leaving directory `/mnt/space/tmp/portage/sys-devel/gcc-4.5.4/work/build/s390x-ibm-linux-gnu/libgcc' make[3]: *** [all-multi] Error 2 make[3]: Leaving directory `/mnt/space/tmp/portage/sys-devel/gcc-4.5.4/work/build/s390x-ibm-linux-gnu/libgcc' make[2]: *** [all-stage1-target-libgcc] Error 2 make[2]: Leaving directory `/mnt/space/tmp/portage/sys-devel/gcc-4.5.4/work/build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/mnt/space/tmp/portage/sys-devel/gcc-4.5.4/work/build' make: *** [bootstrap-lean] Error 2 emake failed * ERROR: sys-devel/gcc-4.5.4 failed (compile phase): * emake failed with bootstrap-lean * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 4065: Called toolchain_src_compile * environment, line 4721: Called gcc_do_make * environment, line 2374: Called die
looks like you're converting a non-multilib system to multilib. this is expected behavior -- you need a multilib glibc in order to build a multilib gcc.
Nod, just hit this issue while building new stages. Although use.force is set to -multilib, BOOTSTRAP_USE is set to cxx unicode multilib. So...stages should be -multilib or +multilib? Thanks
i think in profiles/arch/s390/s390x/make.defaults, we should add: BOOTSTRAP_USE="${BOOTSTRAP_USE} -multilib"
(In reply to comment #3) > i think in profiles/arch/s390/s390x/make.defaults, we should add: > BOOTSTRAP_USE="${BOOTSTRAP_USE} -multilib" That seems to work, i've gone ahead and applied the change. Thanks for the fix.
Stages are in the mirrors.