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

Khem Raj raj.khem at gmail.com
Mon Jan 18 19:41:37 UTC 2010


On (17/01/10 21:37), Guo Hongruan wrote:
> 在 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

It takes quite a bit to validate a toolchain (gcc/binutils/libc) before
it is pushed as default preference. Dont use sword to kill a
fly. You could very well backport the one patch and keep using 2.6.1
if you want to upgrade make sure that its stable enough and tested
enough on some common architecuture/machines but as eglibc is default
libc for micro I wouldnt worry too much for glibc as it might not hit
all users of micro.
> 
> 
> >
> >_______________________________________________
> >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
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list