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

在Debian11.7 go1.22中无法编译出5.6.2版的ddns-go,5.6.0版能正常编译 #876

Closed
BA7JCM opened this issue Oct 9, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@BA7JCM
Copy link

BA7JCM commented Oct 9, 2023

问题描述

我使用定时任务,定时拉取源码并编译出新的成品来实现ddns-go的自动更新,最近发现这个自动更新失效了,手动编译最新版发现报错

root@hostname:~/ddns-go# make build
# internal/bytealg
asm: asmins: missing op 00047 (<unknown line number>)	PCALIGN	$16
asm: asmins: missing op 00272 (<unknown line number>)	PCALIGN	$32
asm: assembly failed
make: *** [Makefile:18:build] 错误 1
root@hostname:~/ddns-go# go version
go version devel go1.22-f51c55bfc3 Thu Jul 20 15:45:57 2023 +0000 linux/amd64

一开始用的是go1.17,以为是版本低了,然后我就更新到go1.22,重新尝试编译,还是这个报错,不知道是啥原因,系统是Debian11.7

DNS服务商

No response

是否已搜索同类问题

已搜索,但未能解决

操作系统

Linux

架构

x86_64

版本

5.6.2

安装方式

其它

额外信息

No response

@BA7JCM BA7JCM added the bug Something isn't working label Oct 9, 2023
@BA7JCM BA7JCM changed the title 无法编译出5.6.2版的ddns-go,5.6.0版能正常编译 在Debian11.7 go1.22中无法编译出5.6.2版的ddns-go,5.6.0版能正常编译 Oct 9, 2023
@jeessy2
Copy link
Owner

jeessy2 commented Oct 9, 2023

5.6.0后支持./ddns-go -u自动更新到最新版。
golang版本使用1.20试试

@jeessy2 jeessy2 closed this as completed Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants