[LLVMdev] Build breaks in lib/CodeGen

Yuri yuri at rawbw.com
Thu Aug 25 23:34:20 PDT 2011


I checked recent revisions 138624 and 138620 and both produce this log 
with gcc-4.6.0 on FreeBSD-8.2-STABLE amd64:

gmake[2]: Entering directory 
`/usr/home/yuri/llvm-svn/llvm-objects/lib/CodeGen'
llvm[2]: Compiling LLVMTargetMachine.cpp for Release build
/usr/home/yuri/llvm-svn/llvm/lib/CodeGen/LLVMTargetMachine.cpp:253:3: 
error: ‘AsmStreamer’ does not name a type
/usr/home/yuri/llvm-svn/llvm/lib/CodeGen/LLVMTargetMachine.cpp:257:3: 
error: ‘AsmStreamer’ does not name a type
/usr/home/yuri/llvm-svn/llvm/lib/CodeGen/LLVMTargetMachine.cpp:260:37: 
error: ‘getTarget’ was not declared in this scope
/usr/home/yuri/llvm-svn/llvm/lib/CodeGen/LLVMTargetMachine.cpp:260:57: 
error: invalid use of ‘this’ at top level
/usr/home/yuri/llvm-svn/llvm/lib/CodeGen/LLVMTargetMachine.cpp:261:3: 
error: expected unqualified-id before ‘if’
/usr/home/yuri/llvm-svn/llvm/lib/CodeGen/LLVMTargetMachine.cpp:267:3: 
error: ‘AsmStreamer’ does not name a type
/usr/home/yuri/llvm-svn/llvm/lib/CodeGen/LLVMTargetMachine.cpp:269:3: 
error: ‘PM’ does not name a type
/usr/home/yuri/llvm-svn/llvm/lib/CodeGen/LLVMTargetMachine.cpp:271:3: 
error: expected unqualified-id before ‘return’
/usr/home/yuri/llvm-svn/llvm/lib/CodeGen/LLVMTargetMachine.cpp:272:1: 
error: expected declaration before ‘}’ token
/usr/home/yuri/llvm-svn/llvm/lib/CodeGen/LLVMTargetMachine.cpp: In 
member function ‘virtual bool 
llvm::LLVMTargetMachine::addPassesToEmitMC(llvm::PassManagerBase&, 
llvm::MCContext*&, llvm::raw_ostream&, llvm::CodeGenOpt::Level, bool)’:
/usr/home/yuri/llvm-svn/llvm/lib/CodeGen/LLVMTargetMachine.cpp:250:3: 
warning: control reaches end of non-void function [-Wreturn-type]
rm: 
/usr/home/yuri/llvm-svn/llvm-objects/lib/CodeGen/Release/LLVMTargetMachine.d.tmp: 
No such file or directory
gmake[2]: *** 
[/usr/home/yuri/llvm-svn/llvm-objects/lib/CodeGen/Release/LLVMTargetMachine.o] 
Error 1
gmake[2]: Leaving directory 
`/usr/home/yuri/llvm-svn/llvm-objects/lib/CodeGen'
gmake[1]: *** [CodeGen/.makeall] Error 2
gmake[1]: Leaving directory `/usr/home/yuri/llvm-svn/llvm-objects/lib'
gmake: *** [all] Error 1


Yuri



More information about the llvm-dev mailing list