[Buildroot] Libraries built with buildroot can only be used by buildroot itself.

Woody Wu narkewoody at gmail.com
Tue Jul 30 09:00:40 UTC 2013


On Tue, Jul 30, 2013 at 07:54:51AM +0300, Alexander Lukichev wrote:
> Hello, Woody!
> 
> 2013/7/30 Woody Wu <narkewoody at gmail.com>In case one, I set my path to use
> the gcc from my own Codesourcery
> 
> > installation, which is the same version as that buildroot is using.
> > Actually, this Codesourcery installation is a direct uncompress from the
> > tarball that buildroot downloaded from net to its download directory.
> >
> > In case two, I set my path to use the gcc directly in buildroot, i.e,
> > under /home/woody/buildroot-2013.05/host/usr/bin
> >
> > In case two, it built with success. But case one, it did not:
> >
> > /home/woody/arm-2012.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld:
> > skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6
> > /home/woody/arm-2012.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld:
> > cannot find /lib/libc.so.6
> > /home/woody/arm-2012.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld:
> > skipping incompatible /usr/lib/libc_nonshared.a when searching for
> > /usr/lib/libc_nonshared.a
> > /home/woody/arm-2012.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld:
> > cannot find /usr/lib/libc_nonshared.a
> > /home/woody/arm-2012.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld:
> > cannot find /lib/ld-linux.so.3
> > collect2: ld returned 1 exit status
> >
> 
>   It looks like in case one ld installed to /home/woody/arm-2012.03 is used
> to reading binaries for another architecture. Are you absolutely sure that
> this is a _cross_ toolchain?

not sure i am sure ... but the toolchains is exactly the tarball that
buildroot downloaded for me:
arm-2012.03-57-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2

> 
> --
> Best regards,
>   Alexander Lukichev

-- 
I can't go back to yesterday - because I was a different person then



More information about the buildroot mailing list