[Bug pch/71934] pch cannot be disabled so gcc cannot be position independent

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 3 14:10:23 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71934

--- Comment #15 from Iain Sandoe <iains at gcc dot gnu.org> ---
if it were only the main exe, I think we'd be OK on m32 Darwin too - but after
10.7  everything gets ASLRd (kernel, DSOs, dynamic linker and exe) so even
though each one is in a smallish range, the combined effect is to leave no
really obvious window.

On m64 - we have plenty of VMA to play with - and that looks OK.

I suppose that if there were a graceful way to recover on m32 (so that it was
just a performance hit not a compile fail) then that would be good enough.


More information about the Gcc-bugs mailing list