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

Mac客户端不支持M1芯片? #167

Open
liuzc opened this issue Jul 6, 2021 · 2 comments
Open

Mac客户端不支持M1芯片? #167

liuzc opened this issue Jul 6, 2021 · 2 comments

Comments

@liuzc
Copy link

liuzc commented Jul 6, 2021

OS:macOS Big Sur 11.4
芯片:Apple M1
客户端:client_darwin_amd64

运行连接命令后,状态依然是离线。

image

@ryomikasa
Copy link

OS:macOS Big Sur 11.4 芯片:Apple M1 客户端:client_darwin_amd64

运行连接命令后,状态依然是离线。

image


不是M1,非M1也不行。我试了三台mac,查看生产的output文件 【nohup.out】内容如下

fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0x129272c, 0x21)
/usr/local/go/src/runtime/panic.go:605 +0x95 fp=0x7ff7bfeff4b0 sp=0x7ff7bfeff490 pc=0x1029955
runtime.goenvs()
/usr/local/go/src/runtime/os_darwin.go:108 +0x83 fp=0x7ff7bfeff4e0 sp=0x7ff7bfeff4b0 pc=0x10271f3
runtime.schedinit()
/usr/local/go/src/runtime/proc.go:492 +0xa1 fp=0x7ff7bfeff520 sp=0x7ff7bfeff4e0 pc=0x102c331
runtime.rt0_go(0x7ff7bfeff550, 0x9, 0x7ff7bfeff550, 0x1000000, 0x9, 0x7ff7bfeff810, 0x7ff7bfeff826, 0x7ff7bfeff829, 0x7ff7bfeff838, 0x7ff7bfeff83b, ...)
/usr/local/go/src/runtime/asm_amd64.s:175 +0x1eb fp=0x7ff7bfeff528 sp=0x7ff7bfeff520 pc=0x1053ceb

--

查了一些相关的,据说是 【go 语言对macos 12.1以上的兼容性问题】。暂时没有找到解决方案。

当前在使用的其他方案
在使用的是花生壳盒子,两条免费映射已满。
自建的ngrok,也可用,但是ngrok每次restart 域名都会变。

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
@liuzc @ryomikasa and others