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

缺乏对ARM架构的支持 #637

Open
JefferyDon opened this issue Mar 22, 2024 · 2 comments
Open

缺乏对ARM架构的支持 #637

JefferyDon opened this issue Mar 22, 2024 · 2 comments

Comments

@JefferyDon
Copy link

描述
通过下面两种方式在arm架构下运行goinception是异常的。

  • 二进制包:运行时会提示:cannot execute binary file: Exec format error
  • 源码编译:编译过程中,会有下面的两个问题:
    • build过程中提示go.sum里面指定的包检验和与实际下载下来的包检验和不匹配,这个需要删掉go.sum后重新go mod tidy
    • github.com/remyoudompheng/bigfft包代码层报错的问题,这个需要手动更新一下包版本

重现

  • 二进制包可执行文件运行异常:
image
  • 源码编译时的问题:
image image

环境

  • OS:Debian GNU/Linux 12 (bookworm)
  • Kernel: Linux 6.1.0-17-arm64
  • Go Version: go1.21.8 linux/arm64

参数

@druggo
Copy link

druggo commented Apr 11, 2024

可以试试master分支,可以构建成功

@hanchuanchuan
Copy link
Owner

该原因应试是gh-ost的代码引入了不支持ARM架构的日志包. 可以移除go-gst模块后重试.

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

3 participants