Subject: toolchain/20939: sparc64 fails to compile catopen.c: internal compiler error
To: None <gnats-bugs@gnats.netbsd.org>
From: None <he@netbsd.org>
List: netbsd-bugs
Date: 03/30/2003 14:51:04
>Number:         20939
>Category:       toolchain
>Synopsis:       sparc64 fails to compile catopen.c: internal compiler error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 30 04:52:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Havard Eidnes
>Release:        NetBSD 1.6Q Mar 29 2003
>Organization:
	Unorganized, Inc.
>Environment:
System: NetBSD mizar.urc.uninett.no 1.6Q NetBSD 1.6Q (MIZAR) #49: Sat Mar 29 18:17:21 CET 2003  he@mizar.urc.uninett.no:/sys/arch/sparc64/compile/MIZAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:
	While trying to rebuild sparc64 user-land, the compiler bombs
	out with:

/usr/tools/bin/sparc64--netbsd-gcc -O -ffixed-g4 -DALL_STATE -DUSG_COMPAT  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-uninitialized -Wreturn-type -Wswitch -Wshadow  -Werror  -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include -DHESIOD -DINET6 -DNLS -DYP -DSOFTFLOATSPARC64_FOR_GCC -I/usr/src/lib/libc/arch/sparc64/softfloat -I/usr/src/lib/libc/softfloat  -I/usr/src/lib/libc/softfloat/bits64 -D__DBINTERFACE_PRIVATE -I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -DI18NMODULE_MAJOR=4 -DWITH_RUNE -I/usr/src/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -nostdinc -isystem /usr/dest/usr/include  -c -D_I18N_DYNAMIC -fPIC -DPIC /usr/src/lib/libc/nls/catopen.c -o catopen.so
/usr/src/lib/libc/nls/catopen.c: In function `_catopen':
/usr/src/lib/libc/nls/catopen.c:123: Internal compiler error in `gen_tablejump', at insn-emit.c:7430
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
*** Error code 1

Stop.

	This is observed with

	gcc version 2.95.3 20010315 (release) (NetBSD nb4)

>How-To-Repeat:
	Try to recompile as shown above.

>Fix:
	Sorry, don't know.
>Release-Note:
>Audit-Trail:
>Unformatted: