[LLVMdev] linker errors when trying to link llvm-gcc

Duncan Sands
Mon, 24 May 2010 19:52:42 -0000

Hi Anatoly,

> any ideas what library has these symbols
>
> lang_eh_catch_all
> get_pointer_alignment
> validate_arglist

it sounds like you are trying to build a version of llvm-gcc without LLVM
enabled.  Did you specify --enable-llvm=path_to_llvm_build_directory when
configuring llvm-gcc?  These symbols are all defined in llvm-gcc itself,
but only when ENABLE_LLVM is defined.  This suggests to me that you somehow
configured llvm-gcc wrong.

Ciao,

Duncan.