-
Notifications
You must be signed in to change notification settings - Fork 138
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
SG crashes on launch, built on macOS 10.12.4 / Xcode 8.3 #2417
Comments
macOS 10.12.1, golang 1.8, xcode 8.1, I just upgraded to golang 1.8. SG 1.4 compiles and runs without error. |
I tried on macOS 10.12.3, xcode 8.2.1, golang 1.8. Works for me
|
You can download Xcode 8.3 from Apple's developer site. It says "beta 5" but I believe it's a final candidate because the app itself doesn't have the beta badge on its icon and its version string just says "8.3". When you launch it, it will ask to install developer tools. If you didn't replace the existing Xcode with this one, you may also need to use the |
This happened with Xcode 8.3 final on macOS 10.12.3 today on a different piece of code. |
Thanks for filing the issue against Go, @dmaclach! From that thread, there's a workaround: "adding -ldflags -s during the go build phase." Xcode 8.3 betas have been around for months, so I'm surprised that no one in the Go community ran into this issue before I did... |
FYI - looks like Xcode 8.3 final is out (8E162). @jens not sure if that fixes the issue... |
It does not :( |
Not seeing this on 10.12.6 w/ xcode 9.2. Closing - please reopen if this is seen again. |
I'm trying to build top-of-tree SG on my MBP. I did a clean checkout using the boostrap.sh script as described in the build instructions. The build script succeeded and the binary is in the expected place, but it crashes and burns immediately:
I've been developing for OS X since 2000 and I've never seen anything like that! It looks like the binary is broken enough that it can't even be launched into a process.
@tleyden suggested I build and run
sgload
, just to make sure my Go toolchain works. I did, and it starts up, so that doesn't seem to be the problem.clang -v
reports "Apple LLVM version 8.1.0 (clang-802.0.38)"The text was updated successfully, but these errors were encountered: