首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >尝试在m1 macbook上安装文件块/musl交叉/musl交叉

尝试在m1 macbook上安装文件块/musl交叉/musl交叉
EN

Stack Overflow用户
提问于 2021-05-10 08:21:49
回答 1查看 644关注 0票数 2

我试图通过brew安装文件/musl/musl/musl,在这个阶段面临一个错误:

代码语言:javascript
复制
==> /opt/homebrew/opt/make/bin/gmake install TARGET=x86_64-linux-musl
Last 15 lines from /Users/galshalom/Library/Logs/Homebrew/musl-cross/01.gmake:
  "_host_hooks", referenced from:
      gt_pch_save(__sFILE*) in libbackend.a(ggc-common.o)
      gt_pch_restore(__sFILE*) in libbackend.a(ggc-common.o)
      toplev::main(int, char**) in libbackend.a(toplev.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [../../src_gcc/gcc/lto/Make-lang.in:81: lto1] Error 1
gmake[3]: *** Waiting for unfinished jobs....
rm gcc.pod
gmake[3]: Leaving directory '/private/tmp/musl-cross-20210510-41370-xpfsk6/musl-cross-make-0.9.9/build/local/x86_64-linux-musl/obj_gcc/gcc'
gmake[2]: *** [Makefile:4361: all-gcc] Error 2
gmake[2]: Leaving directory '/private/tmp/musl-cross-20210510-41370-xpfsk6/musl-cross-make-0.9.9/build/local/x86_64-linux-musl/obj_gcc'
gmake[1]: *** [Makefile:222: obj_gcc/gcc/.lc_built] Error 2
gmake[1]: Leaving directory '/private/tmp/musl-cross-20210510-41370-xpfsk6/musl-cross-make-0.9.9/build/local/x86_64-linux-musl'
gmake: *** [Makefile:183: install] Error 2

在网上找不到合适的解决方案。

EN

回答 1

Stack Overflow用户

发布于 2022-01-17 18:38:20

brew编辑musl-十字

为gcc-10.3.0及以下版本修补程序do # Apple硅构建修复程序

url "https://github.com/richfelker/musl-cross-make/commit/3dd050fa.patch?full_index=1

sha256 "6ecb5d306b2307e058ec0538862bbddec9fcb7a1c4f9cae5c55d29fb39dc34d8“

结束

brew重新安装musl-十字

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67467106

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档