[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
Re: [Qemu-devel] [PATCH 3/3] Add configure option to compile user targets as PIE
Sat, 12 Sep 2009 16:01:49 +0300
On Sat, Sep 12, 2009 at 3:18 PM, Kirill A. Shutemov
> On Sat, Sep 12, 2009 at 12:57 PM, Blue Swirl <address@hidden> wrote:
>> 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
>> 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?
> Your binutils(fedora, I guess) is buggy. Please apply this patch or do
> not enable PIE:
Looks like a very recent fix (< 2 months). Can we expect that the
builders already have the fixed version? Maybe the PIE toolchain check
should be restored?