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

Segfault on Apple Silicon #21

Open
crdant opened this issue Jan 17, 2021 · 2 comments
Open

Segfault on Apple Silicon #21

crdant opened this issue Jan 17, 2021 · 2 comments

Comments

@crdant
Copy link

crdant commented Jan 17, 2021

Hi there - I'm getting a segfault on Apple Silicon with the latest release of cred-alert-cli. I get it regardless of whether I run the command bare or by explicitly setting the architecture using arch --x86_64 cred-alert-cli.

Not sure what other information to provide, so here's the output of uname -v

Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:10 PDT 2020; root:xnu-7195.50.7~2/RELEASE_ARM64_T8101
@cf-gitbot
Copy link
Member

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

@jsampson1
Copy link
Contributor

Our team doesn't have any Apple Silicon machines yet, so we're not going to be able to reproduce or fix this ourselves. Theoretically it should just work, because macOS will run Intel binaries through a translator. The main debugging step would be to see if you can determine where in the code the segfault is happening.

As seen in compile-darwin-cli.yml, we simply set GOOS=darwin when compiling. According to the Go 1.16 release notes, Apple Silicon will be supported by combining GOOS=darwin with GOARCH=arm64 when 1.16 comes out next month. An official build will not be a high priority for us, but you are welcome to try compiling it yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants