On 2015-03-25 23:57:21 [+0100], Roderich Schupp wrote: > Build stops with: > I tried 3.5.2-1 with gcc version 5.2.1 20150730 (Debian 5.2.1-14). Patch Patch #1 should fix the FTBFS. Patch #2 should workaround the part where it tries to use gcc-5.2 which is not available as package or binary. The build ends now with | ******************** | Failing Tests (29): | LLVM :: CodeGen/AArch64/arm64-2012-06-06-FPToUI.ll | LLVM :: CodeGen/AArch64/arm64-abi_align.ll | LLVM :: CodeGen/AArch64/arm64-anyregcc-crash.ll | LLVM :: CodeGen/AArch64/arm64-anyregcc.ll | LLVM :: CodeGen/AArch64/arm64-big-endian-bitconverts.ll | LLVM :: CodeGen/AArch64/arm64-big-endian-vector-caller.ll | LLVM :: CodeGen/AArch64/arm64-elf-globals.ll | LLVM :: CodeGen/AArch64/arm64-fast-isel-call.ll | LLVM :: CodeGen/AArch64/arm64-fast-isel-indirectbr.ll | LLVM :: CodeGen/AArch64/arm64-fast-isel-noconvert.ll | LLVM :: CodeGen/AArch64/arm64-fastisel-gep-promote-before-add.ll | LLVM :: CodeGen/AArch64/arm64-fp128.ll | LLVM :: CodeGen/AArch64/arm64-illegal-float-ops.ll | LLVM :: CodeGen/AArch64/arm64-neon-mul-div.ll | LLVM :: CodeGen/AArch64/arm64-neon-vector-list-spill.ll | LLVM :: CodeGen/AArch64/arm64-platform-reg.ll | LLVM :: CodeGen/AArch64/arm64-spill.ll | LLVM :: CodeGen/AArch64/arm64-stackmap.ll | LLVM :: CodeGen/AArch64/arm64-stacksave.ll | LLVM :: CodeGen/AArch64/arm64-vcvt_f.ll | LLVM :: CodeGen/AArch64/arm64-vfloatintrinsics.ll | LLVM :: CodeGen/AArch64/i128-fast-isel-fallback.ll | LLVM :: CodeGen/AArch64/illegal-float-ops.ll | LLVM :: CodeGen/AArch64/ldst-opt.ll | LLVM :: CodeGen/AArch64/neon-fpround_f128.ll | LLVM :: CodeGen/AArch64/ragreedy-csr.ll | LLVM :: CodeGen/AArch64/regress-tail-livereg.ll | LLVM :: CodeGen/AArch64/sincos-expansion.ll | LLVM :: CodeGen/AArch64/sincospow-vector-expansion.ll | | Expected Passes : 11001 | Expected Failures : 80 | Unsupported Tests : 156 | Unexpected Passes : 18 | Unexpected Failures: 29 | Makefile:107: recipe for target 'check-local' failed
on AMD64. One step further I guess. > Cheers, Roderich Sebastian
http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h?r1=218295&r2=218294&pathrev=218295 diff --git a/include/llvm/ADT/IntrusiveRefCntPtr.h b/include/llvm/ADT/IntrusiveRefCntPtr.h --- a/include/llvm/ADT/IntrusiveRefCntPtr.h +++ b/include/llvm/ADT/IntrusiveRefCntPtr.h @@ -197,6 +197,9 @@ public: private: void retain() { if (Obj) IntrusiveRefCntPtrInfo<T>::retain(Obj); } void release() { if (Obj) IntrusiveRefCntPtrInfo<T>::release(Obj); } + + template <typename X> + friend class IntrusiveRefCntPtr; }; template<class T, class U>
diff --git a/debian/rules b/debian/rules --- a/debian/rules +++ b/debian/rules @@ -2,8 +2,9 @@ TARGET_BUILD := build-llvm DEB_INST := $(CURDIR)/debian/tmp/ -#GCC_VERSION := 4.8 -GCC_VERSION := $(shell dpkg-query -W -f '$${Version}' g++ | sed -rne 's,^([0-9]+:)?([0-9]+\.[0-9]+|[0-9]+).*$$,\2,p') +# As for gcc-5 5.2.1-14 there is no gcc-5.2 package or binary +GCC_VERSION := 5 +#GCC_VERSION := $(shell dpkg-query -W -f '$${Version}' g++ | sed -rne 's,^([0-9]+:)?([0-9]+\.[0-9]+|[0-9]+).*$$,\2,p') LLVM_VERSION := 3.5 LLVM_VERSION_FULL := $(LLVM_VERSION).2 SONAME_EXT := 1