Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 451020 - sys-devel/gcc-4.5.4[multilib] fails to build for s390x
Summary: sys-devel/gcc-4.5.4[multilib] fails to build for s390x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-09 10:01 UTC by Raúl Porcel (RETIRED)
Modified: 2013-01-20 19:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,525.88 KB, text/plain)
2013-01-09 10:01 UTC, Raúl Porcel (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raúl Porcel (RETIRED) gentoo-dev 2013-01-09 10:01:47 UTC
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
Comment 1 SpanKY gentoo-dev 2013-01-09 18:40:20 UTC
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.
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2013-01-09 21:47:21 UTC
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
Comment 3 SpanKY gentoo-dev 2013-01-09 21:51:10 UTC
i think in profiles/arch/s390/s390x/make.defaults, we should add:
  BOOTSTRAP_USE="${BOOTSTRAP_USE} -multilib"
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2013-01-13 13:20:57 UTC
(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.
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2013-01-20 19:35:08 UTC
Stages are in the mirrors.