All of lore.kernel.org
 help / color / mirror / Atom feed
* compiling glibc-2.6.1 failed due to undefined reference to `_begin
@ 2010-01-03 12:14 Guo Hongruan
  2010-01-04 19:17 ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Guo Hongruan @ 2010-01-03 12:14 UTC (permalink / raw)
  To: openembeded-devel

Hi guys:
    There is a building failure of org.openembedded.dev. I think it may be  
a bug of openembedded. Have anyone met the same bug? Or have some idea  
about it?

Thanks a lot!

compiling glibc-2.6.1 failed and reported the following error:
ccache i686-oe-linux-gcc -march=pentiumpro   -nostdlib -nostartfiles  
-shared -o
/media/work-disk/workdir/oe-glibc-test/work/i686-oe-linux/glibc-2.6.1-r35.0/build-i686-oe-linux/elf/ld.so
            \
           -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both  
-Wl,-z,defs     \

/media/work-disk/workdir/oe-glibc-test/work/i686-oe-linux/glibc-2.6.1-r35.0/build-i686-oe-linux/elf/librtld.os
-Wl,--version-script=/media/work-disk/workdir/oe-glibc-test/work/i686-oe-linux/glibc-2.6.1-r35.0/build-i686-oe-linux/ld.map
        \
           -Wl,-soname=ld-linux.so.2 -T
/media/work-disk/workdir/oe-glibc-test/work/i686-oe-linux/glibc-2.6.1-r35.0/build-i686-oe-linux/elf/ld.so.lds
/media/work-disk/workdir/oe-glibc-test/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'
/media/work-disk/workdir/oe-glibc-test/cross/i686/lib/gcc/i686-oe-linux/4.4.2/../../../../i686-oe-linux/bin/ld:
/media/work-disk/workdir/oe-glibc-test/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
/media/work-disk/workdir/oe-glibc-test/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
make[2]: ***
[/media/work-disk/workdir/oe-glibc-test/work/i686-oe-linux/glibc-2.6.1-r35.0/build-i686-oe-linux/elf/ld.so]
Error 1
make[2]: Leaving directory
`/media/work-disk/workdir/oe-glibc-test/work/i686-oe-linux/glibc-2.6.1-r35.0/glibc-2.6.1/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory
`/media/work-disk/workdir/oe-glibc-test/work/i686-oe-linux/glibc-2.6.1-r35.0/glibc-2.6.1'
make: *** [all] Error 2
FATAL: oe_runmake failed
when the following conditions:
1. MACHINE=qemux86 DISTRO=micro LIBC="glibc"
2. MACHINE=qemuarm DISTRO=micro LIBC="glibc"
3. MACHINE=qemumips DISTRO=micro LIBC="glibc"

see the following links for more detialed:
http://tinderbox.openembedded.net/packages/399846/

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-05 12:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-03 12:14 compiling glibc-2.6.1 failed due to undefined reference to `_begin Guo Hongruan
2010-01-04 19:17 ` Khem Raj
2010-01-05  1:52   ` Guo Hongruan
2010-01-05 12:15   ` Guo Hongruan

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.