On 2010-01-07, Grant Edwards
<[email protected]> wrote:
> On 2010-01-07, Thomas Petazzoni
>> Le Thu, 7 Jan 2010 17:02:31 +0000 (UTC),
>> Grant Edwards <[email protected]>
a ??crit :
>>> I patched the bug in the mtd package so it's now building, but
>>> it won't run:
>>> # flash_info
>>> flash_info: can't load library 'libgcc_s.so.1'
>>> libgcc_s.so.1 appears in the staging directory,
>>> $ find . -name libgcc_s*
>>> but it's not present in the target filesystem.
>> Are you using a buildroot-generated toolchain or an external toolchain ?
> Yes. :)
> It's an external toolchain that was generated by buildtoot.
The problem is that buildroot expects to find libgcc,
libstdc++, et al in $(SYSROOT)/lib
That's not where buildroot puts them.
Buildroot puts them in $(SYSROOT)/usr/arm-linux-uclibc/lib
Apparently, toolchains built by Buildroot aren't suitable for
use as external toolchains without some post-build massaging.
Grant Edwards grante Yow! I brought my
at BALL -- and some DRUGS!!