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

Samuel Crow samuraileumas at yahoo.com
Sat Jun 11 12:40:25 PDT 2011


Hello Yuri,

Did you look at http://cfe.llvm.org/compatibility.html yet?

--Sam


----- Original Message -----
> From: Yuri <yuri at rawbw.com>
> To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
> Cc: 
> Sent: Saturday, June 11, 2011 12:22 PM
> Subject: [LLVMdev] Build of C++ project with clang++ fails (local symbol 1: discarded in section `xxx')
> 
> 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'
> ...
> ...
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list