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

Error: SIGKILL when attempting to run on macOS #7

Closed
csos95 opened this issue Apr 26, 2017 · 2 comments
Closed

Error: SIGKILL when attempting to run on macOS #7

csos95 opened this issue Apr 26, 2017 · 2 comments

Comments

@csos95
Copy link

csos95 commented Apr 26, 2017

Using go 1.8 on macOS 10.12.3 with version 8.3.2 of Xcode and commandline tools.

When I run the Creating a Window example, the program is stopped by sigkill.

Running in normal mode of Gogland I get:
Process finished with exit code 137 (interrupted by signal 9: SIGKILL)

Running in debug mode of Gogland I get:

GOROOT=/usr/local/go
GOPATH=/Users/csos95/gocode
/usr/local/go/bin/go build -i -o "/private/var/folders/j8/tdt3__9j5b5g5x8pxgz3zrsc0000gn/T/Build main.go and rungo" -gcflags "-N -l" "-ldflags=-linkmode internal" /Users/csos95/gocode/src/gogs.csos95.com/csos95/GraphicsTest/main.go
# command-line-arguments
github.com/go-gl/glfw/v3.2/glfw(__TEXT/__text): unexpected GOT reloc for non-dynamic symbol _glfw
github.com/go-gl/glfw/v3.2/glfw(__TEXT/__text): unexpected GOT reloc for non-dynamic symbol _glfw
github.com/go-gl/glfw/v3.2/glfw(__TEXT/__text): unexpected GOT reloc for non-dynamic symbol _glfw
github.com/go-gl/glfw/v3.2/glfw(__TEXT/__text): unexpected GOT reloc for non-dynamic symbol _glfw
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
github.com/go-gl/glfw/v3.2/glfw(__DATA/__cfstring): unexpected reloc for dynamic symbol __CFConstantStringClassReference
/usr/local/go/pkg/tool/darwin_amd64/link: too many errors

If anymore information is needed, please let me know.

@csos95
Copy link
Author

csos95 commented Apr 26, 2017

I looked into it some more and it looks like it is an issue with go 1.8 when using the latest version of Xcode golang/go#19734.
Updating to 1.8.1 seems to have fixed it.
I recommend adding a comment in the requirements section mentioning that 1.8.1 is needed on macOS if using the latest Xcode.

@csos95 csos95 changed the title Error: SIGKILL when attempting to run program Error: SIGKILL when attempting to run on macOS Apr 26, 2017
@faiface
Copy link
Owner

faiface commented Apr 26, 2017

Thanks for the issue! I don't think this is directly related to Pixel, since upgrading to Go 1.8.1 fixes it. I added a note to the README.

@faiface faiface closed this as completed Apr 26, 2017
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

2 participants