在 Sun, 17 Jan 2010 19:00:23 +0800,Phil Blundell <[email protected]> 写道:

On Sun, 2010-01-17 at 11:22 +0800, Guo Hongruan wrote:
* the previous default version of binutils (2.19.51) in micro.conf cause the default version of glibc failed to build

Signed-off-by: Guo Hongruan <[email protected]>

-PREFERRED_BINUTILS = "2.19.51"
+PREFERRED_BINUTILS = "2.18"

No, this is not acceptable.  Moving binutils forwards to 2.20{.1} would
probably be OK, but going back to 2.18 is no good since that version
does not work correctly with Thumb code.

the toolchain setting in micro.conf is incompatible, which caused this problem. For the preferred version of glibc is 2.6.1 which is set in conf/distro/include/sane-toolchain.inc, I think it is better to change the binutils preferred version which is set in conf/distro/micro.conf.

see http://bugs.openembedded.org/show_bug.cgi?id=5365 to get to know what I have tried.



What is the specific problem you are experiencing with glibc?

When building glibc-2.6.1 with bintuils-2.19.51, the linker report the following error

/opt/testslave/oe_oe_inc_nightly_glibc/build/tmp/work/i686-oe-linux/glibc-2.6.1-r35.0/build-i686-oe-linux/elf/librtld.os: In function `_dl_start':
rtld.c:(.text+0xac5): undefined reference to `_begin'
/opt/testslave/oe_oe_inc_nightly_glibc/build/tmp/cross/i686/lib/gcc/i686-oe-linux/4.4.2/../../../../i686-oe-linux/bin/ld: /opt/testslave/oe_oe_inc_nightly_glibc/build/tmp/work/i686-oe-linux/glibc-2.6.1-r35.0/build-i686-oe-linux/elf/librtld.os: relocation R_386_GOTOFF against undefined hidden symbol `_begin' can not be used when making a shared object /opt/testslave/oe_oe_inc_nightly_glibc/build/tmp/cross/i686/lib/gcc/i686-oe-linux/4.4.2/../../../../i686-oe-linux/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status

See http://tinderbox.openembedded.net/packages/427429/ for more detailed information


p.



_______________________________________________
Openembedded-devel mailing list
[email protected]
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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to