Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sudo apt-get install lld llvm llvm-dev
$ make spec
Using /usr/bin/llvm-config-13 [version= 13.0.0]
g++ -c -o src/llvm/ext/llvm_ext.o src/llvm/ext/llvm_ext.cc -I/usr/lib/llvm-13/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
CC="cc -fuse-ld=lld" CRYSTAL_CONFIG_BUILD_COMMIT="a3ee70ca0" CRYSTAL_CONFIG_PATH='$ORIGIN/../share/crystal/src' SOURCE_DATE_EPOCH="1641471908" ./bin/crystal build -D strict_multi_assign -Dwithout_interpreter --exclude-warnings spec/std --exclude-warnings spec/compiler --exclude-warnings spec/primitives -o .build/all_spec spec/all_spec.cr
ld.lld: error: cannot open _main.o: No such file or directory
ld.lld: error: cannot open S-lice40U-I-nt841.o: No such file or directory
ld.lld: error: cannot open P-ointer40U-I-nt841.o: No such file or directory
ld.lld: error: cannot open A-rgumentE-rror.o: No such file or directory
ld.lld: error: cannot open E-xception5858C-allS-tack.o: No such file or directory
ld.lld: error: cannot open A-rray40P-ointer40V-oid4141.o: No such file or directory
ld.lld: error: cannot open P-ointer40P-ointer40V-oid4141.o: No such file or directory
ld.lld: error: cannot open I-nt32.o: No such file or directory
ld.lld: error: cannot open F-loat64.o: No such file or directory
ld.lld: error: cannot open I-nt64.o: No such file or directory
ld.lld: error: cannot open D-ivisionB-yZ-eroE-rror.o: No such file or directory
ld.lld: error: cannot open P-ointer40L-ibU-nwind5858E-xception41.o: No such file or directory
ld.lld: error: cannot open U-I-nt64.o: No such file or directory
ld.lld: error: cannot open E-xception.o: No such file or directory
ld.lld: error: cannot open U-I-nt8.o: No such file or directory
ld.lld: error: cannot open A-rray40S-tring41.o: No such file or directory
ld.lld: error: cannot open P-ointer40S-tring41.o: No such file or directory
ld.lld: error: cannot open D-ir.o: No such file or directory
ld.lld: error: cannot open C-rystal5858S-ystem5858D-ir.o: No such file or directory
ld.lld: error: cannot open F-ile5858E-rror.o: No such file or directory
ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: `cc -fuse-ld=lld "${@}" -o /tmp/crystal/.build/all_spec -rdynamic -L/usr/bin/../lib/crystal -lxml2 -lgmp -lyaml -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'` /tmp/crystal/src/llvm/ext/llvm_ext.o `"/usr/bin/llvm-config-13" --libs --system-libs --ldflags 2> /dev/null` -lstdc++ -lpcre -lm -lgc -lpthread -levent -lrt -ldl -lffi`
make: *** [Makefile:174: .build/all_spec] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment