This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/28133] New: Cross-compile of GCC fails with "C compiler cannot create executables" error
- From: "aweiner at lsil dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jun 2006 00:41:34 -0000
- Subject: [Bug bootstrap/28133] New: Cross-compile of GCC fails with "C compiler cannot create executables" error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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 </dev/null >&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 </dev/null >&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