Why -mxgot on MIPS and not -fpic/-fPIC?
Florian Weimer
fw@deneb.enyo.de
Mon Oct 3 18:16:00 GMT 2016
* Maciej W. Rozycki:
>> GHC is used in a mode which generates C code, which is then compiled
>> using GCC. (This is why Debian could apply the -mxgot workaround so
>> quicky.)
>
> Hmm, thanks for sharing a Debian bug report reference -- so it's the
> Glasgow Haskell Compiler you've been referring to rather than the Green
> Hills Compiler I understood thoughout our discussion so far.
Oh, sorry, I had no idea that the abbreviation was ambiguous in this
context!
> Thanks; if Debian developers want the linker to be updated such that
> `-mxgot' works reliably with `-mno-xgot' code, then please file an
> enhancement request with <https://sourceware.org/bugzilla/>;
I'll keep this in mind and will do so if we encounter insurmountable
obstacles due to -mxgot/-mno-xgot interlinking.
More information about the Gcc-help
mailing list