This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/70192] -fno-pic doesn't work with --enable-default-pie
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 16 Mar 2016 17:38:51 +0000
- Subject: [Bug driver/70192] -fno-pic doesn't work with --enable-default-pie
- Auto-submitted: auto-generated
- References: <bug-70192-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70192
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-03-16
Ever confirmed|0 |1
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to psturm from comment #5)
> Created attachment 37962 [details]
> gcc6 --enable-default-pie
>
> I built GCC6 snapshot 03132016 after applying the PIC patch.
>
> The test suite finished with no errors for gcc or g++.
>
> Next I rebuilt GCC6 using the exact same configuration but adding
> --enable-default-pie to the configure. I got 26 errors in g++ and 46 errors
> in gcc. Many of them appear to be related to lto.
>
> Attached are the test suite results with --enable-default-pie.
Please try
https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=440f405768d23e82b25e142cfb17873623423e70
on hjl/pr70192 branch.