On Fri, Oct 02, 2015 at 07:36:27AM +0900, Oleg Endo wrote: > On Thu, 2015-10-01 at 17:35 -0400, Rich Felker wrote: > > This is a forward-port of the abandoned SH FDPIC patch from 2010: > > > > https://gcc.gnu.org/ml/gcc-patches/2010-08/msg01536.html > > > > I'm submitting it at this point for initial review, not to be applied > > right away; I would not be surprised if some changes are needed. It > > applies on top of gcc 5.2.0 with the patch for pr 66609 applied. With > > one trivial change it also applies to the current development version > > of gcc, but I have not tested that setup. > > Thanks for working on this. Please submit a patch against trunk.
I'm going to go ahead and submit the patch adjusted for trunk, but I have not yet tested it yet -- I can't get trunk to build because of a regression. Apparently someone added -fno-PIE to the build process, which breaks when the host toolchain you're building with uses -pie by default. Is this a known issue? Rich