[LLVMdev] error building clang

monica j dmonicaj at gmail.com
Sat Oct 22 06:23:06 PDT 2011


Any input on this? I cleaned up the whole directory and re-build. still get
the error. I am builing on x86. downloaded clang from llvm.org.
Should I pick up an older version?

llvm[4]: Linking Debug+Asserts executable clang
> /llvm/build/Debug+Asserts/lib/libclangLex.a: could not read symbols: File
> format not recognized
> collect2: ld returned 1 exit status

file /llvm/build/Debug+Asserts/lib/libclangLex.a
/llvm/build/Debug+Asserts/lib/libclangLex.a: current ar archive
oak[164]tools > ar -t /llvm/build/Debug+Asserts/lib/libclangLex.a
HeaderMap.o
HeaderSearch.o
Lexer.o
LiteralSupport.o
MacroArgs.o
MacroInfo.o
PPCaching.o
PPDirectives.o
PPExpressions.o
PPLexerChange.o
PPMacroExpansion.o
PTHLexer.o
Pragma.o
PreprocessingRecord.o
Preprocessor.o
PreprocessorLexer.o
ScratchBuffer.o
TokenConcatenation.o
TokenLexer.o

On Fri, Oct 21, 2011 at 7:08 AM, Csaba Raduly <rcsaba at gmail.com> wrote:

> On Thu, Oct 20, 2011 at 10:59 PM, monica j  wrote:
> > The latest in my problems building clang-only:
> >
> > llvm[4]: Linking Debug+Asserts executable clang
> > /llvm/build/Debug+Asserts/lib/libclangLex.a: could not read symbols: File
> > format not recognized
> > collect2: ld returned 1 exit status
>
> What is the output of
>
> file /llvm/build/Debug+Asserts/lib/libclangLex.a
>
> ?
>
> Csaba
> --
> GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
> The Tao of math: The numbers you can count are not the real numbers.
> Life is complex, with real and imaginary parts.
> "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus
> Torvalds
> "People disagree with me. I just ignore them." -- Linus Torvalds
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111022/8c7012db/attachment.html>


More information about the llvm-dev mailing list