SsageParuders / SsagePass

LLVM PASS by SsageParuders.Port to llvm_14.06 with New PM.Support for Android-ndk-r25(LTS).
153 stars 39 forks source link

Mac M1芯片编译报错 #8

Open fismas opened 1 year ago

fismas commented 1 year ago

感谢提供。 我在mac(13.4.1 ) m1芯片的机器上尝试编译时报错了,错误信息如下: Undefined symbols for architecture arm64: "ZN4llvm10AllocaInstC1EPNS_4TypeEjPNS_5ValueENS_5AlignERKNS_5TwineEPNS_11InstructionE", referenced from: __ZN4llvm13IRBuilderBase12CreateAllocaEPNS_4TypeEPNS_5ValueERKNS_5TwineE in StringEncryption.cpp.o ZN4llvm13IRBuilderBase12CreateAllocaEPNS_4TypeEPNS_5ValueERKNS_5TwineE in IPObfuscationContext.cpp.o ZN4llvm13IRBuilderBase12CreateAllocaEPNS_4TypeEPNS_5ValueERKNS_5TwineE in MBAUtils.cpp.o __ZN4llvm13IRBuilderBase12CreateAllocaEPNS_4TypeEPNS_5ValueERKNS_5TwineE in FlatteningEnhanced.cpp.o "ZN4llvm10AllocaInstC1EPNS_4TypeEjRKNS_5TwineEPNS_10BasicBlockE", referenced from: ZN4llvm13VMFlattenPass9DoFlattenEPNS_8FunctionEi in VMFlatten.cpp.o "__ZN4llvm10AllocaInstC1EPNS_4TypeEjRKNS_5TwineEPNS_11InstructionE", referenced from: ZN4llvm14FlatteningPass7flattenERNS_8FunctionE in Flattening.cpp.o ZN4llvm18FlatteningEnhanced20DoFlatteningEnhancedEPNS8FunctionEiS2 in FlatteningEnhanced.cpp.o "ZN4llvm10BasicBlock10moveBeforeEPS0_", referenced from: __ZN4llvm14FlatteningPass7flattenERNS_8FunctionE in Flattening.cpp.o __ZN4llvm13VMFlattenPass9DoFlattenEPNS_8FunctionEi in VMFlatten.cpp.o ...... ...... ld: symbol(s) not found for architecture arm64 clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed.

BRAlNDead commented 2 months ago

我也是这个问题