[LLVMdev] assert problem embedding llvm libs in linux - stuck

Mike Stump mrs at apple.com
Tue Mar 31 16:15:49 PDT 2009


On Mar 31, 2009, at 3:58 PM, Graham Wakefield wrote:
> I'm not so familiar with the internals of LLVM nor standard practices
> for development on Linux, so I wondered if there is an experienced
> developer on the list who can spot the problem immediately...?

Sure, you can't have two copies of the libraries that can see each  
other.  Put them into one shared library used by both sides, if they  
are meant to be shared, or separate them out completely, if they are  
not meant to be shared.  If you separate them out, run nm, and see if  
there is _any_ routine that comes from llvm (or clang) in the thing  
that has clang in it on the link line.



More information about the llvm-dev mailing list