crosstool and uClibc

Dan Kegel dank@kegel.com
Sun Jul 10 15:35:00 GMT 2005


Yann E. MORIN wrote:
> Also, I've tidied up a bit crosstool so that 'multiple' C libraries will be
> easier to include (or to remove?). I'm willing to post any work I've done,
> but that would mean Dan (or any one else?) will have work to incorporate that
> in the next-to-come 0.37. Instead, I'm willing to re-do what I've done once
> 0.37 is out. Tell me what you'd prefer.
> 
> Plus, is it acceptable that all I've done been submitted in one patch, or in
> splitted patches, one for each separate and self-contained feature? (my tree
> has support for program prefix, silent extractions and run, support of
> snapshot tarballs, that is it is systematically downloaded, plus preliminary
> uClibc support.) Tell me.

Separate patches, please!  I look forward to seeing what you've done.
It would be nice if they were against 0.37.

> No sanitized headers were used, as they prevent uClibc from building.

That's a shame.  At some point, let's get those errors reported
so we can get them fixed (either by the uclibc folks, or by the
sanitized headers maintainer, as appropriate).

> THe patches I used against gcc were taken from buildroot, in an attempt to
> have C++ working. Alas so far it didn't even compile.

Hrm.  Maybe you should take the patches from ptxdist instead.

> The so-built toolchain refuses to build dynamicaly linked binaries with the
> folowing error (sorry for long lines):
> 
> [ymorin@lesneven ~/dev/tmp]> cat ess.c
> #include <stdio.h>
> int main( int argc, char** argv ) {
>     return printf( "Hello world!\n" );
> }
> 
> [ymorin@lesneven ~/dev/tmp]> e800-uclibc-gcc ess.c -o ess --verbose
> ...
> /users/e800-uclibc/lib/gcc/armv5l-xscale-linux-gnu/3.4.3/../../../../armv5l-xscale-linux-gnu/lib/libgcc_s.so: undefined reference to `dl_iterate_phdr'
> collect2: ld returned 1 exit status

Hrm.  Maybe the following is related?

http://uclibc.org/lists/uclibc/2004-January/007943.html
http://uclibc.org/lists/uclibc/2004-January/007944.html

- Dan


-- 
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list