bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/23460] regression: ar can not create archive containing m


From: evangelos at foutrelis dot com
Subject: [Bug binutils/23460] regression: ar can not create archive containing many (>1024) lto object files
Date: Tue, 07 Aug 2018 17:25:48 +0000

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

Evangelos Foutras <evangelos at foutrelis dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |evangelos at foutrelis dot com

--- Comment #10 from Evangelos Foutras <evangelos at foutrelis dot com> ---
Is it possible to avoid calling dlclose() on the plugin handle? I'm asking
because the LLVM gold plugin (LLVMgold.so) will throw the following error when
loaded more than once:

  > CommandLine Error: Option 'asm-instrumentation' registered more than once!

libLLVM.so used to have the same problem, but it's worked around using NODELETE
(https://reviews.llvm.org/D40459). However, LLVMgold.so is considered a module
and not a shared library. As such, it's not linked with "-z nodelete".

Perhaps an fix on LLVM's side would be to specify nodelete for LLVMgold.so; I
have uploaded a tentative patch doing that here:
https://reviews.llvm.org/D50416

In any case, I thought I'd also ask here if it might make sense to remove
dlclose() from bfd's plugin loader.

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