[LLVMdev] Build breaks in lib/CodeGen

James Molloy james.molloy at arm.com
Fri Aug 26 00:37:30 PDT 2011


Hi,

Our buildbots successfully build LLVM ToT three times last night, so I doubt top
of trunk is broken.

It looks like either some #includes aren't being included or there's a "using
namespace llvm;" missing by your compile errors. Have you tried "svn diff" on
that file to see if you've locally changed it by accident?

Cheers,

James 

> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
> Behalf Of Yuri
> Sent: 26 August 2011 07:34
> To: LLVM Developers Mailing List
> Subject: [LLVMdev] Build breaks in lib/CodeGen
> 
> 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
> _______________________________________________
> 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