V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
Loneyer
V2EX  ›  Go 编程语言

mac m1 go build 编译出错

  •  
  •   Loneyer · 2022-06-09 09:35:11 +08:00 · 2162 次点击
    这是一个创建于 695 天前的主题,其中的信息可能已经有所发展或是发生改变。

    系统:macOS Ventura 13.0 beta

    ld: unaligned pointer(s) for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

    7 条回复    2022-06-09 15:43:26 +08:00
    playtomandjerry
        1
    playtomandjerry  
       2022-06-09 09:52:51 +08:00   ❤️ 1
    你升级到最新 bata 版系统,不报各种奇怪问题才怪了
    betainCao
        2
    betainCao  
       2022-06-09 10:24:19 +08:00
    公司专门发了邮件,提醒大家不要升级。说是很多问题
    janxin
        3
    janxin  
       2022-06-09 10:25:26 +08:00
    不一定编译环境适配了的
    cctv1005s927
        4
    cctv1005s927  
       2022-06-09 10:42:05 +08:00
    试试加一下 -v 拿到更多的日志看看是什么问题?
    Qetesh
        5
    Qetesh  
       2022-06-09 11:34:50 +08:00
    同样的问题,OP 解决了吗
    alexmy
        6
    alexmy  
       2022-06-09 14:35:23 +08:00
    开发主力机还是不要升级那么快吧,何况是 beta 。有时候真会有莫名其妙的问题。

    12.4 保平安。
    MeetTheFuture
        7
    MeetTheFuture  
       2022-06-09 15:43:26 +08:00
    等待兼容吧
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2471 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 15:02 · PVG 23:02 · LAX 08:02 · JFK 11:02
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.