Re: [head tinderbox] failure on i386/i386

From: Cy Schubert <Cy.Schubert_at_komquats.com>
Date: Fri, 27 Jun 2014 23:39:31 -0700
In message <201406280518.s5S5Ia5Q086140_at_freebsd-current.sentex.ca>, FreeBSD 
Tin
derbox writes:
> TB --- 2014-06-28 04:10:47 - tinderbox 2.22 running on freebsd-current.sentex
> .ca
> TB --- 2014-06-28 04:10:47 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE Fre
> eBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014     des_at_freebsd-curr
> ent.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
> TB --- 2014-06-28 04:10:47 - starting HEAD tinderbox run for i386/i386
> TB --- 2014-06-28 04:10:47 - cleaning the object tree
> TB --- 2014-06-28 04:11:57 - /usr/local/bin/svn stat --no-ignore /src
> TB --- 2014-06-28 04:12:02 - At svn revision 267993
> TB --- 2014-06-28 04:12:03 - building world
> TB --- 2014-06-28 04:12:03 - CROSS_BUILD_TESTING=YES
> TB --- 2014-06-28 04:12:03 - MAKEOBJDIRPREFIX=/obj
> TB --- 2014-06-28 04:12:03 - MAKESYSPATH=/src/share/mk
> TB --- 2014-06-28 04:12:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2014-06-28 04:12:03 - SRCCONF=/dev/null
> TB --- 2014-06-28 04:12:03 - TARGET=i386
> TB --- 2014-06-28 04:12:03 - TARGET_ARCH=i386
> TB --- 2014-06-28 04:12:03 - TZ=UTC
> TB --- 2014-06-28 04:12:03 - __MAKE_CONF=/dev/null
> TB --- 2014-06-28 04:12:03 - cd /src
> TB --- 2014-06-28 04:12:03 - /usr/bin/make -B buildworld
> >>> Building an up-to-date bmake(1)
> >>> World build started on Sat Jun 28 04:12:10 UTC 2014
> >>> Rebuilding the temporary build tree
> >>> stage 1.1: legacy release compatibility shims
> >>> stage 1.2: bootstrap tools
> >>> stage 2.1: cleaning up the object tree
> >>> stage 2.2: rebuilding the object tree
> >>> stage 2.3: build tools
> >>> stage 3: cross tools
> [...]
> ===> lib/clang/libllvmmipsinfo (all)
> c++  -O2 -pipe -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/include
>  -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/tools/clang/include -
> I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetI
> nfo -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips -I
> . -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/../../lib/clang/incl
> ude -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_
> MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"i386-unknown-freeb
> sd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=
> \"/obj/i386.i386/src/tmp\" -I/obj/i386.i386/src/tmp/legacy/usr/include -fno-e
> xceptions -fno-rtti  -c /src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/
> lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp -o MipsTargetInfo.o
> building static llvmmipsinfo library
> ranlib -D libllvmmipsinfo.a
> ===> lib/clang/libllvmmipsinstprinter (all)
> c++  -O2 -pipe -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/
> include -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/tools/c
> lang/include -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/li
> b/Target/Mips/InstPrinter -I/src/lib/clang/libllvmmipsinstprinter/../../../co
> ntrib/llvm/lib/Target/Mips -I. -I/src/lib/clang/libllvmmipsinstprinter/../../
> ../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__
> STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAUL
> T_TARGET_TRIPLE=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unkn
> own-freebsd11.0\" -DDEFAULT_SYSROOT=\"/obj/i386.i386/src/tmp\" -I/obj/i386.i3
> 86/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c /src/lib/clang/li
> bllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter/MipsIn
> stPrinter.cpp -o MipsInstPrinter.o
> building static llvmmipsinstprinter library
> ranlib -D libllvmmipsinstprinter.a
> ===> lib/clang/libllvmpowerpcasmparser (all)
> c++  -O2 -pipe -I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm
> /include -I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/tools
> /clang/include -I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm
> /lib/Target/PowerPC/AsmParser -I/src/lib/clang/libllvmpowerpcasmparser/../../
> ../contrib/llvm/lib/Target/PowerPC -I. -I/src/lib/clang/libllvmpowerpcasmpars
> er/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FRE
> EBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLL
> VM_DEFAULT_TARGET_TRIPLE=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x8
> 6_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/obj/i386.i386/src/tmp\" -I/ob
> j/i386.i386/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c /src/lib
> /clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmPa
> rser/PPCAsmParser.cpp -o PPCAsmParser.o
> building static llvmpowerpcasmparser library
> ranlib -D libllvmpowerpcasmparser.a
> ===> lib/clang/libllvmpowerpccodegen (all)
> c++  -O2 -pipe -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/i
> nclude -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/cla
> ng/include -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/T
> arget/PowerPC -I. -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llv
> m/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MAC
> ROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPL
> E=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.
> 0\" -DDEFAULT_SYSROOT=\"/obj/i386.i386/src/tmp\" -I/obj/i386.i386/src/tmp/leg
> acy/usr/include -fno-exceptions -fno-rtti  -c /src/lib/clang/libllvmpowerpcco
> degen/../../../contrib/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp -o PPCAsmPri
> nter.o
> c++  -O2 -pipe -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/i
> nclude -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/cla
> ng/include -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/T
> arget/PowerPC -I. -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llv
> m/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MAC
> ROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPL
> E=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.
> 0\" -DDEFAULT_SYSROOT=\"/obj/i386.i386/src/tmp\" -I/obj/i386.i386/src/tmp/leg
> acy/usr/include -fno-exceptions -fno-rtti  -c /src/lib/clang/libllvmpowerpcco
> degen/../../../contrib/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp -o PPCBr
> anchSelector.o
> c++  -O2 -pipe -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/i
> nclude -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/cla
> ng/include -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/T
> arget/PowerPC -I. -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llv
> m/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MAC
> ROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPL
> E=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.
> 0\" -DDEFAULT_SYSROOT=\"/obj/i386.i386/src/tmp\" -I/obj/i386.i386/src/tmp/leg
> acy/usr/include -fno-exceptions -fno-rtti  -c /src/lib/clang/libllvmpowerpcco
> degen/../../../contrib/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp -o PPCCTRLoops
> .o
> c++  -O2 -pipe -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/i
> nclude -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/cla
> ng/include -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/T
> arget/PowerPC -I. -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llv
> m/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MAC
> ROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPL
> E=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.
> 0\" -DDEFAULT_SYSROOT=\"/obj/i386.i386/src/tmp\" -I/obj/i386.i386/src/tmp/leg
> acy/usr/include -fno-exceptions -fno-rtti  -c /src/lib/clang/libllvmpowerpcco
> degen/../../../contrib/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp -o PPCCodeE
> mitter.o
> c++  -O2 -pipe -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/i
> nclude -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/cla
> ng/include -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/T
> arget/PowerPC -I. -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llv
> m/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MAC
> ROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPL
> E=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.
> 0\" -DDEFAULT_SYSROOT=\"/obj/i386.i386/src/tmp\" -I/obj/i386.i386/src/tmp/leg
> acy/usr/include -fno-exceptions -fno-rtti  -c /src/lib/clang/libllvmpowerpcco
> degen/../../../contrib/llvm/lib/Target/PowerPC/PPCFastISel.cpp -o PPCFastISel
> .o
> /src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/Target/PowerPC
> /PPCFastISel.cpp: In member function 'bool<unnamed>::PPCFastISel::SelectFPToI
> (const llvm::Instruction*, bool)':
> /src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/Target/PowerPC
> /PPCFastISel.cpp:1030: error: base operand of '->' has non-pointer type 'cons
> t llvm::PPCSubtarget'
> *** Error code 1
> 
> Stop.
> bmake[3]: stopped in /src/lib/clang/libllvmpowerpccodegen
> *** Error code 1
> 
> Stop.
> bmake[2]: stopped in /src/lib/clang
> *** Error code 1
> 
> Stop.
> bmake[1]: stopped in /src
> *** Error code 1
> 
> Stop.
> bmake: stopped in /src
> *** [buildworld] Error code 1
> 
> Stop in /src.
> TB --- 2014-06-28 05:18:36 - WARNING: /usr/bin/make returned exit code  1 
> TB --- 2014-06-28 05:18:36 - ERROR: failed to build world
> TB --- 2014-06-28 05:18:36 - 3645.91 user 308.64 system 4068.96 real
> 
> 

The following should fix this.

Index: contrib/llvm/lib/Target/PowerPC/PPCFastISel.cpp
===================================================================
--- contrib/llvm/lib/Target/PowerPC/PPCFastISel.cpp	(revision 268002)
+++ contrib/llvm/lib/Target/PowerPC/PPCFastISel.cpp	(working copy)
_at__at_ -1027,7 +1027,7 _at__at_
     return false;
 
   // If we don't have FCTIDUZ and we need it, punt to SelectionDAG.
-  if (DstVT == MVT::i64 && !IsSigned && !PPCSubTarget->hasFPCVT())
+  if (DstVT == MVT::i64 && !IsSigned && !PPCSubTarget.hasFPCVT())
     return false;
 
   Value *Src = I->getOperand(0);


-- 
Cheers,
Cy Schubert <Cy.Schubert_at_komquats.com>
FreeBSD UNIX:  <cy_at_FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.
Received on Sat Jun 28 2014 - 04:39:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:50 UTC