https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109217
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Component|target |driver Last reconfirmed| |2023-03-21 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- -static-pie is now marked as the negative of -shared, so it works with that (the later cancelling out the earlier). It isn't handled that way for -static vs. -shared, not sure if we can use Negative() with multiple options.