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
cmd/compile: internal compiler error: Type.Elem UNSAFEPTR #26398
Comments
Note: I don't see this on go1.9 |
I checked out https://bitbucket.org/ausocean/av, and ran |
/cc @randall77 @josharian @gopherbot please open a backport issue as this might be a 1.10 regression. |
Backport issue(s) opened: #26402 (for 1.10). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://golang.org/wiki/MinorReleases. |
@FiloSottile in the future, can we wait on backport setup until we can reproduce? |
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. |
@Saxon1 is this still an issue? W/o a way to reproduce we cannot act on this. Please let us know if you can provide more detailed information, or close the issue. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
I've closed the backport bug as well. |
@josharian thanks! |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?Version 1.10
doesn't happen on 1.9
Does this issue reproduce with the latest release?
I'm on the latest release.
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOCACHE="/home/saxon/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/saxon/go"
GORACE=""
GOROOT="/usr/lib/go-1.10"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.10/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build007043969=/tmp/go-build -gno-record-gcc-switches"
What did you do?
Tried 'go build' in av/rtmp on the repo: https://bitbucket.org/ausocean/av/src on the branch librtmpPorting.
What did you expect to see?
a clean build
What did you see instead?
bitbucket.org/ausocean/av/rtmp
:1:0: internal compiler error: Type.Elem UNSAFEPTR
Please file a bug report including a short program that triggers the error.
https://golang.org/issue/new
The text was updated successfully, but these errors were encountered: