Skip to content

Instantly share code, notes, and snippets.

@ivan
Created February 27, 2019 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivan/e499bce3326ea9f6f92148f5a6913a23 to your computer and use it in GitHub Desktop.
Save ivan/e499bce3326ea9f6f92148f5a6913a23 to your computer and use it in GitHub Desktop.
Scanning dependencies of target LLVM
[ 79%] Building CXX object tools/llvm-shlib/CMakeFiles/LLVM.dir/libllvm.cpp.o
[ 79%] Linking CXX shared library ../../lib/libLLVM-7.so
[ 79%] Linking CXX static library ../../../../lib/libLLVMExegesisX86.a
[ 79%] Built target LLVMExegesisX86
/nix/store/kxyqxj2k4c2iwrb5lk9wx1jz01chmsiq-binutils-2.31.1/bin/ld: ../../lib/libLLVMAnalysis.a(LoopAccessAnalysis.cpp.o): in function `llvm::getPtrStride(llvm::PredicatedScalarEvolution&, llvm::Value*, llvm::Loop const*, llvm::DenseMap<llvm::Value const*, llvm::Value*, llvm::DenseMapInfo<llvm::Value const*>, llvm::detail::DenseMapPair<llvm::Value const*, llvm::Value*> > const&, bool, bool)':
LoopAccessAnalysis.cpp:(.text._ZN4llvm12getPtrStrideERNS_25PredicatedScalarEvolutionEPNS_5ValueEPKNS_4LoopERKNS_8DenseMapIPKS2_S3_NS_12DenseMapInfoIS9_EENS_6detail12DenseMapPairIS9_S3_EEEEbb+0x147): undefined reference to `__divmoddi4'
/nix/store/kxyqxj2k4c2iwrb5lk9wx1jz01chmsiq-binutils-2.31.1/bin/ld: ../../lib/libLLVMAArch64CodeGen.a(AArch64InstrInfo.cpp.o): in function `scaleOffset(unsigned int, long long&)':
AArch64InstrInfo.cpp:(.text.unlikely._ZL11scaleOffsetjRx+0x80): undefined reference to `__divmoddi4'
/nix/store/kxyqxj2k4c2iwrb5lk9wx1jz01chmsiq-binutils-2.31.1/bin/ld: ../../lib/libLLVMInstCombine.a(InstructionCombining.cpp.o): in function `.L494':
InstructionCombining.cpp:(.text._ZN4llvm12InstCombiner19FindElementAtOffsetEPNS_11PointerTypeExRNS_15SmallVectorImplIPNS_5ValueEEE+0x6b1): undefined reference to `__divmoddi4'
/nix/store/kxyqxj2k4c2iwrb5lk9wx1jz01chmsiq-binutils-2.31.1/bin/ld: ../../lib/libLLVMScalarOpts.a(SeparateConstOffsetFromGEP.cpp.o): in function `.L1609':
SeparateConstOffsetFromGEP.cpp:(.text._ZN12_GLOBAL__N_126SeparateConstOffsetFromGEP13runOnFunctionERN4llvm8FunctionE+0x1399): undefined reference to `__divmoddi4'
/nix/store/kxyqxj2k4c2iwrb5lk9wx1jz01chmsiq-binutils-2.31.1/bin/ld: ../../lib/libLLVMVectorize.a(LoopVectorize.cpp.o): in function `llvm::LoopVectorizePass::processLoop(llvm::Loop*)':
LoopVectorize.cpp:(.text._ZN4llvm17LoopVectorizePass11processLoopEPNS_4LoopE+0x2755): undefined reference to `__divmoddi4'
/nix/store/kxyqxj2k4c2iwrb5lk9wx1jz01chmsiq-binutils-2.31.1/bin/ld: ../../lib/libLLVMTransformUtils.a(LoopUtils.cpp.o):LoopUtils.cpp:(.text._ZN4llvm19InductionDescriptor14isInductionPHIEPNS_7PHINodeEPKNS_4LoopEPNS_15ScalarEvolutionERS0_PKNS_4SCEVEPNS_15SmallVectorImplIPNS_11InstructionEEE+0x4bc): more undefined references to `__divmoddi4' follow
collect2: error: ld returned 1 exit status
make[2]: *** [tools/llvm-shlib/CMakeFiles/LLVM.dir/build.make:277: lib/libLLVM-7.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:26359: tools/llvm-shlib/CMakeFiles/LLVM.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
builder for '/nix/store/nymydcck50p4dp0brixa53136i73f26q-llvm-7.0.1.drv' failed with exit code 2
cannot build derivation '/nix/store/rg766yxmbcx37g9kijpmswlpqh8xw22h-rustc-1.32.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/in6qkc3jrb8ndmzrdw8km2qjf8i1phi9-cargo-1.32.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/j24d3ciy2xgm642sa31midgjkp9wimbw-librsvg-2.44.11.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/602mha6y89l389lr55ds9mg732c51chy-appimage-run-usr-multi.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ghx8l07ixhab0xa0ifqlwwggvapy4qsw-appimage-run-fhs.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/smyx7jsnq746n2pjpkd92ibj8hh5hwhq-appimage-run-init.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wn0hvm0ijw703499r0vbk2bkyys7jfh6-appimage-run.drv': 1 dependencies couldn't be built
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment