[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/3] Add configure option to compile user targe
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [PATCH 3/3] Add configure option to compile user targets as PIE |
Date: |
Sat, 12 Sep 2009 12:57:41 +0300 |
On Sat, Sep 12, 2009 at 2:17 AM, Kirill A. Shutemov
<address@hidden> wrote:
> Build uset targers as true PIE if user want to keep qemu
> self-virtualizable.
With PIE enabled, I get the following error:
LINK ppc-linux-user/qemu-ppc
/usr/bin/ld: main.o: relocation R_X86_64_TPOFF32 against `thread_env'
can not be used when making a shared object; recompile with -fPIC
main.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
Maybe -fPIC should be used as well?