22.05.2023 18:54, Richard Henderson wrote:
..
-no-pie is a linker flag, but distro folk that didn't quite know what they were doing made local changes to gcc's specs file.  So it *is* a compiler command-line flag, but only for some builds of gcc.

Which distros is that? Debian?
Patching gcc spec file like this - if that's true - is a way to disaster,
and should be stopped.

Thanks,

/mjt
We can't just remove -no-pie, we need to probe for it as 
cc.get_supported_arguments instead of cc.get_supported_link_arguments.

Or something.  It's a mess, for sure.


r~




Reply via email to