Re: [PATCH] check -nopie in configure

2016-08-24 Thread Magnus Granberg
onsdag 24 augusti 2016 kl. 18:21:07 CEST skrev Szabolcs Nagy: > On 20/07/16 14:58, Szabolcs Nagy wrote: > > since gcc can be built with --enable-default-pie, there > > is a -no-pie flag to turn off PIE. > > > > gcc cannot be built as PIE (pr 71934), so the gcc build > > system has to detect the

Re: [PATCH] check -nopie in configure

2016-08-24 Thread Szabolcs Nagy
On 20/07/16 14:58, Szabolcs Nagy wrote: > since gcc can be built with --enable-default-pie, there > is a -no-pie flag to turn off PIE. > > gcc cannot be built as PIE (pr 71934), so the gcc build > system has to detect the -no-pie flag to disable PIE. > > historically default pie toolchains used

[PATCH] check -nopie in configure

2016-07-20 Thread Szabolcs Nagy
since gcc can be built with --enable-default-pie, there is a -no-pie flag to turn off PIE. gcc cannot be built as PIE (pr 71934), so the gcc build system has to detect the -no-pie flag to disable PIE. historically default pie toolchains used the -nopie flag (e.g. gentoo hardened), those