Skip to content

Instantly share code, notes, and snippets.

@greenbigfrog
Created May 30, 2021 12:56
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 greenbigfrog/4ae04df30deabfc70ec12497f39fca1b to your computer and use it in GitHub Desktop.
Save greenbigfrog/4ae04df30deabfc70ec12497f39fca1b to your computer and use it in GitHub Desktop.
% shards build gi-doc :( 130 21-05-30 - 14:55:08
Dependencies are satisfied
Building: gi-doc
Error target gi-doc failed to compile:
/usr/bin/ld: /usr/lib/crystal/llvm/ext/llvm_ext.o: in function `LLVMExtDIBuilderCreateCompileUnit':
llvm_ext.cc:(.text+0x42e): undefined reference to `llvm::DIBuilder::createCompileUnit(unsigned int, llvm::DIFile*, llvm::StringRef, bool, llvm::StringRef, unsigned int, llvm::StringRef, llvm::DICompileUnit::DebugEmissionKind, unsigned long, bool, bool, llvm::DICompileUnit::DebugNameTableKind, bool)'
/usr/bin/ld: /usr/lib/crystal/llvm/ext/llvm_ext.o: in function `LLVMExtBuildCmpxchg':
llvm_ext.cc:(.text+0x12d7): undefined reference to `llvm::AtomicCmpXchgInst::AtomicCmpXchgInst(llvm::Value*, llvm::Value*, llvm::Value*, llvm::AtomicOrdering, llvm::AtomicOrdering, unsigned char, llvm::Instruction*)'
/usr/bin/ld: /usr/lib/crystal/llvm/ext/llvm_ext.o: in function `LLVMExtWriteBitcodeWithSummaryToFile':
llvm_ext.cc:(.text+0x2a2d): undefined reference to `llvm::buildModuleSummaryIndex(llvm::Module const&, std::function<llvm::BlockFrequencyInfo* (llvm::Function const&)>, llvm::ProfileSummaryInfo*)'
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: `cc "${@}" -o /home/frog/crystal-gobject/bin/gi-doc -rdynamic -lz `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'` /usr/lib/crystal/llvm/ext/llvm_ext.o `"/usr/bin/llvm-config" --libs --system-libs --ldflags 2> /dev/null` -lstdc++ -lgirepository-1.0 -lgobject-2.0 -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lpcre -lm -lgc -lpthread /usr/lib/crystal/ext/libcrystal.a -levent -lrt -ldl`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment