[cfe-dev] Question on test failure: LLVM :: Bindings/Go/go.test

Tim Halloran via cfe-dev cfe-dev at lists.llvm.org
Wed Jan 27 09:14:04 PST 2016


On Tue, Jan 26, 2016 at 3:52 PM, Justin Bogner <mail at justinbogner.com>
wrote:

> I believe you can disable the tests using -DLLVM_INCLUDE_GO_TESTS=No.
> This won't stop the bindings from being built though.
>

Yes this works. Thanks, but see below -- I think the tests should work.

>
> Peter Collingbourne via cfe-dev <cfe-dev at lists.llvm.org> writes:
> > The Go bindings are enabled if you have a 'go' executable in your $PATH
> and
> > it is at least Go 1.2.
> >
> > I don't think there is a way to explicitly disable the bindings, but you
> > might try adding one (see llvm/cmake/config-ix.cmake).
>

The bindings seem to be building but my GOROOT is /home/tim/apps/go not
/usr/local/go

I searched around a bit and could not figure out how the GOROOT is lost in
the test. If I symlink /usr/local/go to my GOROOT the regression tests run
fine:

[100%] Running all regression tests
lit.py: lit.cfg:195: note: using clang:
'/home/tim/Source/llvm-trunk/build/./bin/clang'
Testing Time: 246.71s
  Expected Passes    : 25722
  Expected Failures  : 164
  Unsupported Tests  : 516
[100%] Built target check-all
{tim at arkham:~/Source/llvm-trunk/build}

This is on Linux and GOROOT is exported in .profile as

# Go
export GOROOT=$HOME/apps/go
export PATH=$PATH:$GOROOT/bin

Any idea why the tests ignore this setting.

>
> > Can you show us the rest of the output from make check-llvm?
> >
> > Peter
>

See text file attached (when it breaks due to my GOROOT setting)

