Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI fails for newest nightly docker image #171

Closed
BlobCodes opened this issue Nov 30, 2021 · 3 comments · Fixed by crystal-lang/crystal#11513
Closed

CI fails for newest nightly docker image #171

BlobCodes opened this issue Nov 30, 2021 · 3 comments · Fixed by crystal-lang/crystal#11513

Comments

@BlobCodes
Copy link

BlobCodes commented Nov 30, 2021

The newest nightly docker image of crystallang/crystal seems to have an issue.
My CI currently fails with the error message Could not execute 'crystal': Error executing process: 'crystal': No such file or directory.

Trying this on my local machine gives the following output:

[blobcodes@david-pc ~]$ podman run crystallang/crystal:nightly shards --version
Shards 0.16.0 [ff94dd2] (2021-10-06)

[blobcodes@david-pc ~]$ podman run crystallang/crystal:nightly crystal --version
{"msg":"exec container process (missing dynamic library?) `/usr/bin/crystal`: No such file or directory","level":"error","time":"2021-11-30T10:29:58.000185975Z"}

[blobcodes@david-pc ~]$ podman run crystallang/crystal:nightly nonexistent --version
Error: executable file `nonexistent` not found in $PATH: No such file or directory: OCI runtime attempted to invoke a command that was not found

So there seems to be a crystal binary, but some library seems to be missing.

@BlobCodes BlobCodes changed the title CI fails for newest nightly docker image (cannot find crystal executable) CI fails for newest nightly docker image Nov 30, 2021
@BlobCodes
Copy link
Author

BlobCodes commented Nov 30, 2021

Also, the nightly-alpine version is borked too.
Even if I try to use crystal format, it complains about missing symbols. (mainly libLLVM-10.so missing)

Error log
[blobcodes@david-pc ~]$ podman run crystallang/crystal:nightly-alpine crystal format  
Error loading shared library libLLVM-10.so: No such file or directory (needed by /usr/bin/crystal)  
Error relocating /usr/bin/crystal: LLVMBuildUDiv: symbol not found  
Error relocating /usr/bin/crystal:   _ZN4llvm9DIBuilder16createMemberTypeEPNS_7DIScopeENS_9StringRefEPNS_6DIFileEjmjmNS_6DINode7DIFlagsEPNS_6DITypeE: symbol not found  
Error relocating /usr/bin/crystal: LLVMBuildLandingPad: symbol not found  
Error relocating /usr/bin/crystal: LLVMInt16TypeInContext: symbol not found  
Error relocating /usr/bin/crystal: LLVMConstInt: symbol not found  
Error relocating /usr/bin/crystal: LLVMBuildRet: symbol not found  
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder8finalizeEv: symbol not found  
Error relocating /usr/bin/crystal: LLVMAddCallSiteAttribute: symbol not found  
Error relocating /usr/bin/crystal: LLVMBuildLoad: symbol not found  
Error relocating /usr/bin/crystal: LLVMTypeOf: symbol not found  
Error relocating /usr/bin/crystal: LLVMPassManagerBuilderSetOptLevel: symbol not found  
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder17createPointerTypeEPNS_6DITypeEmjNS_8OptionalIjEENS_9StringRefE: symbol not found  
Error relocating /usr/bin/crystal: LLVMInt64TypeInContext: symbol not found  
Error relocating /usr/bin/crystal: LLVMConstPointerNull: symbol not found  
Error relocating /usr/bin/crystal: LLVMDisposeMemoryBuffer: symbol not found  
Error relocating /usr/bin/crystal: LLVMSetFunctionCallConv: symbol not found  
Error relocating /usr/bin/crystal: LLVMInt1TypeInContext: symbol not found  
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder15createBasicTypeENS_9StringRefEmjNS_6DINode7DIFlagsE: symbol not found  
Error relocating /usr/bin/crystal: LLVMSetValueName: symbol not found  
Error relocating /usr/bin/crystal: LLVMGetModuleContext: symbol not found  
Error relocating /usr/bin/crystal: _ZN4llvm8CallInst4initEPNS_12FunctionTypeEPNS_5ValueENS_8ArrayRefIS4_EENS5_INS_17OperandBundleDefTIS4_EEEERKNS_5TwineE: symbol not found  
Error relocating /usr/bin/crystal: LLVMGetVectorSize: symbol not found  
Error relocating /usr/bin/crystal: LLVMBuildAdd: symbol not found  
Error relocating /usr/bin/crystal: _ZN4llvm13EngineBuilder12selectTargetEv: symbol not found  
Error relocating /usr/bin/crystal: LLVMAddFunction: symbol not found  
Error relocating /usr/bin/crystal: _ZN4llvm13EngineBuilderD1Ev: symbol not found  
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilderC1ERNS_6ModuleEbPNS_13DICompileUnitE: symbol not found  
Error relocating /usr/bin/crystal: _ZN4llvm15CatchSwitchInst10addHandlerEPNS_10BasicBlockE: symbol not found  
Error relocating /usr/bin/crystal: _ZN4llvm16MetadataTracking5trackEPvRNS_8MetadataENS_12PointerUnionIJPNS_15MetadataAsValueEPS2_EEE: symbol not found
Error relocating /usr/bin/crystal: LLVMCreateFunctionPassManagerForModule: symbol not found
Error relocating /usr/bin/crystal: LLVMIsPackedStruct: symbol not found
Error relocating /usr/bin/crystal: LLVMFunctionType: symbol not found
Error relocating /usr/bin/crystal: LLVMGetCurrentDebugLocation: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder18createAutoVariableEPNS_7DIScopeENS_9StringRefEPNS_6DIFileEjPNS_6DITypeEbNS_6DINode7DIFlagsEj: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeARMTargetInfo: symbol not found
Error relocating /usr/bin/crystal: LLVMGetStructName: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm8DebugLoc3getEjjPKNS_6MDNodeES3_b: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildSDiv: symbol not found
Error relocating /usr/bin/crystal: LLVMGetBufferSize: symbol not found
Error relocating /usr/bin/crystal: LLVMSetVolatile: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildShl: symbol not found
Error relocating /usr/bin/crystal: LLVMGetParams: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm7MDTuple7getImplERNS_11LLVMContextENS_8ArrayRefIPNS_8MetadataEEENS4_11StorageTypeEb: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder16getOrCreateArrayENS_8ArrayRefIPNS_8MetadataEEE: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildNot: symbol not found
Error relocating /usr/bin/crystal: LLVMGetReturnType: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm14raw_fd_ostreamC1ENS_9StringRefERSt10error_codeNS_3sys2fs9OpenFlagsE: symbol not found
Error relocating /usr/bin/crystal: LLVMContextDispose: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildURem: symbol not found
Error relocating /usr/bin/crystal: LLVMGetEnumAttributeKindForName: symbol not found
Error relocating /usr/bin/crystal: LLVMGetTargetFromTriple: symbol not found
Error relocating /usr/bin/crystal: LLVMGetNextFunction: symbol not found
Error relocating /usr/bin/crystal: LLVMConstInlineAsm: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm23buildModuleSummaryIndexERKNS_6ModuleESt8functionIFPNS_18BlockFrequencyInfoERKNS_8FunctionEEEPNS_18ProfileSummaryInfoE: symbol not found
Error relocating /usr/bin/crystal: LLVMAddCase: symbol not found
Error relocating /usr/bin/crystal: LLVMPassManagerBuilderUseInlinerWithThreshold: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildTrunc: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeInstrumentation: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildGlobalStringPtr: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder21createEnumerationTypeEPNS_7DIScopeENS_9StringRefEPNS_6DIFileEjmjNS_24MDTupleTypedArrayWrapperINS_6DINodeEEEPNS_6DITypeES3_b: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm6MDNode22replaceWithUniquedImplEv: symbol not found
Error relocating /usr/bin/crystal: LLVMAppendBasicBlockInContext: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeIPO: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm14raw_fd_ostreamD1Ev: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder20getOrCreateTypeArrayENS_8ArrayRefIPNS_8MetadataEEE: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeIPA: symbol not found
Error relocating /usr/bin/crystal: LLVMCountParamTypes: symbol not found
Error relocating /usr/bin/crystal: LLVMGetDefaultTargetTriple: symbol not found
Error relocating /usr/bin/crystal: LLVMRunFunctionPassManager: symbol not found
Error relocating /usr/bin/crystal: LLVMDisposeMessage: symbol not found
Error relocating /usr/bin/crystal: LLVMGetFirstInstruction: symbol not found
Error relocating /usr/bin/crystal: LLVMAddIncoming: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm14FuncletPadInstC2ENS_11Instruction13FuncletPadOpsEPNS_5ValueENS_8ArrayRefIS4_EEjRKNS_5TwineEPS1_: symbol not found
Error relocating /usr/bin/crystal: _ZNK4llvm13AttributeList12addAttributeERNS_11LLVMContextEjNS_9Attribute8AttrKindE: symbol not found
Error relocating /usr/bin/crystal: LLVMVectorType: symbol not found
Error relocating /usr/bin/crystal: LLVMGetParam: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildCondBr: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeFunctionPassManager: symbol not found
Error relocating /usr/bin/crystal: LLVMMDNodeInContext: symbol not found
Error relocating /usr/bin/crystal: LLVMAddAttributeAtIndex: symbol not found
Error relocating /usr/bin/crystal: LLVMStructTypeInContext: symbol not found
Error relocating /usr/bin/crystal: LLVMConstStringInContext: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeX86TargetMC: symbol not found
Error relocating /usr/bin/crystal: LLVMInt32TypeInContext: symbol not found
Error relocating /usr/bin/crystal: LLVMGetModuleIdentifier: symbol not found
Error relocating /usr/bin/crystal: LLVMWriteBitcodeToMemoryBuffer: symbol not found
Error relocating /usr/bin/crystal: _ZNK4llvm13AttributeList12addAttributeERNS_11LLVMContextEjNS_9StringRefES3_: symbol not found
Error relocating /usr/bin/crystal: LLVMSetPersonalityFn: symbol not found
Error relocating /usr/bin/crystal: LLVMGetNamedGlobal: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder16createExpressionENS_8ArrayRefIlEE: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm8Function13setSubprogramEPNS_12DISubprogramE: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9Attribute3getERNS_11LLVMContextENS0_8AttrKindEm: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildAShr: symbol not found
Error relocating /usr/bin/crystal: LLVMSetTarget: symbol not found
Error relocating /usr/bin/crystal: LLVMPrintValueToString: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeTarget: symbol not found
Error relocating /usr/bin/crystal: LLVMSetInitializer: symbol not found
Error relocating /usr/bin/crystal: LLVMMDStringInContext: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm6Triple9normalizeB5cxx11ENS_9StringRefE: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildIntToPtr: symbol not found
Error relocating /usr/bin/crystal: LLVMRunPassManager: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm13EngineBuilder21setMCJITMemoryManagerESt10unique_ptrINS_19RTDyldMemoryManagerESt14default_deleteIS2_EE: symbol not found
Error relocating /usr/bin/crystal: LLVMGetIntTypeWidth: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder15createUnionTypeEPNS_7DIScopeENS_9StringRefEPNS_6DIFileEjmjNS_6DINode7DIFlagsENS_24MDTupleTypedArrayWrapperIS6_EEjS3_: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder16createStructTypeEPNS_7DIScopeENS_9StringRefEPNS_6DIFileEjmjNS_6DINode7DIFlagsEPNS_6DITypeENS_24MDTupleTypedArrayWrapperIS6_EEjS9_S3_: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeX86TargetInfo: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildXor: symbol not found
Error relocating /usr/bin/crystal: LLVMGetTypeKind: symbol not found
Error relocating /usr/bin/crystal: _ZNK4llvm5Value7getNameEv: symbol not found
Error relocating /usr/bin/crystal: LLVMSetInstrParamAlignment: symbol not found
Error relocating /usr/bin/crystal: LLVMCreatePassManager: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeCodeGen: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildFMul: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm13EngineBuilderC1ESt10unique_ptrINS_6ModuleESt14default_deleteIS2_EE: symbol not found
Error relocating /usr/bin/crystal: LLVMLinkInMCJIT: symbol not found
Error relocating /usr/bin/crystal: LLVMSetAlignment: symbol not found
Error relocating /usr/bin/crystal: LLVMABIAlignmentOfType: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildFence: symbol not found
Error relocating /usr/bin/crystal: LLVMGetBufferStart: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeObjCARCOpts: symbol not found
Error relocating /usr/bin/crystal: LLVMGetElementType: symbol not found
Error relocating /usr/bin/crystal: LLVMDisposeTargetMachine: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeX86AsmParser: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm4Type10getTokenTyERNS_11LLVMContextE: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm16MetadataTracking7untrackEPvRNS_8MetadataE: symbol not found
Error relocating /usr/bin/crystal: LLVMTargetMachineEmitToFile: symbol not found
Error relocating /usr/bin/crystal: LLVMPrintTypeToString: symbol not found
Error relocating /usr/bin/crystal: LLVMConstArray: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeARMAsmPrinter: symbol not found
Error relocating /usr/bin/crystal: LLVMPositionBuilderAtEnd: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm6MDNode15deleteTemporaryEPS0_: symbol not found
Error relocating /usr/bin/crystal: LLVMGetGlobalParent: symbol not found
Error relocating /usr/bin/crystal: LLVMPassManagerBuilderSetSizeLevel: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder20createSubroutineTypeENS_14DITypeRefArrayENS_6DINode7DIFlagsEj: symbol not found
Error relocating /usr/bin/crystal: LLVMPassManagerBuilderPopulateFunctionPassManager: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeAArch64TargetMC: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildSub: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm8Constant12getNullValueEPNS_4TypeE: symbol not found
Error relocating /usr/bin/crystal: LLVMPassManagerBuilderPopulateModulePassManager: symbol not found
Error relocating /usr/bin/crystal: LLVMModuleCreateWithNameInContext: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeARMTarget: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildAtomicRMW: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm11Instruction11setMetadataEjPNS_6MDNodeE: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder23createParameterVariableEPNS_7DIScopeENS_9StringRefEjPNS_6DIFileEjPNS_6DITypeEbNS_6DINode7DIFlagsE: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm11Instruction16setFastMathFlagsENS_13FastMathFlagsE: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildBitCast: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm8DebugLocC1EPKNS_6MDNodeE: symbol not found
Error relocating /usr/bin/crystal: LLVMAddClause: symbol not found
Error relocating /usr/bin/crystal: _ZNK4llvm8DebugLoc3getEv: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildFDiv: symbol not found
Error relocating /usr/bin/crystal: _ZNK4llvm13AttributeList12hasAttributeEjNS_9Attribute8AttrKindE: symbol not found
Error relocating /usr/bin/crystal: LLVMIsFunctionVarArg: symbol not found
Error relocating /usr/bin/crystal: LLVMSetInstructionCallConv: symbol not found
Error relocating /usr/bin/crystal: LLVMConstRealOfString: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm6ModuleD1Ev: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildMul: symbol not found
Error relocating /usr/bin/crystal: LLVMGetInitializer: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeARMTargetMC: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeAArch64TargetInfo: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder10createFileENS_9StringRefES1_NS_8OptionalINS_6DIFile12ChecksumInfoIS1_EEEENS2_IS1_EE: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm17AtomicCmpXchgInstC1EPNS_5ValueES2_S2_NS_14AtomicOrderingES3_hPNS_11InstructionE: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm10InvokeInst4initEPNS_12FunctionTypeEPNS_5ValueEPNS_10BasicBlockES6_NS_8ArrayRefIS4_EENS7_INS_17OperandBundleDefTIS4_EEEERKNS_5TwineE: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeScalarOpts: symbol not found
Error relocating /usr/bin/crystal: LLVMGetStructElementTypes: symbol not found
Error relocating /usr/bin/crystal: LLVMDeleteBasicBlock: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm15CatchSwitchInstC1EPNS_5ValueEPNS_10BasicBlockEjRKNS_5TwineEPNS_11InstructionE: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm15MCTargetOptionsC1Ev: symbol not found
Error relocating /usr/bin/crystal: LLVMStructCreateNamed: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildFPToSI: symbol not found
Error relocating /usr/bin/crystal: LLVMCountStructElementTypes: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeAArch64Target: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeAnalysis: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder14createFunctionEPNS_7DIScopeENS_9StringRefES3_PNS_6DIFileEjPNS_16DISubroutineTypeEjNS_6DINode7DIFlagsENS_12DISubprogram9DISPFlagsENS_24MDTupleTypedArrayWrapperINS_19DITemplateParameterEEEPSA_NSC_INS_6DITypeEEE: symbol not found
Error relocating /usr/bin/crystal: LLVMSizeOfTypeInBits: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder16createEnumeratorENS_9StringRefElb: symbol not found
Error relocating /usr/bin/crystal: LLVMABISizeOfType: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeInstCombine: symbol not found
Error relocating /usr/bin/crystal: LLVMConstIntOfArbitraryPrecision: symbol not found
Error relocating /usr/bin/crystal: LLVMStructSetBody: symbol not found
Error relocating /usr/bin/crystal: LLVMPrintModuleToFile: symbol not found
Error relocating /usr/bin/crystal: LLVMCreateBuilderInContext: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeX86Target: symbol not found
Error relocating /usr/bin/crystal: LLVMGetGlobalPassRegistry: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeAArch64AsmPrinter: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm4UsernwEmj: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder30createReplaceableCompositeTypeEjNS_9StringRefEPNS_7DIScopeEPNS_6DIFileEjjmjNS_6DINode7DIFlagsES1_: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm18WriteBitcodeToFileERKNS_6ModuleERNS_11raw_ostreamEbPKNS_18ModuleSummaryIndexEbPSt5arrayIjLm5EE: symbol not found
Error relocating /usr/bin/crystal: LLVMContextCreate: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeTransformUtils: symbol not found
Error relocating /usr/bin/crystal: LLVMDumpModule: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildSRem: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildBr: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm11InstructionC2EPNS_4TypeEjPNS_3UseEjPS0_: symbol not found
Error relocating /usr/bin/crystal: LLVMGetEnumAttributeAtIndex: symbol not found
Error relocating /usr/bin/crystal: LLVMGetFirstBasicBlock: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildVAArg: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildStore: symbol not found
Error relocating /usr/bin/crystal: LLVMAddNamedMetadataOperand: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildUnreachable: symbol not found
Error relocating /usr/bin/crystal: LLVMSetLinkage: symbol not found
Error relocating /usr/bin/crystal: LLVMDisposePassManager: symbol not found
Error relocating /usr/bin/crystal: LLVMGetInsertBlock: symbol not found
Error relocating /usr/bin/crystal: LLVMIntTypeInContext: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm4User13getDescriptorEv: symbol not found
Error relocating /usr/bin/crystal: LLVMCreateTargetMachine: symbol not found
Error relocating /usr/bin/crystal: LLVMFinalizeFunctionPassManager: symbol not found
Error relocating /usr/bin/crystal: LLVMGetTargetMachineTriple: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm15CatchReturnInstC1EPNS_5ValueEPNS_10BasicBlockEPNS_11InstructionE: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildFPTrunc: symbol not found
Error relocating /usr/bin/crystal: LLVMSizeOf: symbol not found
Error relocating /usr/bin/crystal: LLVMPointerType: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildLShr: symbol not found
Error relocating /usr/bin/crystal: LLVMSetModuleDataLayout: symbol not found
Error relocating /usr/bin/crystal: LLVMVoidTypeInContext: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder21createUnspecifiedTypeENS_9StringRefE: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm5Value7setNameERKNS_5TwineE: symbol not found
Error relocating /usr/bin/crystal: LLVMGetFirstFunction: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildUIToFP: symbol not found
Error relocating /usr/bin/crystal: _ZNK4llvm5Value10getContextEv: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildICmp: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildExactSDiv: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildAnd: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildSExt: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildSwitch: symbol not found
Error relocating /usr/bin/crystal: LLVMConstNull: symbol not found
Error relocating /usr/bin/crystal: LLVMConstIntGetSExtValue: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildFSub: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildFCmp: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildPtrToInt: symbol not found
Error relocating /usr/bin/crystal: LLVMGetValueName: symbol not found
Error relocating /usr/bin/crystal: LLVMIsConstant: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeVectorization: symbol not found
Error relocating /usr/bin/crystal: LLVMDisposeBuilder: symbol not found
Error relocating /usr/bin/crystal: LLVMConstStructInContext: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildRetVoid: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeCore: symbol not found
Error relocating /usr/bin/crystal: LLVMGetArrayLength: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildAlloca: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder15createArrayTypeEmjPNS_6DITypeENS_24MDTupleTypedArrayWrapperINS_6DINodeEEE: symbol not found
Error relocating /usr/bin/crystal: LLVMFloatTypeInContext: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder13insertDeclareEPNS_5ValueEPNS_15DILocalVariableEPNS_12DIExpressionEPKNS_10DILocationEPNS_10BasicBlockE: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildPhi: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildFPExt: symbol not found
Error relocating /usr/bin/crystal: LLVMConstReal: symbol not found
Error relocating /usr/bin/crystal: LLVMDeleteFunction: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildInBoundsGEP: symbol not found
Error relocating /usr/bin/crystal: LLVMGetNextBasicBlock: symbol not found
Error relocating /usr/bin/crystal: LLVMAddGlobal: symbol not found
Error relocating /usr/bin/crystal: LLVMCreateTargetDataLayout: symbol not found
Error relocating /usr/bin/crystal: LLVMCreateEnumAttribute: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm4UsernwEmjj: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildSelect: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm23ReplaceableMetadataImpl18replaceAllUsesWithEPNS_8MetadataE: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeX86AsmPrinter: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm4UsernwEm: symbol not found
Error relocating /usr/bin/crystal: LLVMSetGlobalConstant: symbol not found
Error relocating /usr/bin/crystal: LLVMInt8TypeInContext: symbol not found
Error relocating /usr/bin/crystal: LLVMGetTypeContext: symbol not found
Error relocating /usr/bin/crystal: LLVMSetCleanup: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildOr: symbol not found
Error relocating /usr/bin/crystal: LLVMPassManagerBuilderDispose: symbol not found
Error relocating /usr/bin/crystal: LLVMSetThreadLocal: symbol not found
Error relocating /usr/bin/crystal: LLVMPassManagerBuilderCreate: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildSIToFP: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildFPToUI: symbol not found
Error relocating /usr/bin/crystal: LLVMVerifyModule: symbol not found
Error relocating /usr/bin/crystal: LLVMArrayType: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeMCJITCompilerOptions: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm21SymbolTableListTraitsINS_11InstructionEE13addNodeToListEPS1_: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder17createCompileUnitEjPNS_6DIFileENS_9StringRefEbS3_jS3_NS_13DICompileUnit17DebugEmissionKindEmbbNS4_18DebugNameTableKindEb: symbol not found
Error relocating /usr/bin/crystal: LLVMOffsetOfElement: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm13EngineBuilder6createEPNS_13TargetMachineE: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeARMAsmParser: symbol not found
Error relocating /usr/bin/crystal: LLVMInt128TypeInContext: symbol not found
Error relocating /usr/bin/crystal: LLVMAddTargetDependentFunctionAttr: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildFAdd: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildExtractValue: symbol not found
Error relocating /usr/bin/crystal: LLVMDoubleTypeInContext: symbol not found
Error relocating /usr/bin/crystal: LLVMBuildZExt: symbol not found
Error relocating /usr/bin/crystal: LLVMGetParamTypes: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder22createLexicalBlockFileEPNS_7DIScopeEPNS_6DIFileEj: symbol not found
Error relocating /usr/bin/crystal: LLVMGetNamedFunction: symbol not found
Error relocating /usr/bin/crystal: LLVMInitializeAArch64AsmParser: symbol not found
Error relocating /usr/bin/crystal: _ZNK4llvm8CallBase25hasFnAttrOnCalledFunctionENS_9Attribute8AttrKindE: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder19getOrCreateSubrangeEll: symbol not found
Error relocating /usr/bin/crystal: _ZNK4llvm8Function10getContextEv: symbol not found
Error relocating /usr/bin/crystal: LLVMGetLastEnumAttributeKind: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm9DIBuilder18createLexicalBlockEPNS_7DIScopeEPNS_6DIFileEjj: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm16MetadataTracking7retrackEPvRNS_8MetadataES1_: symbol not found
Error relocating /usr/bin/crystal: _ZN4llvm24DisableABIBreakingChecksE: symbol not found

@straight-shoota
Copy link
Member

Looks like the crystal binary is not statically linked as it's supposed to. There is a check that's supposed to ensure that, but for some reason it didn't trigger.

@straight-shoota
Copy link
Member

The cause is crystal-lang/crystal#11454 which makes the make install command rebuild the compiler despite being built previously because of the LLVM_CONFIG dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants