* eglibc build fails with 'cannot find -lgcc_eh'
@ 2012-08-22 13:24 Enrico Scholz
2012-08-22 13:45 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Enrico Scholz @ 2012-08-22 13:24 UTC (permalink / raw)
To: openembedded-core
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?
Enrico
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: eglibc build fails with 'cannot find -lgcc_eh'
2012-08-22 13:24 eglibc build fails with 'cannot find -lgcc_eh' Enrico Scholz
@ 2012-08-22 13:45 ` Richard Purdie
2012-08-22 14:22 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2012-08-22 13:45 UTC (permalink / raw)
To: Enrico Scholz; +Cc: openembedded-core
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: eglibc build fails with 'cannot find -lgcc_eh'
2012-08-22 13:45 ` Richard Purdie
@ 2012-08-22 14:22 ` Khem Raj
0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2012-08-22 14:22 UTC (permalink / raw)
To: Richard Purdie; +Cc: Enrico Scholz, openembedded-core@lists.openembedded.org
-Khem
On Aug 22, 2012, at 6:45 AM, Richard Purdie <richard.purdie@linuxfoundation.org> wrote:
> 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.
>
Don't use 2.15 it is not fixed to work with new sequence. It reminds me to send a patch to delete 2.15 recipes from oe ore
> Cheers,
>
> Richard
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-22 14:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-22 13:24 eglibc build fails with 'cannot find -lgcc_eh' Enrico Scholz
2012-08-22 13:45 ` Richard Purdie
2012-08-22 14:22 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.