-- 
Tim Halloran
SureLogic, Inc.
5808 Forbes Avenue, Pittsburgh PA 15217-1602
(412) 722-3338
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160127/9e2e9369/attachment.html>
-------------- next part --------------
[  0%] Built target gtest_main
[  3%] Built target LLVMSupport
[  5%] Built target obj.llvm-tblgen
[  7%] Built target LLVMTableGen
[  7%] Built target llvm-tblgen
[  7%] Updating AttributesCompatFunc.inc...
[  7%] Built target AttributeCompatFuncTableGen
[  7%] Updating Attributes.inc...
[  7%] Updating Intrinsics.gen...
[  7%] Built target intrinsics_gen
[ 11%] Built target LLVMCore
[ 12%] Built target LLVMTransformUtils
[ 16%] Built target LLVMAnalysis
[ 16%] Built target gtest
[ 16%] Built target UtilsTests
[ 16%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/APFloatTest.cpp.o
[ 16%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/APIntTest.cpp.o
[ 16%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/APSIntTest.cpp.o
[ 16%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/ArrayRefTest.cpp.o
[ 16%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/BitVectorTest.cpp.o
[ 16%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/DAGDeltaAlgorithmTest.cpp.o
[ 16%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/DeltaAlgorithmTest.cpp.o
[ 16%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/DenseMapTest.cpp.o
[ 16%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/DenseSetTest.cpp.o
[ 16%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/FoldingSet.cpp.o
[ 16%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/FunctionRefTest.cpp.o
[ 16%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/HashingTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/ilistTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/ImmutableMapTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/ImmutableSetTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/IntEqClassesTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/IntervalMapTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/IntrusiveRefCntPtrTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/MakeUniqueTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/MapVectorTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/OptionalTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/PackedVectorTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/PointerEmbeddedIntTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/PointerIntPairTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/PointerSumTypeTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/PointerUnionTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/PostOrderIteratorTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/RangeAdapterTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SCCIteratorTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SmallPtrSetTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SmallStringTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SmallVectorTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SparseBitVectorTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SparseMultiSetTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SparseSetTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/StringMapTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/StringRefTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/TinyPtrVectorTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/TripleTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/TwineTest.cpp.o
[ 18%] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/VariadicFunctionTest.cpp.o
[ 18%] Linking CXX executable ADTTests
[ 18%] Built target ADTTests
[ 20%] Built target LLVMAsmParser
Scanning dependencies of target AnalysisTests
[ 20%] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/AliasAnalysisTest.cpp.o
[ 20%] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/CallGraphTest.cpp.o
[ 20%] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/CFGTest.cpp.o
[ 20%] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/LazyCallGraphTest.cpp.o
[ 20%] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/ScalarEvolutionTest.cpp.o
[ 20%] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/MixedTBAATest.cpp.o
[ 20%] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/ValueTrackingTest.cpp.o
[ 20%] Linking CXX executable AnalysisTests
[ 20%] Built target AnalysisTests
Scanning dependencies of target AsmParserTests
[ 20%] Building CXX object unittests/AsmParser/CMakeFiles/AsmParserTests.dir/AsmParserTest.cpp.o
[ 22%] Linking CXX executable AsmParserTests
[ 22%] Built target AsmParserTests
[ 22%] Built target LLVMBitReader
[ 22%] Built target LLVMBitWriter
Scanning dependencies of target BitcodeTests
[ 22%] Building CXX object unittests/Bitcode/CMakeFiles/BitcodeTests.dir/BitReaderTest.cpp.o
[ 22%] Building CXX object unittests/Bitcode/CMakeFiles/BitcodeTests.dir/BitstreamReaderTest.cpp.o
[ 22%] Linking CXX executable BitcodeTests
[ 22%] Built target BitcodeTests
[ 27%] Built target LLVMCodeGen
[ 27%] Built target LLVMAsmPrinter
[ 29%] Built target LLVMInstrumentation
[ 29%] Built target LLVMInstCombine
[ 31%] Built target LLVMScalarOpts
[ 33%] Built target LLVMMC
[ 33%] Built target LLVMMCParser
[ 35%] Built target LLVMObject
[ 35%] Built target LLVMTarget
[ 37%] Built target LLVMProfileData
Scanning dependencies of target CodeGenTests
[ 37%] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/DIEHashTest.cpp.o
[ 37%] Linking CXX executable CodeGenTests
[ 37%] Built target CodeGenTests
[ 38%] Built target LLVMDebugInfoDWARF
Scanning dependencies of target DebugInfoDWARFTests
[ 38%] Building CXX object unittests/DebugInfo/DWARF/CMakeFiles/DebugInfoDWARFTests.dir/DWARFFormValueTest.cpp.o
[ 38%] Linking CXX executable DebugInfoDWARFTests
[ 38%] Built target DebugInfoDWARFTests
[ 40%] Built target LLVMDebugInfoPDB
Scanning dependencies of target DebugInfoPDBTests
[ 40%] Building CXX object unittests/DebugInfo/PDB/CMakeFiles/DebugInfoPDBTests.dir/PDBApiTest.cpp.o
[ 40%] Linking CXX executable DebugInfoPDBTests
[ 40%] Built target DebugInfoPDBTests
[ 40%] Built target LLVMExecutionEngine
[ 40%] Built target LLVMInterpreter
[ 40%] Built target LLVMOrcJIT
[ 40%] Built target LLVMRuntimeDyld
Scanning dependencies of target ExecutionEngineTests
[ 40%] Building CXX object unittests/ExecutionEngine/CMakeFiles/ExecutionEngineTests.dir/ExecutionEngineTest.cpp.o
[ 40%] Linking CXX executable ExecutionEngineTests
[ 40%] Built target ExecutionEngineTests
[ 42%] Built target LLVMSelectionDAG
[ 42%] Built target LLVMMCDisassembler
[ 42%] Updating X86GenRegisterInfo.inc...
[ 42%] Updating X86GenDisassemblerTables.inc...
[ 42%] Updating X86GenInstrInfo.inc...
[ 44%] Updating X86GenAsmWriter.inc...
[ 44%] Updating X86GenAsmWriter1.inc...
[ 44%] Updating X86GenAsmMatcher.inc...
[ 44%] Updating X86GenDAGISel.inc...
[ 44%] Updating X86GenFastISel.inc...
[ 44%] Updating X86GenCallingConv.inc...
[ 44%] Updating X86GenSubtargetInfo.inc...
[ 44%] Built target X86CommonTableGen
[ 46%] Built target LLVMX86CodeGen
[ 46%] Built target LLVMX86AsmParser
[ 46%] Built target LLVMX86Disassembler
[ 46%] Built target LLVMX86AsmPrinter
[ 46%] Built target LLVMX86Desc
[ 46%] Built target LLVMX86Info
[ 46%] Built target LLVMX86Utils
Scanning dependencies of target OrcJITTests
[ 46%] Building CXX object unittests/ExecutionEngine/Orc/CMakeFiles/OrcJITTests.dir/CompileOnDemandLayerTest.cpp.o
[ 46%] Building CXX object unittests/ExecutionEngine/Orc/CMakeFiles/OrcJITTests.dir/IndirectionUtilsTest.cpp.o
[ 46%] Building CXX object unittests/ExecutionEngine/Orc/CMakeFiles/OrcJITTests.dir/GlobalMappingLayerTest.cpp.o
[ 46%] Building CXX object unittests/ExecutionEngine/Orc/CMakeFiles/OrcJITTests.dir/LazyEmittingLayerTest.cpp.o
[ 46%] Building CXX object unittests/ExecutionEngine/Orc/CMakeFiles/OrcJITTests.dir/ObjectLinkingLayerTest.cpp.o
[ 46%] Building CXX object unittests/ExecutionEngine/Orc/CMakeFiles/OrcJITTests.dir/ObjectTransformLayerTest.cpp.o
[ 46%] Building CXX object unittests/ExecutionEngine/Orc/CMakeFiles/OrcJITTests.dir/OrcCAPITest.cpp.o
[ 46%] Building CXX object unittests/ExecutionEngine/Orc/CMakeFiles/OrcJITTests.dir/OrcTestCommon.cpp.o
[ 46%] Building CXX object unittests/ExecutionEngine/Orc/CMakeFiles/OrcJITTests.dir/RPCUtilsTest.cpp.o
[ 46%] Linking CXX executable OrcJITTests
[ 46%] Built target OrcJITTests
[ 46%] Built target LLVMIRReader
[ 48%] Built target LLVMipo
[ 48%] Built target LLVMVectorize
[ 48%] Built target LLVMLinker
[ 50%] Built target LLVMMCJIT
Scanning dependencies of target MCJITTests
[ 50%] Building CXX object unittests/ExecutionEngine/MCJIT/CMakeFiles/MCJITTests.dir/MCJITTest.cpp.o
[ 50%] Building CXX object unittests/ExecutionEngine/MCJIT/CMakeFiles/MCJITTests.dir/MCJITCAPITest.cpp.o
[ 50%] Building CXX object unittests/ExecutionEngine/MCJIT/CMakeFiles/MCJITTests.dir/MCJITMemoryManagerTest.cpp.o
[ 50%] Building CXX object unittests/ExecutionEngine/MCJIT/CMakeFiles/MCJITTests.dir/MCJITMultipleModuleTest.cpp.o
[ 50%] Building CXX object unittests/ExecutionEngine/MCJIT/CMakeFiles/MCJITTests.dir/MCJITObjectCacheTest.cpp.o
[ 50%] Linking CXX executable MCJITTests
[ 50%] Built target MCJITTests
Scanning dependencies of target IRTests
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/AsmWriterTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/AttributesTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/ConstantRangeTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/ConstantsTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/DebugInfoTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/DominatorTreeTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/IRBuilderTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/InstructionsTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/LegacyPassManagerTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/MDBuilderTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/MetadataTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/PassManagerTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/PatternMatch.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/TypeBuilderTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/TypesTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/UseTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/UserTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/ValueHandleTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/ValueMapTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/ValueTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/VerifierTest.cpp.o
[ 51%] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/WaymarkTest.cpp.o
[ 51%] Linking CXX executable IRTests
[ 51%] Built target IRTests
[ 51%] Built target LLVMLineEditor
Scanning dependencies of target LineEditorTests
[ 51%] Building CXX object unittests/LineEditor/CMakeFiles/LineEditorTests.dir/LineEditor.cpp.o
[ 51%] Linking CXX executable LineEditorTests
[ 51%] Built target LineEditorTests
Scanning dependencies of target LinkerTests
[ 51%] Building CXX object unittests/Linker/CMakeFiles/LinkerTests.dir/LinkModulesTest.cpp.o
[ 51%] Linking CXX executable LinkerTests
[ 51%] Built target LinkerTests
[ 51%] Updating AArch64GenRegisterInfo.inc...
[ 51%] Updating AArch64GenInstrInfo.inc...
[ 51%] Updating AArch64GenMCCodeEmitter.inc...
[ 51%] Updating AArch64GenMCPseudoLowering.inc...
[ 51%] Updating AArch64GenAsmWriter.inc...
[ 51%] Updating AArch64GenAsmWriter1.inc...
[ 51%] Updating AArch64GenAsmMatcher.inc...
[ 51%] Updating AArch64GenDAGISel.inc...
[ 51%] Updating AArch64GenFastISel.inc...
[ 51%] Updating AArch64GenCallingConv.inc...
[ 51%] Updating AArch64GenSubtargetInfo.inc...
[ 51%] Updating AArch64GenDisassemblerTables.inc...
[ 51%] Built target AArch64CommonTableGen
[ 53%] Built target LLVMAArch64CodeGen
[ 53%] Built target LLVMAArch64Info
[ 53%] Built target LLVMAArch64AsmParser
[ 53%] Built target LLVMAArch64Disassembler
[ 53%] Built target LLVMAArch64AsmPrinter
[ 53%] Built target LLVMAArch64Desc
[ 53%] Built target LLVMAArch64Utils
[ 53%] Updating AMDGPUGenRegisterInfo.inc...
[ 53%] Updating AMDGPUGenInstrInfo.inc...
[ 53%] Updating AMDGPUGenDAGISel.inc...
[ 53%] Updating AMDGPUGenCallingConv.inc...
[ 53%] Updating AMDGPUGenSubtargetInfo.inc...
[ 53%] Updating AMDGPUGenIntrinsics.inc...
[ 55%] Updating AMDGPUGenMCCodeEmitter.inc...
[ 55%] Updating AMDGPUGenDFAPacketizer.inc...
[ 55%] Updating AMDGPUGenAsmWriter.inc...
[ 55%] Updating AMDGPUGenAsmMatcher.inc...
[ 55%] Built target AMDGPUCommonTableGen
[ 59%] Built target LLVMAMDGPUCodeGen
[ 59%] Built target LLVMAMDGPUAsmParser
[ 59%] Built target LLVMAMDGPUAsmPrinter
[ 59%] Built target LLVMAMDGPUInfo
[ 59%] Built target LLVMAMDGPUDesc
[ 59%] Built target LLVMAMDGPUUtils
[ 59%] Updating ARMGenRegisterInfo.inc...
[ 59%] Updating ARMGenInstrInfo.inc...
[ 59%] Updating ARMGenMCCodeEmitter.inc...
[ 59%] Updating ARMGenMCPseudoLowering.inc...
[ 59%] Updating ARMGenAsmWriter.inc...
[ 59%] Updating ARMGenAsmMatcher.inc...
[ 59%] Updating ARMGenDAGISel.inc...
[ 59%] Updating ARMGenFastISel.inc...
[ 59%] Updating ARMGenCallingConv.inc...
[ 59%] Updating ARMGenSubtargetInfo.inc...
[ 59%] Updating ARMGenDisassemblerTables.inc...
[ 59%] Built target ARMCommonTableGen
[ 61%] Built target LLVMARMCodeGen
[ 61%] Built target LLVMARMInfo
[ 61%] Built target LLVMARMAsmParser
[ 61%] Built target LLVMARMDisassembler
[ 61%] Built target LLVMARMAsmPrinter
[ 61%] Built target LLVMARMDesc
[ 61%] Updating BPFGenRegisterInfo.inc...
[ 61%] Updating BPFGenInstrInfo.inc...
[ 61%] Updating BPFGenAsmWriter.inc...
[ 61%] Updating X86GenAsmMatcher.inc...
[ 61%] Updating BPFGenDAGISel.inc...
[ 61%] Updating BPFGenMCCodeEmitter.inc...
[ 61%] Updating BPFGenCallingConv.inc...
[ 61%] Updating BPFGenSubtargetInfo.inc...
[ 61%] Built target BPFCommonTableGen
[ 62%] Built target LLVMBPFCodeGen
[ 62%] Built target LLVMBPFAsmPrinter
[ 62%] Built target LLVMBPFInfo
[ 62%] Built target LLVMBPFDesc
[ 62%] Built target LLVMCppBackendCodeGen
[ 62%] Built target LLVMCppBackendInfo
[ 62%] Updating HexagonGenAsmMatcher.inc...
[ 62%] Updating HexagonGenAsmWriter.inc...
[ 62%] Updating HexagonGenCallingConv.inc...
[ 62%] Updating HexagonGenDAGISel.inc...
[ 62%] Updating HexagonGenDFAPacketizer.inc...
[ 62%] Updating HexagonGenDisassemblerTables.inc...
[ 62%] Updating HexagonGenInstrInfo.inc...
[ 62%] Updating HexagonGenMCCodeEmitter.inc...
[ 62%] Updating HexagonGenRegisterInfo.inc...
[ 62%] Updating HexagonGenSubtargetInfo.inc...
[ 62%] Built target HexagonCommonTableGen
[ 64%] Built target LLVMHexagonCodeGen
[ 64%] Built target LLVMHexagonAsmParser
[ 64%] Built target LLVMHexagonInfo
[ 66%] Built target LLVMHexagonDesc
[ 66%] Built target LLVMHexagonDisassembler
[ 66%] Updating MipsGenRegisterInfo.inc...
[ 66%] Updating MipsGenInstrInfo.inc...
[ 66%] Updating MipsGenDisassemblerTables.inc...
[ 66%] Updating MipsGenMCCodeEmitter.inc...
[ 66%] Updating MipsGenAsmWriter.inc...
[ 66%] Updating MipsGenDAGISel.inc...
[ 66%] Updating MipsGenFastISel.inc...
[ 66%] Updating MipsGenCallingConv.inc...
[ 66%] Updating MipsGenSubtargetInfo.inc...
[ 66%] Updating MipsGenAsmMatcher.inc...
[ 66%] Updating MipsGenMCPseudoLowering.inc...
[ 66%] Built target MipsCommonTableGen
[ 66%] Built target LLVMMipsCodeGen
[ 68%] Built target LLVMMipsAsmPrinter
[ 68%] Built target LLVMMipsDisassembler
[ 68%] Built target LLVMMipsInfo
[ 70%] Built target LLVMMipsDesc
[ 70%] Built target LLVMMipsAsmParser
[ 72%] Updating MSP430GenRegisterInfo.inc...
[ 72%] Updating MSP430GenInstrInfo.inc...
[ 72%] Updating MSP430GenAsmWriter.inc...
[ 72%] Updating MSP430GenDAGISel.inc...
[ 72%] Updating MSP430GenCallingConv.inc...
[ 72%] Updating MSP430GenSubtargetInfo.inc...
[ 72%] Built target MSP430CommonTableGen
[ 72%] Built target LLVMMSP430CodeGen
[ 72%] Built target LLVMMSP430AsmPrinter
[ 72%] Built target LLVMMSP430Info
[ 72%] Built target LLVMMSP430Desc
[ 74%] Updating NVPTXGenRegisterInfo.inc...
[ 74%] Updating NVPTXGenInstrInfo.inc...
[ 74%] Updating NVPTXGenAsmWriter.inc...
[ 74%] Updating NVPTXGenDAGISel.inc...
[ 74%] Updating NVPTXGenSubtargetInfo.inc...
[ 74%] Built target NVPTXCommonTableGen
[ 75%] Built target LLVMNVPTXCodeGen
[ 75%] Built target LLVMNVPTXInfo
[ 75%] Built target LLVMNVPTXAsmPrinter
[ 75%] Built target LLVMNVPTXDesc
[ 75%] Updating PPCGenAsmWriter.inc...
[ 75%] Updating PPCGenAsmMatcher.inc...
[ 75%] Updating PPCGenDisassemblerTables.inc...
[ 75%] Updating PPCGenMCCodeEmitter.inc...
[ 75%] Updating PPCGenRegisterInfo.inc...
[ 75%] Updating PPCGenInstrInfo.inc...
[ 75%] Updating PPCGenDAGISel.inc...
[ 75%] Updating PPCGenFastISel.inc...
[ 75%] Updating PPCGenCallingConv.inc...
[ 75%] Updating PPCGenSubtargetInfo.inc...
[ 77%] Built target PowerPCCommonTableGen
[ 79%] Built target LLVMPowerPCCodeGen
[ 79%] Built target LLVMPowerPCAsmParser
[ 79%] Built target LLVMPowerPCDisassembler
[ 79%] Built target LLVMPowerPCAsmPrinter
[ 79%] Built target LLVMPowerPCInfo
[ 79%] Built target LLVMPowerPCDesc
[ 79%] Updating SparcGenRegisterInfo.inc...
[ 79%] Updating SparcGenInstrInfo.inc...
[ 79%] Updating SparcGenDisassemblerTables.inc...
[ 79%] Updating SparcGenMCCodeEmitter.inc...
[ 79%] Updating SparcGenAsmWriter.inc...
[ 79%] Updating SparcGenAsmMatcher.inc...
[ 79%] Updating SparcGenDAGISel.inc...
[ 79%] Updating SparcGenSubtargetInfo.inc...
[ 79%] Updating SparcGenCallingConv.inc...
[ 79%] Built target SparcCommonTableGen
[ 79%] Built target LLVMSparcCodeGen
[ 79%] Built target LLVMSparcInfo
[ 81%] Built target LLVMSparcDesc
[ 81%] Built target LLVMSparcAsmPrinter
[ 81%] Built target LLVMSparcAsmParser
[ 81%] Built target LLVMSparcDisassembler
[ 81%] Updating SystemZGenAsmMatcher.inc...
[ 81%] Updating SystemZGenAsmWriter.inc...
[ 81%] Updating SystemZGenCallingConv.inc...
[ 81%] Updating SystemZGenDAGISel.inc...
[ 81%] Updating SystemZGenDisassemblerTables.inc...
[ 81%] Updating SystemZGenMCCodeEmitter.inc...
[ 81%] Updating SystemZGenInstrInfo.inc...
[ 81%] Updating SystemZGenRegisterInfo.inc...
[ 81%] Updating SystemZGenSubtargetInfo.inc...
[ 81%] Built target SystemZCommonTableGen
[ 83%] Built target LLVMSystemZCodeGen
[ 83%] Built target LLVMSystemZAsmParser
[ 83%] Built target LLVMSystemZDisassembler
[ 83%] Built target LLVMSystemZAsmPrinter
[ 83%] Built target LLVMSystemZInfo
[ 83%] Built target LLVMSystemZDesc
[ 83%] Updating XCoreGenRegisterInfo.inc...
[ 83%] Updating XCoreGenInstrInfo.inc...
[ 83%] Updating XCoreGenDisassemblerTables.inc...
[ 83%] Updating XCoreGenAsmWriter.inc...
[ 83%] Updating XCoreGenDAGISel.inc...
[ 83%] Updating XCoreGenCallingConv.inc...
[ 83%] Updating XCoreGenSubtargetInfo.inc...
[ 83%] Built target XCoreCommonTableGen
[ 85%] Built target LLVMXCoreCodeGen
[ 85%] Built target LLVMXCoreDisassembler
[ 85%] Built target LLVMXCoreAsmPrinter
[ 85%] Built target LLVMXCoreInfo
[ 85%] Built target LLVMXCoreDesc
Scanning dependencies of target MCTests
[ 85%] Building CXX object unittests/MC/CMakeFiles/MCTests.dir/Disassembler.cpp.o
[ 85%] Building CXX object unittests/MC/CMakeFiles/MCTests.dir/StringTableBuilderTest.cpp.o
[ 85%] Building CXX object unittests/MC/CMakeFiles/MCTests.dir/YAMLTest.cpp.o
[ 85%] Linking CXX executable MCTests
[ 85%] Built target MCTests
[ 85%] Building Opts.inc...
[ 85%] Updating Opts.inc...
[ 85%] Built target OptsTestTableGen
[ 85%] Built target LLVMOption
Scanning dependencies of target OptionTests
[ 85%] Building CXX object unittests/Option/CMakeFiles/OptionTests.dir/OptionParsingTest.cpp.o
[ 85%] Linking CXX executable OptionTests
[ 85%] Built target OptionTests
Scanning dependencies of target ProfileDataTests
[ 85%] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/CoverageMappingTest.cpp.o
[ 85%] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/InstrProfTest.cpp.o
[ 85%] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/SampleProfTest.cpp.o
[ 85%] Linking CXX executable ProfileDataTests
[ 85%] Built target ProfileDataTests
Scanning dependencies of target SupportTests
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/AlignOfTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/AllocatorTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/ArrayRecyclerTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/BlockFrequencyTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/BranchProbabilityTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/Casting.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/CommandLineTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/CompressionTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/ConvertUTFTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/DataExtractorTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/DwarfTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/EndianStreamTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/EndianTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/ErrorOrTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/FileOutputBufferTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/IteratorTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/LEB128Test.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/LineIteratorTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/LockFileManagerTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/MD5Test.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/ManagedStatic.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/MathExtrasTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/MemoryBufferTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/MemoryTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/Path.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/ProcessTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/ProgramTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/RegexTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/ReplaceFileTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/ScaledNumberTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/SourceMgrTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/SpecialCaseListTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/StreamingMemoryObject.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/StringPool.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/SwapByteOrderTest.cpp.o
[ 87%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/TargetRegistry.cpp.o
[ 88%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/ThreadLocalTest.cpp.o
[ 88%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/ThreadPool.cpp.o
[ 88%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/TimerTest.cpp.o
[ 88%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/TimeValueTest.cpp.o
[ 88%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/TrailingObjectsTest.cpp.o
[ 88%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/UnicodeTest.cpp.o
[ 88%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
[ 88%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLParserTest.cpp.o
[ 88%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/formatted_raw_ostream_test.cpp.o
[ 88%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/raw_ostream_test.cpp.o
[ 88%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/raw_pwrite_stream_test.cpp.o
[ 88%] Linking CXX executable SupportTests
[ 88%] Built target SupportTests
Scanning dependencies of target IPOTests
[ 88%] Building CXX object unittests/Transforms/IPO/CMakeFiles/IPOTests.dir/LowerBitSets.cpp.o
[ 88%] Linking CXX executable IPOTests
[ 88%] Built target IPOTests
[ 88%] Built target UnitTests
[ 88%] Built target LLVMHello_exports
[ 88%] Built target LLVMHello
[ 90%] Built target FileCheck
[ 90%] Built target count
[ 90%] Built target not
[ 90%] Built target yaml-bench
[ 90%] Updating Options.inc...
[ 90%] Built target LibOptionsTableGen
[ 90%] Built target LLVMLibDriver
[ 90%] Built target llvm-ar
[ 90%] Built target llvm-ranlib
[ 90%] Built target llvm-lib
[ 90%] Built target llvm-config
[ 92%] Built target llvm-profdata
[ 92%] Built target llvm-pdbdump
[ 92%] Built target LLVMObjCARCOpts
[ 94%] Built target bugpoint
[ 94%] Built target BugpointPasses_exports
[ 94%] Built target BugpointPasses
[ 94%] Built target LLVMSymbolize
[ 94%] Built target llvm-symbolizer
[ 94%] Built target sanstats
[ 96%] Built target llvm-dwarfdump
[ 96%] Built target llvm-nm
[ 96%] Built target llvm-extract
[ 96%] Built target llvm-rtdyld
[ 96%] Built target llvm-diff
[ 96%] Built target llvm-dis
[ 96%] Built target verify-uselistorder
[ 96%] Built target llvm-mcmarkup
[ 98%] Built target yaml2obj
[ 98%] Built target llvm-cxxdump
[ 98%] Built target LLVMMIRParser
[ 98%] Built target llc
[ 98%] Built target llvm-objdump
[ 98%] Built target llvm-go
[ 98%] Built target llvm-as
[ 98%] Built target llvm-bcanalyzer
[ 98%] Built target llvm-cov
[ 98%] Built target llvm-link
[ 98%] Built target llvm-split
[ 98%] Built target llvm-readobj
[ 98%] Built target LLVMPasses
[ 98%] Built target opt
[ 98%] Built target LLVMLTO
[ 98%] Built target llvm-lto
[ 98%] Built target obj2yaml
[ 98%] Built target llvm-dsymutil
[ 98%] Built target sancov
[ 98%] Built target llvm-size
[ 98%] Built target llvm-mc
[ 98%] Built target llvm-dwp
[100%] Built target llvm-c-test
[100%] Built target lli
[100%] Built target lli-child-target
Scanning dependencies of target check-llvm
[100%] Running the LLVM regression tests
-- Testing: 15685 tests, 4 threads --
Testing: 0 
FAIL: LLVM :: Bindings/Go/go.test (743 of 15685)
******************** TEST 'LLVM :: Bindings/Go/go.test' FAILED ********************
Script:
--
/home/tim/Source/llvm-trunk/build/./bin/llvm-go go=/home/tim/apps/go/bin/go test llvm.org/llvm/bindings/go/llvm
--
Exit Code: 1

Command Output (stderr):
--
go: cannot find GOROOT directory: /usr/local/go

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Testing Time: 68.51s
********************
Failing Tests (1):
    LLVM :: Bindings/Go/go.test

  Expected Passes    : 15264
  Expected Failures  : 122
  Unsupported Tests  : 298
  Unexpected Failures: 1
test/CMakeFiles/check-llvm.dir/build.make:57: recipe for target 'test/CMakeFiles/check-llvm' failed
make[3]: *** [test/CMakeFiles/check-llvm] Error 1
CMakeFiles/Makefile2:33529: recipe for target 'test/CMakeFiles/check-llvm.dir/all' failed
make[2]: *** [test/CMakeFiles/check-llvm.dir/all] Error 2
CMakeFiles/Makefile2:33536: recipe for target 'test/CMakeFiles/check-llvm.dir/rule' failed
make[1]: *** [test/CMakeFiles/check-llvm.dir/rule] Error 2
Makefile:7854: recipe for target 'check-llvm' failed
make: *** [check-llvm] Error 2


More information about the cfe-dev mailing list