Uclibc and blackfin

Koen Kooi koen at dominion.kabel.utwente.nl
Fri Aug 10 18:34:54 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robin Getz schreef:
> On Fri 10 Aug 2007 03:26, Koen Kooi pondered:
>> Robin Getz schreef:
>>> On Thu 9 Aug 2007 10:28, Koen Kooi pondered:
>>>> Hi,
>>>>
>>>> For a few weeks now I've been trying to build a blackfin toolchain using
>>>> uclibc for OE[1] and continue to fail. I even tried using the forks at
>>>> blackfin.uclinux.org to no avail. I finally settled on using gcc 4.2.1.
>>> Why not use the toolchain/uClibc at blackfin.uclinux.org?
>> because those don't work as well. As I said in my previous mail:
> 
> I'm not sure what you mean when you say "don't work as well". 

> The uclibc fork fails at:
> >
> >  STRIP -x -R .note -R .comment lib/libc.a
> >  AR cr lib/libc.a
> >  LD lib/libc
> > bfin-angstrom-uclinux-uclibc-ld: 1: No such file: No such file or directory
> > make: *** [lib/libc.gdb] Error 1

What can cause that error, and how do I solve it?

And for vanilla uclibc:

  AR cr lib/libc.a
  LD lib/libc
bfin-angstrom-uclinux-uclibc-ld: warning: cannot find entry symbol lf2flt; defaulting to
0000000c
lib/libc.a(malloc.o): In function `malloc_from_heap':
libc/stdlib/malloc/malloc.c:(.text+0x54): undefined reference to `__GI_mmap'
make: *** [lib/libc.gdb] Error 1

What can cause that error, and how do I solve it?

For fun I tried the configs from
http://blackfin.uclinux.org/gf/project/toolchain/scmsvn/?action=browse&path=%2Ftrunk%2FuClibc%2Fextra%2F
but those seem to be bitrotted, running 'make oldconfig' on them produces a quite
different .config as it started with.

> If you need a package that is in OpenEmbedded, and not in our dist - which is
it?

That's besides the point. Not to mention that the binary toolchains don't work on ppc64 or
ppc603e.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGvK/OMkyGM64RGpERAk56AJ9SH9hDC5R2zNQwAxrdNhBMRECZ8ACfYtbM
xJfmO74SEdqWSQzlVQqOMoI=
=3XVn
-----END PGP SIGNATURE-----




More information about the uClibc mailing list