https://llvm.org/bugs/show_bug.cgi?id=27590

            Bug ID: 27590
           Summary: LLVMgold.so: asm-instrumentation registered more than
                    once
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: gold-plugin
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to