This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][1-3] New configure option to enable Position independent executable as default.
- From: Ian Lance Taylor <iant at google dot com>
- To: Mike Stump <mikestump at comcast dot net>
- Cc: Magnus Granberg <zorry at gentoo dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 13 Nov 2013 20:24:34 -0800
- Subject: Re: [PATCH][1-3] New configure option to enable Position independent executable as default.
- Authentication-results: sourceware.org; auth=none
- References: <2766864 dot K73NFjqEQA at laptop1 dot gw dot ume dot nu> <754C6652-5BE7-41B5-BBB7-CC4A0AE354D4 at comcast dot net> <CAKOQZ8zGtF0r8Nr5wwKv9wsNAXi2cFu++NzSVNnv-PuHECVFmA at mail dot gmail dot com> <87C533CF-D39A-4DDD-BA11-E89993EF42C8 at comcast dot net>
On Wed, Nov 13, 2013 at 8:07 PM, Mike Stump <mikestump@comcast.net> wrote:
> On Nov 13, 2013, at 5:14 PM, Ian Lance Taylor <iant@google.com> wrote:
>> On Wed, Nov 13, 2013 at 3:23 PM, Mike Stump <mikestump@comcast.net> wrote:
>>> On Nov 13, 2013, at 2:28 PM, Magnus Granberg <zorry@gentoo.org> wrote:
>>>> This patchset will add a new configure options --enable-default-pie.
>>>
>>> Ick. Would be nice to figure out on what systems one can do this and just do it without the configure option. Is there some reason that we need an option for it?
>>
>> I either don't understand the patch description or I don't understand
>> your comment. I think the patch is making -fPIE the default.
>
> No, what the patch does is 'New configure option'. What I prefer is, the patch titled, 'make pie default'. The difference is the word option.
OK, I didn't understand your comment.
I don't think we should make -fPIE the default for all users.
Ian