[LLVMdev] Help with LLVM 3.2 linking error
Nicola Gigante
nicola.gigante at gmail.com
Mon Mar 18 06:45:09 PDT 2013
Hello
I'm trying to link my project with llvm 3.2 libraries.
I haven't touched the project for some months. Previously I used to
link to an svn build of llvm 3.1 and
everything worked fine.
I've compiled llvm with ./configure --enable-libcpp --enable-cxx11
Currently I'm only using StringRef, SmallVector and FoldingSet, so I
only link libLLVMSupport and libLLVMCore.
Are they enough or do I need to link something else?
The error I get is the following:
Undefined symbols for architecture x86_64:
"typeinfo for llvm::FoldingSetImpl", referenced from:
typeinfo for llvm::FoldingSet<Type> in Program.o
ld: symbol(s) not found for architecture x86_64
Looking at the error the question is: is llvm built with RTTI support
by default? If not, how do I enable it?
i don't find an option in configure --help. If RTTI support is not the
issue, which can be the cause of the error?
Thank you,
Nicola
P.S: I'm sorry in case the list gets two copies of this message, I've
had connection troubles
More information about the llvm-dev
mailing list