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

--- Comment #38 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jens Remus <jre...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=41f0b410f5dc59ae89b7ec87bc3601d38b2030c8

commit 41f0b410f5dc59ae89b7ec87bc3601d38b2030c8
Author: Jens Remus <jre...@linux.ibm.com>
Date:   Fri Mar 28 15:27:11 2025 +0100

    x86: Pass $NOPIE_LDFLAGS to undefined weak tests

    Some distributions configure GCC with --enable-default-pie, so that it
    defaults to compile with -fPIE and link with -pie, which is unexpected
    by some of the tests.  Therefore link the PDE test programs with
    $NOPIE_LDFLAGS to disable PIE.

    This complements commit a7eaf017f959 ("Use NOPIE_CFLAGS and
    NOPIE_LDFLAGS to disable PIE").

    ld/testsuite/
            PR ld/21090
            * ld-x86-64/x86-64.exp (undefined_weak): Use NOPIE_LDFLAGS to
            disable PIE for the non-PIE versions of the test.

    Bug: https://sourceware.org/PR21090
    Signed-off-by: Jens Remus <jre...@linux.ibm.com>

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

Reply via email to