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

Mac M1芯片编译报错 #8

Open
fismas opened this issue Aug 18, 2023 · 1 comment
Open

Mac M1芯片编译报错 #8

fismas opened this issue Aug 18, 2023 · 1 comment

Comments

@fismas
Copy link

fismas commented Aug 18, 2023

感谢提供。
我在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
_ZN4llvm18FlatteningEnhanced20DoFlatteningEnhancedEPNS_8FunctionEiS2 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
Copy link

我也是这个问题

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

No branches or pull requests

2 participants