I build gollvm on linux. Is gollvm depend on a fiexed version of llvm? what's the version? thx -- Retry after 5 seconds (attempt #3) ... /home/zyq/strength/gollvm/workarea/llvm-project/llvm/tools/gollvm/passes/GC.cpp:47:3: 错误:‘Optional’不是一个类型名 47 | Optional<bool> isGCManagedPointer(const Type *Ty) const override { | ^~~~~~~~ /home/zyq/strength/gollvm/workarea/llvm-project/llvm/tools/gollvm/passes/GC.cpp: 在函数‘void emitCallsiteEntries(llvm::StackMaps&, llvm::MCStreamer&)’中: /home/zyq/strength/gollvm/workarea/llvm-project/llvm/tools/gollvm/passes/GC.cpp:174:29: 错误:cannot convert ‘int’ to ‘llvm::Align’ 174 | OS.emitValueToAlignment(8); | ^ | | | int In file included from /home/zyq/strength/gollvm/workarea/llvm-project/llvm/tools/gollvm/passes/GC.cpp:25: /home/zyq/strength/gollvm/workarea/llvm-project/llvm/include/llvm/MC/MCStreamer.h:861:43: 附注: 初始化‘virtual void llvm::MCStreamer::emitValueToAlignment(llvm::Align, int64_t, unsigned int, unsigned int)’的实参 1 861 | virtual void emitValueToAlignment(Align Alignment, int64_t Value = 0, | ~~~~~~^~~~~~~~~ /home/zyq/strength/gollvm/workarea/llvm-project/llvm/tools/gollvm/passes/GC.cpp: 在成员函数‘virtual bool {anonymous}::GoGCPrinter::emitStackMaps(llvm::StackMaps&, llvm::AsmPrinter&)’中: /home/zyq/strength/gollvm/workarea/llvm-project/llvm/tools/gollvm/passes/GC.cpp:186:6: 错误:‘class llvm::MCStreamer’ has no member named ‘SwitchSection’; did you mean ‘switchSection’? 186 | OS.SwitchSection(StackMapSection); | ^~~~~~~~~~~~~ | switchSection /home/zyq/strength/gollvm/workarea/llvm-project/llvm/tools/gollvm/passes/GoStatepoints.cpp:1265:15: 错误:‘ArgMemOnly’不是‘llvm::Attribute’的成员 1265 | Attribute::ArgMemOnly, Attribute::InaccessibleMemOnly, | ^~~~~~~~~~ /home/zyq/strength/gollvm/workarea/llvm-project/llvm/tools/gollvm/passes/GoStatepoints.cpp:1265:38: 错误:‘InaccessibleMemOnly’不是‘llvm::Attribute’的成员 1265 | Attribute::ArgMemOnly, Attribute::InaccessibleMemOnly, | ^~~~~~~~~~~~~~~~~~~ /home/zyq/strength/gollvm/workarea/llvm-project/llvm/tools/gollvm/passes/GoStatepoints.cpp:1266:15: 错误:‘InaccessibleMemOrArgMemOnly’不是‘llvm::Attribute’的成员 1266 | Attribute::InaccessibleMemOrArgMemOnly, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/zyq/strength/gollvm/workarea/llvm-project/llvm/tools/gollvm/passes/GoStatepoints.cpp: 在函数‘void makeStatepointExplicitImpl(llvm::CallBase*, llvm::SmallVectorImpl<llvm::Value*>&, llvm::SmallVectorImpl<llvm::Value*>&, {anonymous}::PartiallyConstructedSafepointRecord&, std::vector<{anonymous}::DeferredReplacement>&)’中: /home/zyq/strength/gollvm/workarea/llvm-project/llvm/tools/gollvm/passes/GoStatepoints.cpp:1433:50: 错误:‘class llvm::PointerType’ has no member named ‘getElementType’; did you mean ‘getArrayElementType’? 1433 | Type *T = cast<PointerType>(V->getType())->getElementType(); | ^~~~~~~~~~~~~~ | getArrayElementType
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/2d6a3e36-ea7a-475e-9994-5ecf1d393021n%40googlegroups.com.