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 mockgen terminated by signal SIGKILL when built with swiftlang-6.0.0.3.300 clang-1600.0.20.10 toolchain #185

Open
samdeane opened this issue Jun 19, 2024 · 1 comment

Comments

@samdeane
Copy link

Actual behavior

bash-3.2$ go install go.uber.org/mock/[email protected]
bash-3.2$ mockgen --version
Killed: 9

Expected behavior

bash-3.2$ go install go.uber.org/mock/[email protected]
bash-3.2$ mockgen --version
v0.3.0

To Reproduce

Installing mockgen on macOS using go install go.uber.org/mock/[email protected], with the swift/clang toolchain set to the one that ships with Xcode 16.0.0-Beta (swift-driver version: 1.109.2 Apple Swift version 6.0 (swiftlang-6.0.0.3.300 clang-1600.0.20.10)) results in an executable that is killed when executed.

Switching back to the Xcode 15.4 toolchain (swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)), and re-installing mockgen, is sufficient to fix it.

Additional Information

go version go1.21.4 darwin/arm64

Triage Notes for the Maintainers

@samdeane
Copy link
Author

I realise that this is likely a toolchain issue outside of your control. The main purpose of this report is as a breadcrumb for anyone else seeing the same behaviour!

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