Gentoo Archives: gentoo-embedded

From: Corey <corey@×××××××××.net>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] perl / -lgcc_s
Date: Mon, 20 Nov 2006 08:29:37
Message-Id: 200611192325.37234.corey@bitworthy.net
1 Ok, well - after much effort, it looks like I'm just not going to be successful
2 cross compiling perl.
3
4 So I decided on a new strategy: I'd compile perl manually while chroot'd
5 into my minimal uclibc-based gentoo partition. However, things go fine
6 until the make process dies with the following:
7
8 "/usr/lib/gcc/i686-pc-linux-uclibc/4.1.1/../../../../i686-pc-linux-uclibc/bin/ld: cannot find -lgcc_s"
9
10 Well, this is highly annoying, because I do in fact have libgcc_s.so.1:
11
12 scanner lib # pwd
13 /usr/i686-pc-linux-uclibc/lib
14 scanner lib # ls -l libgcc_s*
15 -rwxr-xr-x 1 root root 34980 Nov 20 03:51 libgcc_s.so
16 -rwxr-xr-x 1 root root 34980 Nov 20 03:51 libgcc_s.so.1
17 scanner lib # readelf -d libgcc_s.so.1
18
19 Dynamic section at offset 0x7834 contains 21 entries:
20 Tag Type Name/Value
21 0x00000001 (NEEDED) Shared library: [libc.so.0]
22 0x0000000e (SONAME) Library soname: [libgcc_s.so.1]
23
24
25 I even went and copied thos libgcc_s.so* into every lib directory
26 I could think of, but it keeps complaining nonetheless. I'm really
27 stumped here - why is it saying it can't find it?
28
29
30 Thanks
31 --
32 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] perl / -lgcc_s "M. Edward (Ed) Borasky" <znmeb@×××××××.net>