> Thanks. Your patch seems to completely remove the "-nopie" option for all
> versions of gcc. I'm pretty sure this is going to break the versions that
> required the workaround in the first place.
I did not find a version of `gcc` that requires (or even understands) `-nopie`.
Do you have any information what systems do require this?
> Does your version of gcc actually require the workaround? It's not required
> on mine (also 4.9.2).
By default `gcc` does not enable PIE. This changes when you enable hardening
toolchains and/or enable some options in your environment, though.
But that is what my change is about: It uses the preprocessor to check whether
or not `gcc` generates PIE code. The workaround is added in first case only.
Thinking about some more changes...
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/ipxe/ipxe/pull/49#issuecomment-197251481
_______________________________________________
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel