Skip to content

Error: SIGKILL when attempting to run on macOS #7

Closed

Description

@csos95

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.

Activity

  1. csos95 commented on Apr 26, 2017

    @csos95
    Author

    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.

  2. changed the title [-]Error: SIGKILL when attempting to run program[/-] [+]Error: SIGKILL when attempting to run on macOS[/+] on Apr 26, 2017
  3. faiface commented on Apr 26, 2017

    @faiface
    Owner

    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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions