[Bug build/28780] --disable-default-pie doesn't work on static programs

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Mon Jan 17 15:27:57 GMT 2022


https://sourceware.org/bugzilla/show_bug.cgi?id=28780

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ded3aeb2025c6686956eb10125aacb9a6e7c298e

commit ded3aeb2025c6686956eb10125aacb9a6e7c298e
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Jan 15 14:23:20 2022 -0800

    Properly handle --disable-default-pie [BZ #28780]

    When --disable-default-pie is used, all glibc programs and the testsuite
    should be built as position dependent executables (non-PIE), regardless
    if the build compiler supports PIE or static PIE.

    When --disable-default-pie is used, don't build static PIE by default.

    This fixes BZ #28780.

    Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list