[lldb-dev] CommandLine Error: Option 'enable-objc-arc-opts' registered more than once!

Tobias Grosser tobias at grosser.es
Mon Mar 9 11:23:05 PDT 2015


On 09.03.2015 17:58, Sylvestre Ledru wrote:
> Hello,
>
> I am currently affected by this issue (using trunk)
> $ lldb-3.7 foo.bar
> : CommandLine Error: Option 'enable-objc-arc-opts' registered more than
> once!
> LLVM ERROR: inconsistency in registered CommandLine options
>
> Does it ring a bell?

I have seen this error after linking llvm libraries into Polly and then 
loading polly into clang. Having the same library linked twice yields 
two global constructors, which both try to register this command line 
string. The second registration fails.

Tobias




More information about the lldb-dev mailing list