public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Corey" <corey@bitworthy.net>
To: gentoo-embedded@lists.gentoo.org
Subject: [gentoo-embedded] perl /  -lgcc_s
Date: Sun, 19 Nov 2006 23:25:36 -0700	[thread overview]
Message-ID: <200611192325.37234.corey@bitworthy.net> (raw)


Ok, well - after much effort, it looks like I'm just not going to be successful
cross compiling perl.

So I decided on a new strategy:  I'd compile perl manually while chroot'd
into my minimal uclibc-based gentoo partition. However, things go fine
until the make process dies with the following:

"/usr/lib/gcc/i686-pc-linux-uclibc/4.1.1/../../../../i686-pc-linux-uclibc/bin/ld: cannot find -lgcc_s"

Well, this is highly annoying, because I do in fact have libgcc_s.so.1:

scanner lib # pwd
/usr/i686-pc-linux-uclibc/lib
scanner lib # ls -l libgcc_s*
-rwxr-xr-x 1 root root 34980 Nov 20 03:51 libgcc_s.so
-rwxr-xr-x 1 root root 34980 Nov 20 03:51 libgcc_s.so.1
scanner lib # readelf -d libgcc_s.so.1

Dynamic section at offset 0x7834 contains 21 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]
 0x0000000e (SONAME)                     Library soname: [libgcc_s.so.1]


I even went and copied thos libgcc_s.so* into every lib directory
I could think of, but it keeps complaining nonetheless. I'm really
stumped here - why is it saying it can't find it?


Thanks
-- 
gentoo-embedded@gentoo.org mailing list



             reply	other threads:[~2006-11-20  8:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-20  6:25 Corey [this message]
2006-11-20  9:28 ` [gentoo-embedded] perl / -lgcc_s M. Edward (Ed) Borasky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200611192325.37234.corey@bitworthy.net \
    --to=corey@bitworthy.net \
    --cc=gentoo-embedded@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox