On Mon, 2009-06-08 at 23:09 +1000, Tim Erwin wrote:
> 
>         Especially the step
>         
>         ROOT=<path to stage3 dir> gcc-config -l
>         ROOT=<path to stage3 dir> gcc-config <the gcc you want!>
> 
> Nope not that.
> 
> It seems that libgcc_s.so.1 is missing from /lib directory (it exists
> in /usr/lib/gcc/armv4tl-softfloat-linux-gnueabi/4.3.2/)
> 
> Copied it over and presto! Anyone else with this problem?
> Cross-compile bug?


When you enter the chroot. You most likely forget to initialy run an
env-update. Which should update the /etc/ld.so.conf and then the
ld.so.cache

Or simply: 

echo /usr/lib/gcc/armv4tl-softfloat-linux-gnueabi/4.3.2/ \
  >> $ROOT/etc/ld.so.conf ; chroot $ROOT /sbin/ldconfig -a




Reply via email to