Uclibc and blackfin

Robin Getz rgetz at blackfin.uclinux.org
Thu Aug 9 18:19:02 PDT 2007


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?

https://blackfin.uclinux.org/gf/project/toolchain/scmsvn/?action=browse&path=%2Ftrunk%2F

> The problems:
> 
> * uclibc svn insist on passing the fdpic option to gcc, which no gcc4 I can 
locate
> (upstream, fork, patches, etc) knowns about. 

the fdpic option was deprecated, we may just not have pushed the uClibc 
changes upstream (sorry).

you should be able to follow the buildscript in our svn to see what we are 
doing.
 - build a bfin-elf toolchain
 - build multiple versions of uClibc
 - build bfin-uclinux- toolchain (for flat apps)
 - build bfin-linux-uclibc- toolchain (for fdpic)

> Does anybody have any pointers where I can find sources, patches or
> configs to get a uclibc build to complete?  

I do this daily with the sources from blackfin.uclinux.org - and don't have a 
problem. What does the uClibc version there not support, that you want to 
build your own with?

-Robin


More information about the uClibc mailing list