[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Problem compiling Qemu related to TLS (?)

From: Artur Skawina
Subject: Re: [Qemu-devel] Problem compiling Qemu related to TLS (?)
Date: Sat, 18 Feb 2006 22:59:02 +0100
User-agent: Mail/News 1.6a1 (X11/20060113)

Ismail Donmez wrote:
make[1]: Entering directory `/home/cartman/qemu-0.8.0/i386-user'
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/bin/ld: 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 `/home/cartman/qemu-0.8.0/i386-user'
make: *** [all] Error 1

Any ideas what might be wrong?

i fixed this some time ago, but somehow forgot to submit the patch... Attached.
--- qemu.org/target-i386/helper2.c      2005-12-04 19:46:06.000000000 +0100
+++ qemu/target-i386/helper2.c  2006-02-18 22:50:37.362222345 +0100
@@ -24,6 +24,7 @@
 #include <inttypes.h>
 #include <signal.h>
 #include <assert.h>
+#include <errno.h>
 #include "cpu.h"
 #include "exec-all.h"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]