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

gccgo: go1: internal compiler error: in mangled_name, at go/gofrontend/names.cc:559 #33783

Open
wmhrae opened this issue Aug 22, 2019 · 2 comments

Comments

@wmhrae
Copy link

commented Aug 22, 2019

1: GCCGO

At command line I typed gccgo -v and it spits out 9.2.0

PACKAGE NAME: gcc-9.2.0-x86_64-1 - date build and installed Aug 18
PACKAGE NAME: gcc-go-9.2.0-x86_64-1 - date build and installed Aug 18
PACKAGE NAME: gcc-g++-9.2.0-x86_64-1
PACKAGE NAME: gcc-gdc-9.2.0-x86_64-1
PACKAGE NAME: gcc-gfortran-9.2.0-x86_64-1
PACKAGE NAME: gcc-gnat-9.2.0-x86_64-1
PACKAGE NAME: gcc-objc-9.2.0-x86_64-1

2: ENV

bash-5.0# go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/go"
GOPROXY=""
GORACE=""
GOROOT="/usr"
GOTMPDIR=""
GOTOOLDIR="/usr/libexec/gcc/x86_64-slackware-linux/9.2.0"
GCCGO="/usr/bin/gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
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-build262316847=/tmp/go-build -gno-record-gcc-switches -funwind-tables"
bash-5.0#

3: What did you do?

_/tmp/SBo/thrift-0.12.0/lib/go/thrift
go1: internal compiler error: in mangled_name, at go/gofrontend/names.cc:559
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[4]: *** [Makefile:826: all-local] Error 2
make[4]: Leaving directory '/tmp/SBo/thrift-0.12.0/lib/go'
make[3]: *** [Makefile:540: all-recursive] Error 1
make[3]: Leaving directory '/tmp/SBo/thrift-0.12.0/lib/go'
make[2]: *** [Makefile:582: all-recursive] Error 1
make[2]: Leaving directory '/tmp/SBo/thrift-0.12.0/lib'
make[1]: *** [Makefile:664: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/thrift-0.12.0'
make: *** [Makefile:578: all] Error 2
bash-5.0#

4: What did you expect to see?

PACKAGE NAME: thrift-0.12.0-x86_64-1

5: What did you see instead?

go1: internal compiler error: in mangled_name, at go/gofrontend/names.cc:559

@gopherbot gopherbot added this to the Gccgo milestone Aug 22, 2019

@wmhrae wmhrae changed the title gccgo: gccgo: go1: internal compiler error: in mangled_name, at go/gofrontend/names.cc:559 Aug 22, 2019

@ALTree

This comment has been minimized.

Copy link
Member

commented Aug 22, 2019

Thanks for the report.

The "what did you do" section of your report does not show what you did. It just shows the result of the command (a compiler crash). I'm guessing you are building github/apache/thrift with gccgo, but please confirm this to facilitate the investigation of the issue. You should provide a complete and autocontained list of steps (in the form of terminal commands) that can be used to reproduce the crash. Thanks.

@wmhrae

This comment has been minimized.

Copy link
Author

commented Aug 25, 2019

Yes I use github/apache/thrift with gccgo 👍
PACKAGE NAME: gcc-9.2.0-x86_64-1 - date build and installed Aug 18
PACKAGE NAME: gcc-go-9.2.0-x86_64-1 - date build and installed Aug 18
go version: go1.12.2 gccgo (GCC) 9.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.