Gentoo Archives: gentoo-embedded

From: "Сергей Миронов" <ierton@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] chroot
Date: Mon, 08 Jun 2009 14:10:17
Message-Id: aa09d86e0906080710s538e3dd6y17babd2e94897e16@mail.gmail.com
In Reply to: Re: [gentoo-embedded] chroot by Tim Erwin
1 2009/6/8 Tim Erwin <taerwin@×××××.com>:
2 >
3 >> Especially the step
4 >>
5 >> ROOT=<path to stage3 dir> gcc-config -l
6 >> ROOT=<path to stage3 dir> gcc-config <the gcc you want!>
7 >
8 > Nope not that.
9 >
10 > It seems that libgcc_s.so.1 is missing from /lib directory (it exists in
11 > /usr/lib/gcc/armv4tl-softfloat-linux-gnueabi/4.3.2/)
12 >
13 > Copied it over and presto! Anyone else with this problem? Cross-compile bug?
14 >
15 > Cheers,
16 >
17 > Tim
18 >
19 >
20
21 I have the same.
22 Workaround is
23
24 1. copy host machine's cross-gcc lib into
25 /usr/arm-unknown-linux-gnueabi/usr/lib/gcc/arm-unlnown-linux-gnueabi/4.4.0
26
27 2. make symlinks /usr/arm-unknown-linux-gnueabi/usr/lib/libgcc_s.so*
28 (HOST path) to point to
29 /usr/lib/gcc/arm-unlnown-linux-gnueabi/4.4.0/libgcc_s.so* (TARGET
30 path)
31
32 think, that it is a bug..
33
34 --
35 ó õ×ÁÖÅÎÉÅÍ,
36 óÅÒÇÅÊ.