[oe] failure on gcc-cross-initial-4.2.4-r5 for i686

Khem Raj raj.khem at gmail.com
Sun Mar 8 01:35:28 UTC 2009


On Saturday 07 March 2009 14:07:33 Travis Stratman wrote:
> Hello,
>
> I am trying to build an image for an i686 based machine (pentiumpro). I
> have it configured to use gcc 4.2.4, glibc 2.6.1, binutils 2.18.50.0.7.
>
> The build fails on do_compile in gcc-cross-initial. The log shows
> "checking for C compiler default output file name... configure: error: C
> compiler cannot create executables" in configure-stage2-intl.
>
> Looking at the config.log in gcc-4.2.4/build.i686-linux.i686-linux/intl
> shows:
> ----
> configure:2118: checking for C compiler default output file name
> configure:2121: 
> /opt/oe/EMAC-OE-x86/tmp/work/i686-linux/gcc-cross-initial-4.2.4-r5/gcc-4.2.
>4/build.i686-linux.i686-linux/./prev-gcc/xgcc
> -B/opt/oe/EMAC-OE-x86/tmp/work/i686-linux/gcc-cross-initial-4.2.4-r5/gcc-4.
>2.4/build.i686-linux.i686-linux/./prev-gcc/
> -B/opt/oe/EMAC-OE-x86/tmp/cross/i686/i686-linux/bin/ -O2 -g
> -fomit-frame-pointer   conftest.c  >&5
> /opt/oe/EMAC-OE-x86/tmp/cross/i686/i686-linux/bin/ld: crt1.o: No such file:
> No such file or directory
> collect2: ld returned 1 exit status
> ----
>
> If I recall correctly the crt1.o file is a start file provided by glibc,
> but I need to get gcc compiled first...

yes. gcc-initial is really very minimal gcc. It does not depend on anything 
except binutils. We make sure that it does not build stuff thats not needed at 
this stage.

>
> Any ideas on where to start? Is there any information that I can provide
> that would be helpful?

Are you using latest git? I do not get the error like yours for me it builds 
fine for i686-generic machine. Could you post your local.conf ?
are you using some pre existing distro and machine or defining your own.

Thx

-Khem






More information about the Openembedded-devel mailing list