NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-vax/50384: NetBSD/vax 7.0 gcc-4.8.4 gets ICE by SIGILL
>Number: 50384
>Category: port-vax
>Synopsis: NetBSD/vax 7.0 gcc-4.8.4 gets ICE by SIGILL
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: port-vax-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 31 04:45:00 +0000 2015
>Originator: Izumi Tsutsui
>Release: NetBSD 7.0
>Organization:
>Environment:
System: NetBSD microvax 7.0 NetBSD 7.0 (GENERIC.201509250726Z) vax
Architecture: vax
Machine: vax
>Description:
gcc-4.8.4 in NetBSD/vax 7.0 on simh-3.9 gets ICE by SIGILL on compiling
dumb int64_t arithmetic.
>How-To-Repeat:
Install NetBSD/vax 7.0 and try following command on simh:
---
# cat killvaxgcc.c
#include <stdint.h>
int
killvaxgcc (void)
{
int a;
int64_t b;
return a - 2 * b;
}
# cc killvaxgcc.c
cc: internal compiler error: Illegal instruction (program cc1)
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
#
---
# dmesg
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 7.0 (GENERIC.201509250726Z)
MicroVAX 3800/3900
total memory = 255 MB
avail memory = 243 MB
kern.module.path=/stand/vax/7.0/modules
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0: KA655, CVAX microcode rev 6 Firmware rev 83
lance at mainbus0 not configured
uba0 at mainbus0: Q22
dz1 at uba0 csr 160100 vec 304 ipl 17
mtc0 at uba0 csr 174500 vec 774 ipl 17
mscpbus0 at mtc0: version 5 model 3
mscpbus0: DMA burst size set to 4
uda0 at uba0 csr 172150 vec 770 ipl 17
mscpbus1 at uda0: version 3 model 3
mscpbus1: DMA burst size set to 4
qe0 at uba0 csr 174440 vec 764 ipl 17: delqa, hardware address 08:00:2b:aa:bb:cc
rlc0 at uba0 csr 174400 vec 160 ipl 17
rl0 at rlc0 drive 0: RL01, drive not loaded
rl1 at rlc0 drive 1: RL01, drive not loaded
rl2 at rlc0 drive 2: RL01, drive not loaded
rl3 at rlc0 drive 3: RL01, drive not loaded
ts0 at uba0 csr 172520 vec 224 ipl 17: TS11
ts0: rev 0, extended features enabled, transport offline
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mfpr" frequency 1000000 Hz quality 100
mt0 at mscpbus0 drive 0: TK50
mt1 at mscpbus0 drive 1: TK50
mt2 at mscpbus0 drive 2: TK50
mt3 at mscpbus0 drive 3: TK50
ra0 at mscpbus1 drive 0: RA92
racd0 at mscpbus1 drive 1: RRD40
ra1 at mscpbus1 drive 2: RD54
rx0 at mscpbus1 drive 3: RX50
Kernelized RAIDframe activated
ra0: size 2940951 sectors
racd0: size 1331200 sectors
ra1: attempt to bring on line failed: unit offline (not mounted) (code 3, subcode 1)
rx0: attempt to bring on line failed: unit offline (not mounted) (code 3, subcode 1)
boot device: ra0
root on ra0a dumps on ra0b
root file system type: ffs
# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/lto-wrapper
Target: vax--netbsdelf
Configured with: /usr/7/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=vax--netbsdelf --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb2 20150115' --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-threads --enable-libstdcxx-time=rt --enable-lto --with-mpc-lib=/var/obj/mknative/vax/usr/7/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/vax/usr/7/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/vax/usr/7/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/7/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/7/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/7/src/external/lgpl3/gmp/lib/libgmp/arch/vax --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd6.0. --host=vax--netbsdelf --with-sysroot=/var/obj/mknative/vax/usr/7/src/destdir.vax
Thread model: posix
gcc version 4.8.4 (nb2 20150115)
#
---
gcc 4.1.3 in NetBSD/vax 6.1.5 works fine.
>Fix:
No idea.
Home |
Main Index |
Thread Index |
Old Index