[LLVMdev] Help with LLVM 3.2 linking error

Óscar Fuentes ofv at wanadoo.es
Mon Mar 18 07:14:22 PDT 2013


Nicola Gigante <nicola.gigante at gmail.com> writes:

> 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?

No.

> If not, how do I enable it?

AFAIK, there is no method for enabling RTTI (other than modifying the
makefiles).




More information about the llvm-dev mailing list