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

cmd/compile: <autogenerated>:1: internal compiler error: dictionary for anyArr[go.shape.*uint8_0].Len should only use concrete types: go.shape.*uint8_0 #58332

Closed
fthvgb1 opened this issue Feb 5, 2023 · 2 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. FrozenDueToAge

Comments

@fthvgb1
Copy link

fthvgb1 commented Feb 5, 2023

What version of Go are you using (go version)?

$ go version
go version go1.18.10 linux/amd64

Does this issue reproduce with the latest release?

it happend only 1.18.
1.19,1.20 are normal.

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/go"
GOPRIVATE=""
GOPROXY="https://goproxy.cn,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.18.10"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/code/wp-go/go.mod"
GOWORK=""
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-build3258465993=/tmp/go-build -gno-record-gcc-switches"

What did you do?

building exec binary with my code github.com/fthvgb1/wp-go

go build --race -o wgo -gcflags "all=-N -l" internal/cmd/main.go

What did you expect to see?

builded runnable binray

What did you see instead?

# github.com/fthvgb1/wp-go/internal/plugins
:1: internal compiler error: dictionary for anyArr[go.shape.*uint8_0].Len should only use concrete types: go.shape.*uint8_0

Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Feb 5, 2023
@cuonglm
Copy link
Member

cuonglm commented Feb 5, 2023

go1.18 is end of support, and there is policy to not backport generic fixes.

@cuonglm cuonglm closed this as not planned Won't fix, can't repro, duplicate, stale Feb 5, 2023
@fthvgb1
Copy link
Author

fthvgb1 commented Feb 5, 2023

ok, I get it.

@golang golang locked and limited conversation to collaborators Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

3 participants