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

MacOS X M1 segmentation fault #286

Open
akofer opened this issue Dec 30, 2022 · 0 comments
Open

MacOS X M1 segmentation fault #286

akofer opened this issue Dec 30, 2022 · 0 comments

Comments

@akofer
Copy link

akofer commented Dec 30, 2022

在 MacBook M1 上编译成功 (需要把 third_party 里的 boost.context 更新成最新的 boost1.81,之前是 2018 年的 boost, 那时候 Mac M1 芯片还没发布)。

但是执行 test/golang/test.sh 失败,单独运行 libgo_test 报段错误:
$ ./libgo_test
std::atomic.add 10000000 9 ns/op 11059 w/s
Segmentation fault: 11

用vscode调试截图:
image

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

1 participant