[llvm-dev] Linker error with libllvm 4.0 on Debian Stretch ARM

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Wed Aug 23 06:46:58 PDT 2017


On 23 August 2017 at 03:17, Stéphane Letz via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> - any compilation flags we have to set in our link step?

You need to add -fno-rtti to all your compilation steps if you don't
rely on RTTI for LLVM symbols.

If you do, you need to rebuild LLVM itself with the
"-DLLVM_ENABLE_RTTI=ON" CMake flag because the information isn't
present in the default releases.

Cheers.

Tim.


More information about the llvm-dev mailing list