Bug#564869: clang: ftbfs with gcc-4.5

Matthias Klose doko at debian.org
Tue Jan 12 10:57:49 UTC 2010


Package: clang
Version: 2.6-1
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.5

for the compiler version used, see:
http://lists.debian.org/debian-devel/2010/01/msg00230.html

full build log:
http://people.debian.org/~lucas/logs/2010/01/08b/clang_2.6-1_lsid64b.buildlog

the reason of the build failure is likely in the package, if this turns out as a 
gcc bug, please reassign to the gcc-4.5 package.

if x86_64-linux-gnu-g++ 
-I/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/build-clang/include 
-I/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/build-clang/tools/clang/lib/AST 
-I/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/llvm-2.6/include 
-I/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/tools/clang/lib/AST  -D_DEBUG 
-D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-DLLVM_DEBIAN_INFO='" (Debian 2.6-1)"' -O2 -fomit-frame-pointer -fno-exceptions 
-fPIC -Woverloaded-virtual -fno-rtti 
-I/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/tools/clang/lib/AST/../../include 
-I/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/build-clang/tools/clang/lib/AST/../../include 
  -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings  -c 
-MMD -MP -MF 
"/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/build-clang/tools/clang/lib/AST/Release/RecordLayoutBuilder.d.tmp" 
-MT 
"/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/build-clang/tools/clang/lib/AST/Release/RecordLayoutBuilder.o" 
-MT 
"/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/build-clang/tools/clang/lib/AST/Release/RecordLayoutBuilder.d" 
/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/tools/clang/lib/AST/RecordLayoutBuilder.cpp 
-o 
/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/build-clang/tools/clang/lib/AST/Release/RecordLayoutBuilder.o 
; \
	        then /bin/mv -f 
"/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/build-clang/tools/clang/lib/AST/Release/RecordLayoutBuilder.d.tmp" 
"/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/build-clang/tools/clang/lib/AST/Release/RecordLayoutBuilder.d"; 
else /bin/rm 
"/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/build-clang/tools/clang/lib/AST/Release/RecordLayoutBuilder.d.tmp"; 
exit 1; fi
/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/tools/clang/lib/CodeGen/CGObjCGNU.cpp: 
In member function 'virtual 
llvm::Function*<unnamed>::CGObjCGNU::ModuleInitFunction()':
/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/tools/clang/lib/CodeGen/CGObjCGNU.cpp:1173:64: 
error: cannot call constructor 'llvm::TargetData::TargetData' directly
/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/tools/clang/lib/CodeGen/CGObjCGNU.cpp:1173:64: 
note: for a function-style cast, remove the redundant '::TargetData'
/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/tools/clang/lib/CodeGen/CGObjCGNU.cpp:1179:54: 
error: invalid initialization of reference of type 'const std::string&' from 
expression of type 'const char*'
/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/tools/clang/lib/CodeGen/CGObjCGNU.cpp:302:17: 
error: in passing argument 3 of 
'llvm::Constant*<unnamed>::CGObjCGNU::MakeGlobal(const llvm::StructType*, 
std::vector<llvm::Constant*>&, const std::string&)'
/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/tools/clang/lib/CodeGen/CGObjCGNU.cpp: 
In member function 'virtual 
void<unnamed>::CGObjCGNU::EmitTryOrSynchronizedStmt(clang::CodeGen::CodeGenFunction&, 
const clang::Stmt&)':
/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/tools/clang/lib/CodeGen/CGObjCGNU.cpp:1323:64: 
error: cannot call constructor 'llvm::TargetData::TargetData' directly
/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/tools/clang/lib/CodeGen/CGObjCGNU.cpp:1323:64: 
note: for a function-style cast, remove the redundant '::TargetData'
/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/tools/clang/lib/CodeGen/CGObjCGNU.cpp:1337:69: 
error: no matching function for call to 
'llvm::IRBuilder<>::CreateCall(llvm::Value*&, const char [4], const char [4])'
/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/llvm-2.6/include/llvm/Support/IRBuilder.h:765:13: 
note: candidates are: llvm::CallInst* llvm::IRBuilder<preserveNames, 
T>::CreateCall(llvm::Value*, const llvm::Twine&) [with bool preserveNames = 
true, T = llvm::ConstantFolder]
/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/llvm-2.6/include/llvm/Support/IRBuilder.h:768:13: 
note:                 llvm::CallInst* llvm::IRBuilder<preserveNames, 
T>::CreateCall(llvm::Value*, llvm::Value*, const llvm::Twine&) [with bool 
preserveNames = true, T = llvm::ConstantFolder]
/bin/rm: cannot remove 
`/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/build-clang/tools/clang/lib/CodeGen/Release/CGObjCGNU.d.tmp': 
No such file or directory
make[5]: *** 
[/build/user-clang_2.6-1-amd64-MaKhQv/clang-2.6/build-clang/tools/clang/lib/CodeGen/Release/CGObjCGNU.o] 
Error 1





More information about the Pkg-llvm-team mailing list