[lldb-dev] Problem after install of the lldb tool

Azat Khuzhin a3at.mail at gmail.com
Tue Feb 24 00:16:02 PST 2015


On Mon, Feb 23, 2015 at 10:41:00PM -0300, Natanael Ramos wrote:
> Hello
> 
> I just installed lldb through svn (with llvm/clang already installed
> previously) and when i try to invoke lldb through command line i get
> the error:
> 
> : CommandLine Error: Option 'enable-objc-arc-opts' registered more than once!
> LLVM ERROR: inconsistency in registered CommandLine options
> 
> I have no idea how to fix this, seems to be something related to the
> binary llvm-readobj.
> 
> Can help me, please?

Hello,

I guess that you are building without cmake, since this option comes
from 'LLVMObjCARCOpts.a', and only lldb/lib/Makefile adds it
(http://llvm.org/bugs/show_bug.cgi?id=18214)

Could you try to build with cmake? (I built lldb yesterday from "trunk"
with cmake and no problems for me).

Also there is already bug report for this:
http://llvm.org/bugs/show_bug.cgi?id=22543

Cheers,
Azat.



More information about the lldb-dev mailing list