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

            Bug ID: 121473
           Summary: MIPS and ARM builds silently ignore -static-pie
           Product: gcc
           Version: 15.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: christian.morales.vega at gmail dot com
  Target Milestone: ---

Despite patches having been proposed in 2022 to fix it

- For MIPS:
https://patchwork.ozlabs.org/project/gcc/patch/canp1oa0qmfucrwgpp46hz3xz9cshekhdmjxj5sv+92-bor3...@mail.gmail.com/

- For ARM:
https://patchwork.ozlabs.org/project/gcc/patch/cc111d36-cb4b-6638-331c-11b99e5e8...@gmail.com/

To this day gcc still silently ignores -static-pie for these targets, meaning
the resulting binary is neither static nor pie.

Reply via email to