bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/30722] ld tests 'Build property 3', 'Build property 4', 'Build p


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/30722] ld tests 'Build property 3', 'Build property 4', 'Build property 5' fail (glibc-2.38?)
Date: Wed, 20 Dec 2023 02:38:32 +0000

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

--- Comment #19 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The binutils-2_41-branch branch has been updated by Sam James
<sjames@sourceware.org>:

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

commit 64707a2e11d16bb2ddddcf3a90e486d89d96ea3d
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Dec 1 09:13:08 2023 -0800

    Fix ld/x86: reduce testsuite dependency on system object files

    commit eab996435fe65a421541f59557c5f1fd427573a3
    Author: Jan Beulich <jbeulich@suse.com>
    Date:   Tue Nov 7 13:58:32 2023 +0100

        ld/x86: reduce testsuite dependency on system object files

    changed some C compiler tests to assembler/linker tests which introduced
    2 problems:

    1. It broke x32 binutils tests since --64 was passed to assembler, but
    -m elf_x86_64 wasn't passed to linker.
    2. -nostdlib was passed to C compiler driver to exclude standard run-time
    files which should be avoided with -r option for linker tests.

    Fix them by passing -m elf_x86_64 to linker and removing -nostdlib for
    linker tests with -r.

            PR ld/30722
            * testsuite/ld-x86-64/x86-64.exp: Pass -m elf_x86_64 to linker
            for tests with --64.  Remove -nostdlib for tests with -r.

    (cherry picked from commit 260aa570edcf120332daefb4a102a08c90e4d9b4)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]