[oe] What is the state of the gcc, binutils and libc6-dev packages?

Holger Hans Peter Freyther holger+oe at freyther.de
Fri Oct 23 00:36:18 UTC 2009


On Wednesday 14 October 2009 16:52:11 Holger Hans Peter Freyther wrote:
> Hey,
> 
> one short question has anyone recently tried to build and install a
> "toolchain" on the device? I'm asking because even after installing gcc,
> bintuils, cpp, libc6-dev and the -symlinks packages I have problems like:
> 
> gcc searching in /usr/lib/gcc/BUILD_SYSTEM/4.4.1/include for header files
>  and compile failing  because stuf flike stddef, stdargs.h can not be
>  found.
> 
> After cheating it fails that a simple program can not be linked because of
> undefined references to __libc_csu_init and _fini.

Okay,

we have a major issue with our SDK and "gcc" packages now:

arm-angstrom-linux-gnueabi-gcc -o foo.file foo.c 
/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/lib/crt1.o: In function `_start':
init.c:(.text+0x2c): undefined reference to `__libc_csu_fini'
init.c:(.text+0x34): undefined reference to `__libc_csu_init'
collect2: ld returned 1 exit status

This is stock angstrom and glibc, gcc and binutils major version is
unchanged from the last successful build.

Do we stage the wrong crt1.o? How did it happen?

z.




More information about the Openembedded-devel mailing list