Subject: toolchain/32802: gcc: Internal error: Illegal instruction (program cc1)
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <merge+cc@metawire.org>
List: netbsd-bugs
Date: 02/12/2006 12:25:00
>Number:         32802
>Category:       toolchain
>Synopsis:       gcc: Internal error: Illegal instruction (program cc1)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 12 12:25:00 +0000 2006
>Originator:     merge
>Release:        NetBSD-3.0
>Organization:
>Environment:
NetBSD sirius 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 04:05:17 UTC 2005  builds@b4.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/sparc64/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/sparc64/compile/GENERIC sparc64
>Description:
While compiling a program on NetBSD-3.0/sparc64, the following occurs:

 gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GROWS_DOWNWARD=1 -DC_INSTALL_LIB_HOME=\"/usr/local/chicken/lib/chicken\" -DC_INSTALL_HOME=\"/usr/local/chicken/share/chicken\" -DC_USE_C_DEFAULTS -DC_NO_PIC_NO_DLL -DC_BUILDING_LIBCHICKEN -Os -fomit-frame-pointer -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -c library.c  -fPIC -DPIC -o .libs/libchicken_la-library.o
gcc: Internal error: Illegal instruction (program cc1)
Please submit a full bug report.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.
gmake: *** [libchicken_la-library.lo] Error 1
*** Error code 2

Stop.
make: stopped in /var/tmp/chicken-2.2

% gcc -v
Using built-in specs.
Configured with: /home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf2.0. --host=sparc64--netbsd --target=sparc64--netbsd
Thread model: posix
gcc version 3.3.3 (NetBSD nb3 20040520)


>How-To-Repeat:
Build the Chicken Scheme compiler version 2.2 on NetBSD-3.0/sparc64 - see http://www.call-with-current-continuation.org/

Retrieve the .tar.gz, ./configure, and make.

>Fix: