bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/28138] [2.37 Regression][bisected] Linker plugin complains about


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/28138] [2.37 Regression][bisected] Linker plugin complains about "malformed archive" on thin archines
Date: Wed, 28 Jul 2021 13:05:16 +0000

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

--- Comment #12 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=binutils-gdb.git;h=5a98fb7513b559e20dfebdbaa2a471afda3b4742

commit 5a98fb7513b559e20dfebdbaa2a471afda3b4742
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jul 26 05:59:55 2021 -0700

    bfd: Close the file descriptor if there is no archive fd

    Close the file descriptor if there is no archive plugin file descriptor
    to avoid running out of file descriptors on thin archives with many
    archive members.

    bfd/

            PR ld/28138
            * plugin.c (bfd_plugin_close_file_descriptor): Close the file
            descriptor there is no archive plugin file descriptor.

    ld/

            PR ld/28138
            * testsuite/ld-plugin/lto.exp: Run ld/28138 tests.
            * testsuite/ld-plugin/pr28138.c: New file.
            * testsuite/ld-plugin/pr28138-1.c: Likewise.
            * testsuite/ld-plugin/pr28138-2.c: Likewise.
            * testsuite/ld-plugin/pr28138-3.c: Likewise.
            * testsuite/ld-plugin/pr28138-4.c: Likewise.
            * testsuite/ld-plugin/pr28138-5.c: Likewise.
            * testsuite/ld-plugin/pr28138-6.c: Likewise.
            * testsuite/ld-plugin/pr28138-7.c: Likewise.

-- 
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]