make: crystal: Command not found Using /usr/bin/llvm-config [version=8.0.1] ./bin/crystal build -D preview_overflow -D compiler_rt --link-flags="-Wl,--as-needed" -o .build/all_spec spec/all_spec.cr Using compiled compiler at `.build/crystal' Invalid memory access (signal 11) at address 0x20 [0xaaad97f24024] ??? [0xaaad97e9cc14] __crystal_sigfault_handler +124 [0xfff213e452a8] __setjmp +56 [0xfff211a358ac] _ZN4llvm12getOpcodeDefEjjRKNS_19MachineRegisterInfoE +36 [0xfff211a2231c] ??? [0xfff211a23488] ??? [0xfff211a23550] ??? [0xfff211a23e14] ??? [0xfff2117ad678] ??? [0xfff2116ba9c0] _ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE +364 [0xfff2116bab48] _ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE +56 [0xfff2116baffc] _ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE +512 [0xfff2120c0808] ??? [0xfff2120c091c] LLVMTargetMachineEmitToFile +232 [0xaaad97c1b860] ??? [0xaaad97c1c2f8] ??? [0xaaad9773c674] ??? [0x0] ??? Invalid memory access (signal 11) at address 0x20 [0xaaad97f24024] ??? [0xaaad97e9cc14] __crystal_sigfault_handler +124 [0xfff213e452a8] __setjmp +56 [0xfff211a358ac] _ZN4llvm12getOpcodeDefEjjRKNS_19MachineRegisterInfoE +36 [0xfff211a2231c] ??? [0xfff211a23488] ??? [0xfff211a23550] ??? [0xfff211a23e14] ??? [0xfff2117ad678] ??? [0xfff2116ba9c0] _ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE +364 [0xfff2116bab48] _ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE +56 [0xfff2116baffc] _ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE +512 [0xfff2120c0808] ??? [0xfff2120c091c] LLVMTargetMachineEmitToFile +232 [0xaaad97c1b860] ??? [0xaaad97c1c2f8] ??? [0xaaad9773c674] ??? [0x0] ??? Invalid memory access (signal 11) at address 0x20 [0xaaad97f24024] ??? [0xaaad97e9cc14] __crystal_sigfault_handler +124 [0xfff213e452a8] __setjmp +56 [0xfff211a358ac] _ZN4llvm12getOpcodeDefEjjRKNS_19MachineRegisterInfoE +36 [0xfff211a2231c] ??? [0xfff211a23488] ??? [0xfff211a23550] ??? [0xfff211a23e14] ??? [0xfff2117ad678] ??? [0xfff2116ba9c0] _ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE +364 [0xfff2116bab48] _ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE +56 [0xfff2116baffc] _ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE +512 [0xfff2120c0808] ??? [0xfff2120c091c] LLVMTargetMachineEmitToFile +232 [0xaaad97c1b860] ??? [0xaaad97c1c2f8] ??? [0xaaad9773c674] ??? [0x0] ??? Invalid memory access (signal 11) at address 0x20 [0xaaad97f24024] ??? [0xaaad97e9cc14] __crystal_sigfault_handler +124 [0xfff213e452a8] __setjmp +56 [0xfff211a358ac] _ZN4llvm12getOpcodeDefEjjRKNS_19MachineRegisterInfoE +36 [0xfff211a2231c] ??? [0xfff211a23488] ??? [0xfff211a23550] ??? [0xfff211a23e14] ??? [0xfff2117ad678] ??? [0xfff2116ba9c0] _ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE +364 [0xfff2116bab48] _ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE +56 [0xfff2116baffc] _ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE +512 [0xfff2120c0808] ??? [0xfff2120c091c] LLVMTargetMachineEmitToFile +232 [0xaaad97c1b860] ??? [0xaaad97c1c2f8] ??? [0xaaad9773c674] ??? [0x0] ??? Invalid memory access (signal 11) at address 0x10 [0xaaad97f24024] ??? [0xaaad97e9cc14] __crystal_sigfault_handler +124 [0xfff213e452a8] __setjmp +56 [0xfff21213c034] _ZNK4llvm23AArch64RegisterBankInfo15getInstrMappingERKNS_12MachineInstrE +1736 [0xfff211a31ed8] _ZN4llvm13RegBankSelect11assignInstrERNS_12MachineInstrE +96 [0xfff211a320a0] _ZN4llvm13RegBankSelect20runOnMachineFunctionERNS_15MachineFunctionE +224 [0xfff2117ad678] ??? [0xfff2116ba9c0] _ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE +364 [0xfff2116bab48] _ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE +56 [0xfff2116baffc] _ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE +512 [0xfff2120c0808] ??? [0xfff2120c091c] LLVMTargetMachineEmitToFile +232 [0xaaad97c1b860] ??? [0xaaad97c1c2f8] ??? [0xaaad9773c674] ??? [0x0] ??? Invalid memory access (signal 11) at address 0x20 [0xaaad97f24024] ??? [0xaaad97e9cc14] __crystal_sigfault_handler +124 [0xfff213e452a8] __setjmp +56 [0xfff211a358ac] _ZN4llvm12getOpcodeDefEjjRKNS_19MachineRegisterInfoE +36 [0xfff211a2231c] ??? [0xfff211a22d18] ??? [0xfff211a23548] ??? [0xfff211a23e14] ??? [0xfff2117ad678] ??? [0xfff2116ba9c0] _ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE +364 [0xfff2116bab48] _ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE +56 [0xfff2116baffc] _ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE +512 [0xfff2120c0808] ??? [0xfff2120c091c] LLVMTargetMachineEmitToFile +232 [0xaaad97c1b860] ??? [0xaaad97c1c2f8] ??? [0xaaad9773c674] ??? [0x0] ??? Invalid memory access (signal 11) at address 0x10 [0xaaad97f24024] ??? [0xaaad97e9cc14] __crystal_sigfault_handler +124 [0xfff213e452a8] __setjmp +56 [0xfff21213c034] _ZNK4llvm23AArch64RegisterBankInfo15getInstrMappingERKNS_12MachineInstrE +1736 [0xfff211a31ed8] _ZN4llvm13RegBankSelect11assignInstrERNS_12MachineInstrE +96 [0xfff211a320a0] _ZN4llvm13RegBankSelect20runOnMachineFunctionERNS_15MachineFunctionE +224 [0xfff2117ad678] ??? [0xfff2116ba9c0] _ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE +364 [0xfff2116bab48] _ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE +56 [0xfff2116baffc] _ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE +512 [0xfff2120c0808] ??? [0xfff2120c091c] LLVMTargetMachineEmitToFile +232 [0xaaad97c1b860] ??? [0xaaad97c1c2f8] ??? [0xaaad9773c674] ??? [0x0] ??? Invalid memory access (signal 11) at address 0x10 [0xaaad97f24024] ??? [0xaaad97e9cc14] __crystal_sigfault_handler +124 [0xfff213e452a8] __setjmp +56 [0xfff21213c034] _ZNK4llvm23AArch64RegisterBankInfo15getInstrMappingERKNS_12MachineInstrE +1736 [0xfff211a31ed8] _ZN4llvm13RegBankSelect11assignInstrERNS_12MachineInstrE +96 [0xfff211a320a0] _ZN4llvm13RegBankSelect20runOnMachineFunctionERNS_15MachineFunctionE +224 [0xfff2117ad678] ??? [0xfff2116ba9c0] _ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE +364 [0xfff2116bab48] _ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE +56 [0xfff2116baffc] _ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE +512 [0xfff2120c0808] ??? [0xfff2120c091c] LLVMTargetMachineEmitToFile +232 [0xaaad97c1b860] ??? [0xaaad97c1c2f8] ??? [0xaaad9773c674] ??? [0x0] ??? gcc: error: _main.o: No such file or directory gcc: error: S-lice40U-I-nt841.o: No such file or directory gcc: error: P-ointer40U-I-nt841.o: No such file or directory gcc: error: A-rgumentE-rror.o: No such file or directory gcc: error: C-allS-tack.o: No such file or directory gcc: error: A-rray40P-ointer40V-oid4141.o: No such file or directory gcc: error: P-ointer40P-ointer40V-oid4141.o: No such file or directory gcc: error: E-xception.o: No such file or directory gcc: error: P-ointer40L-ibU-nwind5858E-xception41.o: No such file or directory gcc: error: U-I-nt64.o: No such file or directory gcc: error: U-I-nt8.o: No such file or directory gcc: error: D-ir.o: No such file or directory gcc: error: C-rystal5858S-ystem5858D-ir.o: No such file or directory gcc: error: E-rrno.o: No such file or directory gcc: error: S-tring.o: No such file or directory gcc: error: G-C-.o: No such file or directory gcc: error: S-tring5858B-uilder.o: No such file or directory gcc: error: S-lice40T-41.o: No such file or directory gcc: error: I-O-5858E-ncoder.o: No such file or directory gcc: error: I-conv.o: No such file or directory gcc: error: M-ath.o: No such file or directory gcc: error: I-nt32.o: No such file or directory gcc: error: S-taticA-rray40U-I-nt84432102441.o: No such file or directory gcc: error: I-ndexE-rror.o: No such file or directory gcc: error: C-har.o: No such file or directory gcc: error: S-taticA-rray40U-I-nt84432441.o: No such file or directory gcc: error: I-nvalidB-yteS-equenceE-rror.o: No such file or directory gcc: error: S-taticA-rray40U-I-nt8443212941.o: No such file or directory gcc: error: I-nt64.o: No such file or directory gcc: error: D-ivisionB-yZ-eroE-rror.o: No such file or directory gcc: error: A-rray40S-tring41.o: No such file or directory gcc: error: P-ointer40S-tring41.o: No such file or directory gcc: error: I-terator5858S-top.o: No such file or directory gcc: error: P-ointer40V-oid41.o: No such file or directory gcc: error: P-roc40I-nt324432N-il41.o: No such file or directory gcc: error: S-taticA-rray40I-nt8443225641.o: No such file or directory gcc: error: P-ointer40I-nt841.o: No such file or directory gcc: error: T-hread5858L-inkedL-ist40F-iber41.o: No such file or directory gcc: error: T-hread5858M-utex.o: No such file or directory gcc: error: F-iber5858S-tackP-ool.o: No such file or directory gcc: error: D-eque40P-ointer40V-oid4141.o: No such file or directory gcc: error: C-rystal5858E-vent5858B-ase.o: No such file or directory gcc: error: T-hread5858L-inkedL-ist40T-hread41.o: No such file or directory gcc: error: T-hread.o: No such file or directory gcc: error: A-tomic40U-I-nt841.o: No such file or directory gcc: error: F-iber.o: No such file or directory gcc: error: A-tomic40T-hread3212432N-il41.o: No such file or directory gcc: error: F-iber5858C-ontext.o: No such file or directory gcc: error: F-ile5858P-ermissions.o: No such file or directory gcc: error: A-rray40T-uple40U-I-nt644432I-nt164432I-nt164141.o: No such file or directory gcc: error: P-ointer40T-uple40U-I-nt644432I-nt164432I-nt164141.o: No such file or directory gcc: error: A-rray40F-loat585-7322d6c8fe1296c88edebdcd115c89ad.o: No such file or directory gcc: error: P-ointer40F-loat5-36d63b0ae213f3427e187530ef6f5ab5.o: No such file or directory gcc: error: F-loat5858P-rinter5858C-achedP-owers5858P-ower.o: No such file or directory gcc: error: C-rystal5858S-ystem5858R-andom.o: No such file or directory [...] gcc: error: H-ash5858E-ntry40-d089116913090628ee380d10d10ba11b.o: No such file or directory gcc: error: Z-ip.o: No such file or directory gcc: error: Z-ip5858R-eader.o: No such file or directory gcc: error: Z-ip5858R-eader5858E-ntry.o: No such file or directory gcc: error: S-pec5858E-qualE--f3e05919608a8ccbaba0ba191d4a3373.o: No such file or directory gcc: error: 47home47mps47apor-cbc4ec40b539df5c6323791936a9ec1f.o: No such file or directory gcc: error: Z-lib.o: No such file or directory Error: execution of command failed with code: 1: `gcc "${@}" -o '/home/mps/aports/community/crystal/src/crystal-0.30.0/.build/all_spec' -Wl,--as-needed -rdynamic -lreadline -lgmp -lxml2 -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'` /home/mps/aports/community/crystal/src/crystal-0.30.0/src/llvm/ext/llvm_ext.o `/usr/bin/llvm-config --libs --system-libs --ldflags 2> /dev/null` -lstdc++ -lpcre -lm /usr/lib/libgc.a -lpthread /home/mps/aports/community/crystal/src/crystal-0.30.0/src/ext/libcrystal.a -levent -lrt -L/usr/lib -L/usr/local/lib` make: *** [Makefile:120: .build/all_spec] Error 1 >>> ERROR: crystal: check failed