[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] Build *-user targets as PIE
From: |
Rtp |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] Build *-user targets as PIE |
Date: |
Wed, 02 Sep 2009 18:03:17 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
"Kirill A. Shutemov" <address@hidden> writes:
> On Wed, Sep 2, 2009 at 6:46 PM, Arnaud Patard<address@hidden> wrote:
>> "Kirill A. Shutemov" <address@hidden> writes:
>>
>> Hi,
>>
>> [...]
>>
>>> diff --git a/configure b/configure
>>> index 0d0162a..b501526 100755
>>> --- a/configure
>>> +++ b/configure
>>> @@ -2302,6 +2302,11 @@ if test "$target_softmmu" = "yes" ; then
>>> esac
>>> fi
>>>
>>> +if test "$target_user_only" = "yes" -a "$static" = "no" ; then
>>> + cflags="-fpie $cflags"
>>> + ldflags="-pie $ldflags"
>>> +fi
>>> +
>>
>> Please do that on per-arch basis. For instance, pie support tends to
>> be broken quite often on mips (afaik, it's currently broken on debian
>> unstable). I know qemu doesn't support mips host but it doesn't mean it
>> will never be supported - I need to find time to update to current git
>> and fix remaining bugs in my code before sending it for merge.
>> Unfortunately, this kind of patch will make sure it won't happen soon :(
>>
>>
>> Thanks,
>> Arnaud
>>
>
> Will you happy if I provide option like --disable-user-pie to configure?
yes, it's fine as I hope that pie support will be fixed.
>
> P.S. Sorry I forgot to put qemu-devil into CC.
qemu-_devil_ ? :)
Arnaud
- [Qemu-devel] [PATCH 1/2] Do not link *-user target with libhw*.a, Kirill A. Shutemov, 2009/09/02
- [Qemu-devel] [PATCH 2/2] Build *-user targets as PIE, Kirill A. Shutemov, 2009/09/02
- [Qemu-devel] Re: [PATCH 2/2] Build *-user targets as PIE, Paolo Bonzini, 2009/09/02
- Re: [Qemu-devel] [PATCH 2/2] Build *-user targets as PIE, Rtp, 2009/09/02
- Re: [Qemu-devel] [PATCH 2/2] Build *-user targets as PIE, Kirill A. Shutemov, 2009/09/02
- Re: [Qemu-devel] [PATCH 2/2] Build *-user targets as PIE,
Rtp <=
- [Qemu-devel] [PATCH v2] Build *-user targets as PIE, Kirill A. Shutemov, 2009/09/03
- Re: [Qemu-devel] [PATCH v2] Build *-user targets as PIE, Reimar Döffinger, 2009/09/03
- Re: [Qemu-devel] [PATCH v2] Build *-user targets as PIE, Kirill A. Shutemov, 2009/09/03
- Re: [Qemu-devel] [PATCH v2] Build *-user targets as PIE, Paul Brook, 2009/09/03
- [Qemu-devel] Re: [PATCH v2] Build *-user targets as PIE, Paolo Bonzini, 2009/09/03
- Re: [Qemu-devel] [PATCH v2] Build *-user targets as PIE, Kirill A. Shutemov, 2009/09/03
- Re: [Qemu-devel] [PATCH v2] Build *-user targets as PIE, Reimar Döffinger, 2009/09/03
- Re: [Qemu-devel] [PATCH v2] Build *-user targets as PIE, Kirill A. Shutemov, 2009/09/04
- Re: [Qemu-devel] [PATCH v2] Build *-user targets as PIE, Reimar Döffinger, 2009/09/04
- Re: [Qemu-devel] [PATCH v2] Build *-user targets as PIE, Kirill A. Shutemov, 2009/09/04