[LLVMdev] Build of C++ project with clang++ fails (local symbol 1: discarded in section `xxx')

Yuri yuri at rawbw.com
Sat Jun 11 10:22:35 PDT 2011


I have C++ project that builds fine with g++.
But when I try to replace g++ with clang++ I get such errors (see below) 
during link.
What might be a problem?

Yuri

--- errors are like this ---
local symbol 1: discarded in section `.text.SomeSymbolHere1'
local symbol 2: discarded in section `.text.SomeSymbolHere2'
...
...



More information about the llvm-dev mailing list