[PING][PATCH][1-3] New configure options that make the compiler use -fPIE and -pie as default option
Allan McRae
allan@archlinux.org
Fri Jan 9 04:31:00 GMT 2015
On 31/12/14 07:23, Magnus Granberg wrote:
> fredag 14 november 2014 23.31.48 skrev Magnus Granberg:
>> måndag 10 november 2014 21.26.39 skrev Magnus Granberg:
>>>> Rainer
>>>
>>> Thanks Rainer for the nits and comments.
>>> Have updated the patches and Changelogs.
>>> But i still use PIE_DRIVER_SELF_SPECS, do you have a ide where move it so
>>> i don't need to duplicate that stuff or how to do it?
>>>
>>> Magnus G
>>>
>>> 2014-11-10 Magnus Granberg <zorry@gentoo.org>
>>>
>>> /gcc
>>> * config/gnu-user.h (PIE_DRIVER_SELF_SPECS) and
>>> (GNU_DRIVER_SELF_SPECS): Define.
>>> * config/i386/gnu-user-common.h (DRIVER_SELF_SPECS): Define
>>> * configure.ac: Add new option.
>>> * configure, config.in: Rebuild.
>>> * Makefile.in (ALL_CFLAGS) and (ALL_CXXFLAGS): Disable PIE.
>>> * doc/install.texi: New configure option.
>>> * doc/invoke.texi: Add note to PIE.
>>> * doc/sourcebuild.texi: New effective target.
>>> gcc/testsuite
>>> * gcc/default-pie.c: New test
>>> * gcc.dg/tree-ssa/ssa-store-ccp-3.c: Skip if default_pie
>>> * g++.dg/other/anon5.C: Skip if default_pie
>>> * lib/target-supports.exp (check_effective_target_default_pie):
>>> New proc.
>>> /libgcc
>>> * Makefile.in (CRTSTUFF_CFLAGS): Disable PIE.
>>
>> Can this be included for GCC 5 ?
>>
>> /Magnus G.
> One more ping on this. The patches where sent before stage 1 closed but i
> did't get any feed back from it
> Have updete the patchses for gcc 5.0 20141228 snapshot.
> Bootstrapped and tested on x86_64-unknown-linux-gnu (Gentoo)
> /Magnus
>
I'm giving this a further ping as my distribution has interest in these
patches.
Thanks!
> 2014-12-30 Magnus Granberg <zorry@gentoo.org>
>
> /gcc
> * config/gnu-user.h (PIE_DRIVER_SELF_SPECS): Define.
> * config/i386/gnu-user-common.h (DRIVER_SELF_SPECS): Define and
> add PIE_DRIVER_SELF_SPECS.
> * configure.ac: Add new option.
> * configure, config.in: Rebuild.
> * Makefile.in (ALL_CFLAGS) and (ALL_CXXFLAGS): Disable PIE.
> * doc/install.texi: New configure option.
> * doc/invoke.texi: Add note to PIE.
> * doc/sourcebuild.texi: New effective target.
> gcc/testsuite
> * gcc/default-pie.c: New test
> * gcc.dg/tree-ssa/ssa-store-ccp-3.c: Skip if default_pie
> * g++.dg/other/anon5.C: Skip if default_pie
> * lib/target-supports.exp (check_effective_target_default_pie):
> New proc.
> /libgcc
> * Makefile.in (CRTSTUFF_CFLAGS): Disable PIE.
>
More information about the Gcc-patches
mailing list