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

docker 多平台下 armv7无法完成编译 #207

Open
YahuiWong opened this issue Oct 23, 2024 · 1 comment
Open

docker 多平台下 armv7无法完成编译 #207

YahuiWong opened this issue Oct 23, 2024 · 1 comment

Comments

@YahuiWong
Copy link

YahuiWong commented Oct 23, 2024

linux/arm下使用命令:
zig build -Dtarget=arm-linux-musleabi -Dcpu=generic+v7a
返回

11.05 thread 14 panic: TODO implement bigint to llvm int for 32-bit compiler builds
11.05 Unable to dump stack trace: debug info stripped
12.75 Aborted (core dumped)

但是在 linux/arm64 下 使用 zig build -Dtarget=aarch64-linux-musl 可以完成构建

代码地址:https://github.com/YahuiWong/chinadns-ng.git

@zfl9
Copy link
Owner

zfl9 commented Oct 23, 2024

不建议自己编译,因为 zig 0.10.1 基本只在 x86_64 上能稳定运行。除非你改了 chinadns 源码,否则自己编译毫无意义。

直接到 release 页面 wget 下载,不是更简单吗。

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