agiledragon / agiledragon/gomonkey

gomonkey tests failing on Mac M3 (arm64) with Go 1.21

オープン
#169 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
2.3k
フォーク
192
平均マージ
1日 6時間
マージ済み PR(30日)
1

説明

Description:
1. Environment:
* Machine: Mac with M3 chip
* Architecture: arm64
* Go version: 1.21
2. Initial problem:
* I cloned the gomonkey repository to my Mac.
* When running the test functions in the test package, many tests failed.
* The reason provided was "inline".
* image
3. Attempted solution:
* I set the compiler flag "-gcflags=all=-l" to disable inlining.
* image
4. New problem after applying the solution:
* The tests now panic with the following error: "[signal SIGBUS: bus error code=0x1 addr=0x100c981c8 pc=0x100c981c8]"
* image
5. Question: Has anyone encountered a similar issue when running gomonkey tests on an ARM-based Mac? If so, were you able to resolve it? Any suggestions or solutions would be greatly appreciated.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。