On Friday, 5 January 2007 10:50, Adam Carter wrote:
> gcc -g -Wl,-shared -o qemu-i386 elfload.o main.o syscall.o mmap.o
> signal.o path.o osdep.o thunk.o vm86.o libqemu.a gdbstub.o   -lm
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/l
> d: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches
> non-TLS reference in libqemu.a(helper2.o)
> /lib/libc.so.6: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[1]: *** [qemu-i386] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/qemu-user-0.8.0/work/qemu-0.8.0/i386-user'
> make: *** [all] Error 1
>
> !!! ERROR: app-emulation/qemu-user-0.8.0 failed.
> Call stack:
>   ebuild.sh, line 1546:   Called dyn_compile
>   ebuild.sh, line 937:   Called src_compile
>   qemu-user-0.8.0.ebuild, line 73:   Called die
>
> !!! make failed
> !!! If you need support, post the topmost build error, and the call
> stack if relevant.
>
>
> I tried rebuilding glibc, as /lib/libc.so.6 was mentioned, but it didnt
> help.
>
> Any ideas? Are there any other sparc emulators?
>
> Cheers,
> Adam

You need to compile QEMU with gcc 3.x, it will NOT work with gcc 4.x, the 
ebuild should tell you this.

-- 
Raymond Lewis Rebbeck
-- 
[email protected] mailing list

Reply via email to