From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31687 invoked by alias); 1 Mar 2010 01:12:01 -0000 Received: (qmail 31502 invoked by uid 48); 1 Mar 2010 01:11:45 -0000 Date: Mon, 01 Mar 2010 01:12:00 -0000 Message-ID: <20100301011145.31501.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug testsuite/42308] test-demangle, test-pexecute and test-expandargv compiled with wrong compiler In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "howarth at nitro dot med dot uc dot edu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-03/txt/msg00001.txt.bz2 ------- Comment #1 from howarth at nitro dot med dot uc dot edu 2010-03-01 01:11 ------- This also happens for i686-apple-darwin10.... make[2]: Nothing to be done for `check'. gcc -DHAVE_CONFIG_H -g -O2 -I.. -I../../../gcc-4.5-20100228/libiberty/testsuite/../../include -o test-demangle \ ../../../gcc-4.5-20100228/libiberty/testsuite/test-demangle.c ../libiberty.a ld: warning: in ../libiberty.a, file is not of required architecture Undefined symbols: "_is_gnu_v3_mangled_dtor", referenced from: _main in cca5XU3G.o "_is_gnu_v3_mangled_ctor", referenced from: _main in cca5XU3G.o "_cplus_demangle_set_style", referenced from: _main in cca5XU3G.o _main in cca5XU3G.o "_xmalloc", referenced from: _get_line in cca5XU3G.o "_cplus_demangle_name_to_style", referenced from: _main in cca5XU3G.o _main in cca5XU3G.o "_xrealloc", referenced from: _get_line in cca5XU3G.o "_cplus_demangle", referenced from: _main in cca5XU3G.o _main in cca5XU3G.o ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [test-demangle] Error 1 gcc -DHAVE_CONFIG_H -g -O2 -I.. -I../../../gcc-4.5-20100228/libiberty/testsuite/../../include -DHAVE_CONFIG_H -I.. -o test-pexecute \ ../../../gcc-4.5-20100228/libiberty/testsuite/test-pexecute.c ../libiberty.a ld: warning: in ../libiberty.a, file is not of required architecture Undefined symbols: "_pexecute", referenced from: _main in ccp2aaPu.o _main in ccp2aaPu.o "_pex_init", referenced from: _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o "_pex_get_status", referenced from: _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o "_pex_read_output", referenced from: _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o "_pex_run", referenced from: _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o "_pex_free", referenced from: _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o _main in ccp2aaPu.o "_xstrerror", referenced from: _fatal_error in ccp2aaPu.o "_pwait", referenced from: _main in ccp2aaPu.o _main in ccp2aaPu.o ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [test-pexecute] Error 1 gcc -DHAVE_CONFIG_H -g -O2 -I.. -I../../../gcc-4.5-20100228/libiberty/testsuite/../../include -DHAVE_CONFIG_H -I.. -o test-expandargv \ ../../../gcc-4.5-20100228/libiberty/testsuite/test-expandargv.c ../libiberty.a ld: warning: in ../libiberty.a, file is not of required architecture Undefined symbols: "_dupargv", referenced from: _run_tests in cc9bX5PF.o _run_tests in cc9bX5PF.o "_expandargv", referenced from: _run_tests in cc9bX5PF.o "_xstrerror", referenced from: _fatal_error in cc9bX5PF.o "_freeargv", referenced from: _run_tests in cc9bX5PF.o _run_tests in cc9bX5PF.o ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [test-expandargv] Error 1 make[3]: Target `check' not remade because of errors. make[2]: *** [check-subdir] Error 2 make[2]: Target `check' not remade because of errors. make[1]: *** [check-libiberty] Error 2 make[1]: Target `check-host' not remade because of errors. because the system compiler defaults to -m64 and the built compiler to -m32 causing the mismatch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42308