[llvm-bugs] [Bug 27590] New: LLVMgold.so: asm-instrumentation registered more than once

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Apr 30 14:38:29 PDT 2016


            Bug ID: 27590
           Summary: LLVMgold.so: asm-instrumentation registered more than
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: gold-plugin
          Assignee: unassignedbugs at nondot.org
          Reporter: krejzi at email.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

When LLVMgold.so is present in bfd plugins search path, any program which uses
libbfd (ar, ld, ranlib) will crash with the following:

: CommandLine Error: Option 'asm-instrumentation' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options

stracing the command shows that LLVMgold.so is being loaded. Removing
LLVMgold.so from the bfd plugins search path fixes the issue. The problem isn't
present with llvm-3.8.0

This is llvm svn revision 268165, compiled with a bit older llvm/clang
(revision 268162), using libc++/libc++abi as the default c++ library. Let me
know if you need more info.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160430/c95f1d76/attachment.html>

More information about the llvm-bugs mailing list