Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: internal compiler error: Type.Elem UNSAFEPTR #26398
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
referenced this issue
Jul 16, 2018
I looked into this.
It seems like you hardcoded in a few places that the
Please provide a reproducer that can be compiled without the requirement of running a make command from root, if possible.
I'll amend the comment I wrote above since it sounds unnecessarily harsh.
What I wanted to say is that, in general, Go contributors and the Go Devs will be able to help much quicker if the reproducer attached to a bug is easy to build. In this case I downloaded your repository, looked into it, and I found out that building it -apparently- requires to run a
I ended up committing past the problem. I'm going to rebase and create a new branch. I'll also provide instructions for building the C stuff in the program dir rather than in /usr/local. And apologies for making it more difficult to investigate. I'm quite a busy boy currently - once I went back to go1.9 and got it working, I nearly forgot about the issue.