From: Artur Skawina <art_k@o2.pl>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Problem compiling Qemu related to TLS (?)
Date: Sat, 18 Feb 2006 22:59:02 +0100 [thread overview]
Message-ID: <43F798A6.7040904@o2.pl> (raw)
In-Reply-To: <200602181956.26891.ismail@uludag.org.tr>
[-- Attachment #1: Type: text/plain, Size: 681 bytes --]
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.
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 284 bytes --]
--- 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"
next prev parent reply other threads:[~2006-02-18 21:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-18 17:56 [Qemu-devel] Problem compiling Qemu related to TLS (?) Ismail Donmez
2006-02-18 21:59 ` Artur Skawina [this message]
2006-02-18 22:03 ` Ismail Donmez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43F798A6.7040904@o2.pl \
--to=art_k@o2.pl \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.