Skip to contentSkip to conversation

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

DISCUSSION Holger Hans Peter Freyther 2 participants 3 messages Oct 14, 2009 – Oct 23, 2009

lore
Share & tools
lore
#0 lore raw

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.

Is this because I'm on x86_64 and try to build for i686 or can you guys see that on ARM and other targets too?

z.

#1 lore raw
Quoted 9 lines · Holger Hans Peter Freyther

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.

Quoted 6 lines

After cheating it fails that a simple program can not be linked because of undefined references to __libc_csu_init and _fini.

Is this because I'm on x86_64 and try to build for i686 or can you guys see that on ARM and other targets too?

I tried gcc 4.4.1 + binutils 2.19.51 + eglibc 2.10 + x86_64 build machine couple of weeks back.
and it worked well for arm/uclibc

Quoted 8 lines

z.

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw
In reply to Holger Hans Peter Freyther
Quoted 6 lines · 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:

Quoted 6 lines

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.