From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22407 invoked by alias); 19 Oct 2003 09:51:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 22399 invoked by uid 48); 19 Oct 2003 09:51:57 -0000 Date: Sun, 19 Oct 2003 13:47:00 -0000 From: "zlomek at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20031019095154.12679.zlomek@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug bootstrap/12679] New: parallel build failure with multilibs X-Bugzilla-Reason: CC X-SW-Source: 2003-10/txt/msg01525.txt.bz2 List-Id: 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'}