http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47524
Summary: go1: internal compiler error: in do_get_tree, at
go/gofrontend/types.cc:1739
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
AssignedTo: [email protected]
ReportedBy: [email protected]
Building from svn://gcc.gnu.org/svn/gcc/trunk r169336
On a mips64-linux host. Configured:
../trunk/configure --with-float=soft --with-arch=octeon
--with-gmp=/root/gccsvn/mp --with-mpfr=/root/gccsvn/mp
--enable-languages=all,go
When building libgo I get this ICE.
libtool: compile: /root/gccsvn/native-trunk/./gcc/gccgo
-B/root/gccsvn/native-trunk/./gcc/ -B/usr/local/mips64-unknown-linux-gnu/bin/
-B/usr/local/mips64-unknown-linux-gnu/lib/ -isystem
/usr/local/mips64-unknown-linux-gnu/include -isystem
/usr/local/mips64-unknown-linux-gnu/sys-include -O2 -g -I . -c
-fgo-prefix=libgo_syscalls ../../../trunk/libgo/syscalls/errstr.go
../../../trunk/libgo/syscalls/errstr_decl_linux.go
../../../trunk/libgo/syscalls/exec_helpers.go
../../../trunk/libgo/syscalls/exec.go
../../../trunk/libgo/syscalls/sysfile_largefile.go
../../../trunk/libgo/syscalls/sleep_select.go
../../../trunk/libgo/syscalls/socket.go
../../../trunk/libgo/syscalls/socket_linux.go
../../../trunk/libgo/syscalls/socket_epoll.go
../../../trunk/libgo/syscalls/syscall.go
../../../trunk/libgo/syscalls/syscall_unix.go
../../../trunk/libgo/syscalls/stringbyte.go
../../../trunk/libgo/syscalls/syscall_linux.go
../../../trunk/libgo/syscalls/syscall_linux_mips64.go
../../../trunk/libgo/syscalls/sysfile_posix.go sysinfo.go syscall_arch.go
-fPIC -o syscalls/.libs/syscall.o
In function ‘syscall.PC.pN33_libgo_syscalls.syscall.PtraceRegs’:
go1: internal compiler error: in do_get_tree, at go/gofrontend/types.cc:1739
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
I will attach the .go files that are not part of the SVN sources.