[Thinstation-developer] failure building thinstation from svn sources
Brought to you by:
doncuppjr
From: Sebastian R. <seb...@l0...> - 2009-04-30 11:00:00
|
Hi, I checked out thinstation source from svn. I already found ways to circumvent other problems, but now I'm a bit lost, linking glibc fails, here are the last lines of output: | a - /home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/string/rtld-rawmemchr.os | a - /home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/time/rtld-setitimer.os | : /home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/elf/rtld-libc.aT | mv -f /home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/elf/rtld-libc.aT /home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/elf/rtld-libc.a | make[3]: Leaving directory `/home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/glibc-2.9/elf' | i586-linux-gcc -march=pentium -nostdlib -nostartfiles -r -o /home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/elf/librtld.os '-Wl,-(' /home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/elf/dl-allobjs.os /home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/elf/rtld-libc.a -lgcc '-Wl,-)' \ | -Wl,-Map,/home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/elf/librtld.os.map | i586-linux-gcc -march=pentium -nostdlib -nostartfiles -shared \ | -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs -Wl,--verbose 2>&1 | \ | LC_ALL=C \ | sed -e '/^=========/,/^=========/!d;/^=========/d' \ | -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \ | > /home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/elf/ld.so.lds | i586-linux-gcc -march=pentium -nostdlib -nostartfiles -shared -o /home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/elf/ld.so \ | -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs \ | /home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/elf/librtld.os -Wl,--version-script=/home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/ld.map \ | -Wl,-soname=ld-linux.so.2 -T /home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/elf/ld.so.lds | /home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/elf/librtld.os: In function `_dl_start': | rtld.c:(.text+0x44e): undefined reference to `_begin' | /home/sre/Documents/build/tmp/cross/i586/lib/gcc/i586-linux/4.2.4/../../../../i586-linux/bin/ld: /home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/elf/librtld.os: relocation R_386_GOTOFF against undefined symbol `_begin' can not be used when making a shared object | /home/sre/Documents/build/tmp/cross/i586/lib/gcc/i586-linux/4.2.4/../../../../i586-linux/bin/ld: final link failed: Bad value | collect2: ld returned 1 exit status | make[2]: *** [/home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/build-i586-linux/elf/ld.so] Error 1 | make[2]: Leaving directory `/home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/glibc-2.9/elf' | make[1]: *** [elf/subdir_lib] Error 2 | make[1]: Leaving directory `/home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/glibc-2.9' | make: *** [all] Error 2 | FATAL: oe_runmake failed NOTE: Task failed: /home/sre/Documents/build/tmp/work/i586-linux/glibc-2.9-r0/temp/log.do_compile.32352 NOTE: package glibc-2.9-r0: task do_compile: failed ERROR: TaskFailed event exception, aborting ERROR: Build of /home/sre/Documents/openembedded/recipes/glibc/glibc_2.9.bb do_compile failed ERROR: Task 128 (/home/sre/Documents/openembedded/recipes/glibc/glibc_2.9.bb, do_compile) failed NOTE: Tasks Summary: Attempted 154 tasks of which 70 didn't need to be rerun and 1 failed. ERROR: '/home/sre/Documents/openembedded/recipes/glibc/glibc_2.9.bb' failed NOTE: build 200904291416: completed I found sth. related here: http://www.mail-archive.com/bug-binutils%40gnu.org/msg07099.html The host I'm compiling is a opensuse 11.0 i386 box. kind regards Sebastian |