[oe] [PATCH] Set preferred glibc to 2.10.1 in conf/distro/micro.conf

Guo Hongruan camelguo at gmail.com
Sun Jan 17 13:37:02 UTC 2010


在 Sun, 17 Jan 2010 21:30:39 +0800,Holger Hans Peter Freyther  
<holger+oe at freyther.de> 写道:

> On Sunday 17 January 2010 14:10:18 Guo Hongruan wrote:
>> * the preferred version of binutils of conf/distro/micro.conf is 2.19.51
>> * the preferred version of glibc is 2.6.1 which is defined in
>>  sane-toolchain.inc * the ld produced by binutils-2.19.51 reports that  
>> it
>>  can not find the __begin symbol when linking with glibc-2.6.1
>
> It would be really great if you could start to read emails too.
>
> So now we now two ways to cure the symptoms but we have no idea about the
> underlying root cause.
>
> Is it too much to ask what the actual error is? The __begin reminds me  
> of a
> bug in the linker script Khem was pointing out?


I guess you are using latest binutils. There has been changes in ld
which surfaced this issue. So either you could switch back to using
older binutils like 2.18 or something. Or you could also port the patch
recipes/glibc/glibc-2.9/glibc-2.9-use-_begin.patch

That's the cause of the building failure. I think it is better to use the  
newer version of glibc that to port the patch to glibc-2.6.1


>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


-- 
Guo Hongruan, Embedded Linux Consultant
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com




More information about the Openembedded-devel mailing list