zfl9 / chinadns-ng

chinadns 重构增强版,支持域名分流、ipset/nftset、UDP/TCP/DoT
GNU Affero General Public License v3.0
1.1k stars 184 forks source link

release中没有mips64架构的版本 #188

Closed airlychee closed 2 months ago

airlychee commented 2 months ago

可否帮忙编译一个,不胜感激!

zfl9 commented 2 months ago

先试试mips的能不能用?

airlychee commented 2 months ago

2024-08-02 20:19:29 I [main.zig:152 main] local listen addr: 0.0.0.0#53 2024-08-02 20:19:29 I [groups.zig:123 on_start] tag:chn upstream: tcpi://114.114.114.114 2024-08-02 20:19:29 I [groups.zig:123 on_start] tag:chn upstream: udpi://114.114.114.114 2024-08-02 20:19:29 I [groups.zig:123 on_start] tag:chn add ip to: chnroute,null 2024-08-02 20:19:29 I [groups.zig:123 on_start] tag:gfw upstream: tcp://8.8.8.8 Segmentation fault

只要加入任何配置就会显示Segmentation fault 直接运行没问题

是不是不兼容?

zfl9 commented 2 months ago

估计是,我琢磨下如何编译 mips64(主要是 zig 0.10.1 有个文件缺少 mips64 支持)

发一下 mips64 上的 uname -a 信息?另外你下载的是那个 release 文件(文件名发一下)。

airlychee commented 2 months ago

uname -a Linux USG-3P 3.10.107-UBNT #1 SMP Thu Jan 12 08:28:15 UTC 2023 mips64 GNU/Linux

之前下载的是 chinadns-ng+wolfssl@mips-linux-musl@mips32@fast+lto

感谢

2.0以前的版本用了一年多了,非常稳定

zfl9 commented 2 months ago

@airlychee 你需要 tls 上游吗?普通版本我已经构建成功了,但是 wolfssl 构建失败。

wolfssl 也构建成功了,待会我上传到 release 页面。

airlychee commented 2 months ago

就是为了tls才想起来更新的…感谢大佬

zfl9 commented 2 months ago

你的 mips64 机器是否有 硬浮点?

zfl9 commented 2 months ago

上传了 release 页面(硬浮点版本的),下载试试。

软浮点的也上传了。

airlychee commented 2 months ago

非常感谢,我先测试一下,我也不知道我的机器有没有硬浮点

airlychee commented 2 months ago

经测试,硬浮点、软浮点均可正常运行

zfl9 commented 2 months ago

OK,感谢测试。