From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2945 invoked by alias); 22 Jun 2006 00:41:42 -0000 Received: (qmail 2922 invoked by uid 48); 22 Jun 2006 00:41:34 -0000 Date: Thu, 22 Jun 2006 01:01:00 -0000 Subject: [Bug bootstrap/28133] New: Cross-compile of GCC fails with "C compiler cannot create executables" error X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "aweiner at lsil dot com" 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 X-SW-Source: 2006-06/txt/msg02025.txt.bz2 List-Id: config.log contents: configure:2274: $? = 0 configure:2276: /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/xgcc -B/cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/ -B/cygdrive/c/gcc_4.1.1_ppc_440/powerpc-440-eabi/bin/ -B/cygdrive/c/gcc_4.1.1_ppc_440/powerpc-440-eabi/lib/ -isystem /cygdrive/c/gcc_4.1.1_ppc_440/powerpc-440-eabi/include -isystem /cygdrive/c/gcc_4.1.1_ppc_440/powerpc-440-eabi/sys-include -v &5 Reading specs from /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/specs Target: powerpc-440-eabi Configured with: ../gcc-4.1.1-src/configure --disable-shared --prefix=/cygdrive/c/gcc_4.1.1_ppc_440 --target=powerpc-440-eabi --with-cpu=440 --with-newlib --enable-languages=c,c++ --with-headers=../newlib-1.14.0-src/newlib/libc/include Thread model: single gcc version 4.1.1 configure:2279: $? = 0 configure:2281: /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/xgcc -B/cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/ -B/cygdrive/c/gcc_4.1.1_ppc_440/powerpc-440-eabi/bin/ -B/cygdrive/c/gcc_4.1.1_ppc_440/powerpc-440-eabi/lib/ -isystem /cygdrive/c/gcc_4.1.1_ppc_440/powerpc-440-eabi/include -isystem /cygdrive/c/gcc_4.1.1_ppc_440/powerpc-440-eabi/sys-include -V &5 xgcc: '-V' must come at the start of the command line configure:2284: $? = 1 configure:2307: checking for C compiler default output file name configure:2310: /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/xgcc -B/cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/ -B/cygdrive/c/gcc_4.1.1_ppc_440/powerpc-440-eabi/bin/ -B/cygdrive/c/gcc_4.1.1_ppc_440/powerpc-440-eabi/lib/ -isystem /cygdrive/c/gcc_4.1.1_ppc_440/powerpc-440-eabi/include -isystem /cygdrive/c/gcc_4.1.1_ppc_440/powerpc-440-eabi/sys-include -O2 -g -O2 conftest.c >&5 /cygdrive/c/gcc_4.1.1_ppc_440/powerpc-440-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 01800074 /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o): In function `__eabi': /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/gcc/eabi.S:232: undefined reference to `__init' /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o):(.got2+0x8): undefined reference to `__SDATA_START__' /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o):(.got2+0xc): undefined reference to `__SBSS_END__' /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o):(.got2+0x14): undefined reference to `__SDATA2_START__' /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o):(.got2+0x18): undefined reference to `__SBSS2_END__' /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o):(.got2+0x1c): undefined reference to `__GOT_START__' /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o):(.got2+0x28): undefined reference to `__GOT_END__' /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o):(.got2+0x2c): undefined reference to `__GOT2_START__' /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o):(.got2+0x30): undefined reference to `__GOT2_END__' /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o):(.got2+0x34): undefined reference to `__FIXUP_START__' /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o):(.got2+0x38): undefined reference to `__FIXUP_END__' /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o):(.got2+0x3c): undefined reference to `__CTOR_LIST__' /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o):(.got2+0x40): undefined reference to `__CTOR_END__' /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o):(.got2+0x44): undefined reference to `__DTOR_LIST__' /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o):(.got2+0x48): undefined reference to `__DTOR_END__' /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o):(.got2+0x4c): undefined reference to `__EXCEPT_START__' /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/nof/libgcc.a(eabi.o):(.got2+0x50): undefined reference to `__EXCEPT_END__' collect2: ld returned 1 exit status configure:2313: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "libssp" | #define PACKAGE_TARNAME "libssp" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "libssp 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libssp" | #define VERSION "1.0" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2352: error: C compiler cannot create executables See `config.log' for more details. -- Summary: Cross-compile of GCC fails with "C compiler cannot create executables" error Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aweiner at lsil dot com GCC host triplet: i686-pc-cygwin GCC target triplet: powerpc-440-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28133