This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/12679] New: parallel build failure with multilibs
- From: "zlomek at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Oct 2003 09:51:57 -0000
- Subject: [Bug bootstrap/12679] New: parallel build failure with multilibs
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12679
Summary: parallel build failure with multilibs
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Keywords: build
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zlomek at gcc dot gnu dot org
CC: aj at suse dot de,gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
When bootstrapping mainline with 2 processes (make -j2 bootstrap) 32-bit library
is wrongly configured and I get following error. When using 1 process or 4
processes the bug does not appear.
/usr/bin/ld: warning: i386 architecture of input file `.libs/allchblk.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `.libs/alloc.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `.libs/blacklst.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `.libs/checksums.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `.libs/dbg_mlc.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `.libs/dyn_load.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `.libs/finalize.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `.libs/gc_dlopen.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `.libs/gcj_mlc.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `.libs/headers.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `.libs/aix_irix_threads.o'
is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `.libs/malloc.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `.libs/mallocx.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `.libs/mark.o' is
incompatible with i386:x86-64 output
When I look into x86_64-unknown-linux-gnu/32/config.cache "-m32" is missing for
ac_cv_prog_CC but it is there for ac_cv_prog_CXXCPP:
ac_cv_prog_CC=${ac_cv_prog_CC='/abuild2/zlomekj/gcc-main/build/gcc/xgcc
-B/abuild2/zlomekj/gcc-main/build/gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include'}
ac_cv_prog_CPP=${ac_cv_prog_CPP='/abuild2/zlomekj/gcc-main/build/gcc/xgcc
-B/abuild2/zlomekj/gcc-main/build/gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include -E'}
ac_cv_prog_CXXCPP=${ac_cv_prog_CXXCPP='/abuild2/zlomekj/gcc-main/build/gcc/xgcc
-shared-libgcc -B/abuild2/zlomekj/gcc-main/build/gcc/ -nostdinc++
-L/abuild2/zlomekj/gcc-main/build/x86_64-unknown-linux-gnu/32/libstdc++-v3/src
-L/abuild2/zlomekj/gcc-main/build/x86_64-unknown-linux-gnu/32/libstdc++-v3/src/.libs
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include -m32 -E'}