<br><font size=2 face="sans-serif">Me too, so I removed the old AsmParser
directory and re-checked it out from SVN to get the latest and the build
finished OK.</font>
<br><font size=2 face="sans-serif"><br>
Brian Watt, IBM</font>
<br>
<br><tt><font size=2>llvmdev-bounces@cs.uiuc.edu wrote on 01/08/2009 02:51:54
PM:<br>
<br>
> <br>
> Hello!<br>
> <br>
> I see the following build failure of the sources at the top of the
<br>
> trunk, on x86_64.<br>
> <br>
> make[2]: Entering directory `<llvm-root>/build/llvm/lib/AsmParser'<br>
> llvm[2]: Compiling LLLexer.cpp for Release build <br>
> llvm[2]: Compiling LLParser.cpp for Release build <br>
> <llvm-root>/src/llvm/lib/AsmParser/LLParser.cpp: In member function
<br>
> 'bool llvm::LLParser::ParseGlobal(const std::string&, const char*,
<br>
> unsigned int, bool, unsigned int)':<br>
> <llvm-root>/src/llvm/lib/AsmParser/LLParser.cpp:446: warning:
<br>
> 'IsConstant' may be used uninitialized in this function<br>
> llvm[2]: Compiling Parser.cpp for Release build <br>
> llvm[2]: Compiling llvmAsmParser.cpp for Release build <br>
> <llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:15:29: error:
<br>
> ParserInternals.h: No such file or directory<br>
> <llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:83: error:
<br>
> 'ValID' was not declared in this scope<br>
> <llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:83: error:
<br>
> template argument 1 is invalid<br>
> <llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:83: error:
<br>
> template argument 3 is invalid<br>
> <llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:83: error:
<br>
> template argument 4 is invalid<br>
> <llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:88: error:
<br>
> 'ValID' was not declared in this scope<br>
> <llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:88: error:
<br>
> template argument 1 is invalid<br>
> <llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:88: error:
<br>
> template argument 2 is invalid<br>
> <llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:88: error:
<br>
> template argument 4 is invalid<br>
> <llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:96: error:
<br>
> 'ValID' was not declared in this scope<br>
> <llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:96: error:
<br>
> template argument 2 is invalid<br>
> <llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:96: error:
<br>
> template argument 1 is invalid<br>
> <llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:96: error:
<br>
> template argument 3 is invalid<br>
> <llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:96: error:
<br>
> template argument 4 is invalid<br>
> <llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:136: error:
<br>
> 'ValID' has not been declared<br>
> <br>
> <...><br>
> <br>
> I configured the build as follows:<br>
> <br>
> <llvm-root>/src/llvm/configure --with-llvmgccdir=<llvm-<br>
> root>/install/llvm-gcc-4.2 --enable-optimized --enable-jit --<br>
> prefix=<llvm-root>/install/llvm<br>
> <br>
> $ svn info<br>
> Path: .<br>
> URL: http://llvm.org/svn/llvm-project/llvm/trunk<br>
> Repository Root: http://llvm.org/svn/llvm-project<br>
> Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8<br>
> Revision: 61936<br>
> Node Kind: directory<br>
> Schedule: normal<br>
> Last Changed Author: lattner<br>
> Last Changed Rev: 61934<br>
> Last Changed Date: 2009-01-08 14:28:38 -0500 (Thu, 08 Jan 2009)<br>
> <br>
> $ uname -a<br>
> Linux <my-hostname> 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46
UTC<br>
> 2008 x86_64 GNU/Linux<br>
> $ cat /etc/issue<br>
> Ubuntu 8.04.1 \n \l<br>
> <br>
> The above configuration has been working with earlier versions <br>
> (though I am not sure of the exact version).<br>
> <br>
> Is this a known issue?<br>
> <br>
> Thanks,<br>
> <br>
> Bharadwaj_______________________________________________<br>
> LLVM Developers mailing list<br>
> LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu<br>
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev<br>
</font></tt>