qemu-devel
[Top][All Lists]
Advanced

[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 16:01:49 +0300

On Sat, Sep 12, 2009 at 3:18 PM, Kirill A. Shutemov
<address@hidden> wrote:
> 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
>>> 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?
>>
>
> Your binutils(fedora, I guess) is buggy. Please apply this patch or do
> not enable PIE:
> http://git.altlinux.org/people/kas/packages/binutils.git?p=binutils.git;a=blob;f=binutils-2.19.51.0.14-alt-tls-pie.patch
>

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?




reply via email to

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