[LLVMdev] Build failure on x86_64

S. Bharadwaj Yadavalli bharadwajy at gmail.com
Thu Jan 8 12:51:54 PST 2009


Hello!

I see the following build failure of the sources at the top of the trunk, on
x86_64.

make[2]: Entering directory `<llvm-root>/build/llvm/lib/AsmParser'
llvm[2]: Compiling LLLexer.cpp for Release build
llvm[2]: Compiling LLParser.cpp for Release build
<llvm-root>/src/llvm/lib/AsmParser/LLParser.cpp: In member function 'bool
llvm::LLParser::ParseGlobal(const std::string&, const char*, unsigned int,
bool, unsigned int)':
<llvm-root>/src/llvm/lib/AsmParser/LLParser.cpp:446: warning: 'IsConstant'
may be used uninitialized in this function
llvm[2]: Compiling Parser.cpp for Release build
llvm[2]: Compiling llvmAsmParser.cpp for Release build
<llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:15:29: error:
ParserInternals.h: No such file or directory
<llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:83: error: 'ValID' was
not declared in this scope
<llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:83: error: template
argument 1 is invalid
<llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:83: error: template
argument 3 is invalid
<llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:83: error: template
argument 4 is invalid
<llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:88: error: 'ValID' was
not declared in this scope
<llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:88: error: template
argument 1 is invalid
<llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:88: error: template
argument 2 is invalid
<llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:88: error: template
argument 4 is invalid
<llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:96: error: 'ValID' was
not declared in this scope
<llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:96: error: template
argument 2 is invalid
<llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:96: error: template
argument 1 is invalid
<llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:96: error: template
argument 3 is invalid
<llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:96: error: template
argument 4 is invalid
<llvm-root>/src/llvm/lib/AsmParser/llvmAsmParser.y:136: error: 'ValID' has
not been declared

<...>

I configured the build as follows:

<llvm-root>/src/llvm/configure
--with-llvmgccdir=<llvm-root>/install/llvm-gcc-4.2 --enable-optimized
--enable-jit --prefix=<llvm-root>/install/llvm

$ svn info
Path: .
URL: http://llvm.org/svn/llvm-project/llvm/trunk
Repository Root: http://llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 61936
Node Kind: directory
Schedule: normal
Last Changed Author: lattner
Last Changed Rev: 61934
Last Changed Date: 2009-01-08 14:28:38 -0500 (Thu, 08 Jan 2009)

$ uname -a
Linux <my-hostname> 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008
x86_64 GNU/Linux
$ cat /etc/issue
Ubuntu 8.04.1 \n \l

The above configuration has been working with earlier versions (though I am
not sure of the exact version).

Is this a known issue?

Thanks,

Bharadwaj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090108/5b0e37eb/attachment.html>


More information about the llvm-dev mailing list