This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/70192] -fno-pic doesn't work with --enable-default-pie


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]