qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH v2] Build *-user targets as PIE


From: Kirill A. Shutemov
Subject: [Qemu-devel] Re: [PATCH v2] Build *-user targets as PIE
Date: Thu, 3 Sep 2009 15:51:50 +0300

On Thu, Sep 3, 2009 at 3:07 PM, Juan Quintela<address@hidden> wrote:
> "Kirill A. Shutemov" <address@hidden> wrote:
>> Now we can drop link hack for i386 and fix text relocations on i386
>> host.
>
> Still not good enough :(
>
> Fedora 11 here.  I got this error:
>
> /usr/bin/ld: main.o: relocation R_X86_64_TPO  LINK  arm-linux-user/qemu-arm
> /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
> make[1]: *** [qemu-arm] Error 1
> make: *** [subdir-arm-linux-user] Error 2
>
> (I got it for all the -linux-user targets)

What version of binutils do you have? It seems your binutils is buggy.




reply via email to

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