bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/32153] [2.43 regression]: ld: Failed to link llvm bitcode module


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/32153] [2.43 regression]: ld: Failed to link llvm bitcode module: Expected at most one ThinLTO module per bitcode file
Date: Tue, 10 Sep 2024 02:16:40 +0000

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

--- Comment #2 from Sourceware Commits <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=c839a44c39161c9932d58c28c2949ab3bb94ea6f

commit c839a44c39161c9932d58c28c2949ab3bb94ea6f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Sep 8 17:27:00 2024 -0700

    bfd: Pass true to ld_plugin_object_p

    Since linker calls bfd_plugin_object_p, which calls ld_plugin_object_p,
    only for command-line input objects, pass true to ld_plugin_object_p so
    that the same input IR file won't be included twice if the new LTO hook,
    LDPT_REGISTER_CLAIM_FILE_HOOK_V2 isn't used.

            PR ld/32153
            * plugin.c (bfd_plugin_object_p): Pass true to ld_plugin_object_p.

    Signed-off-by: H.J. Lu <hjl.tools@gmail.com>

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