From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: eglibc build fails with 'cannot find -lgcc_eh'
Date: Wed, 22 Aug 2012 14:45:02 +0100 [thread overview]
Message-ID: <1345643102.3907.121.camel@ted> (raw)
In-Reply-To: <lyfw7foy9v.fsf@ensc-virt.intern.sigma-chemnitz.de>
On Wed, 2012-08-22 at 15:24 +0200, Enrico Scholz wrote:
> Hi,
>
> with recent oe-core + oe-meta, a build from scratch fails in eglibc
> with:
>
> | .../tmp/sysroots/x86_64-oe-linux/usr/bin/armv5te-linux-gnueabi/arm-linux-gnueabi-ld.bfd: cannot find -lgcc_eh
> | collect2: error: ld returned 1 exit status
> | make[2]: *** [.../tmp/work/armv5te-linux-gnueabi/eglibc-2.15-r13+svnr19294/build-arm-linux-gnueabi/iconv/iconv_prog] Error 1
> | make[2]: *** Waiting for unfinished jobs....
> | make[2]: Leaving directory `.../tmp/work/armv5te-linux-gnueabi/eglibc-2.15-r13+svnr19294/eglibc-2_15/libc/iconv'
> | make[1]: *** [iconv/others] Error 2
>
> -lgcc_eh seems to be required because a check for -Wl,-as-needed failed.
> But this test result is bogus, because check failed due to missing -lgcc_s
> and not because of the linker flag.
>
> Any idea how to solve this?
This is highly likely to be from the toolchain bootstrap changes in
oe-core master. I'll defer to Khem on how to fix it.
Cheers,
Richard
next prev parent reply other threads:[~2012-08-22 13:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-22 13:24 eglibc build fails with 'cannot find -lgcc_eh' Enrico Scholz
2012-08-22 13:45 ` Richard Purdie [this message]
2012-08-22 14:22 ` Khem Raj
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=1345643102.3907.121.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=enrico.scholz@sigma-chemnitz.de \
--cc=openembedded-core@lists.openembedded.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