Subject: port-vax/35483: gcc really broken on vax -current
To: None <port-vax-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <hbent@cs.oberlin.edu>
List: netbsd-bugs
Date: 01/26/2007 00:40:02
>Number:         35483
>Category:       port-vax
>Synopsis:       gcc really broken on vax -current
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-vax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 26 00:40:02 +0000 2007
>Originator:     Henry Bent
>Release:        4.99.9
>Organization:
Oberlin College CIT
>Environment:
NetBSD romulus 4.99.9 NetBSD 4.99.9 (ROMULUS) #4: Wed Jan 24 18:51:43 EST 2007 root@hbent3:/usr/obj/src-current/sys/arch/vax/compile/ROMULUS vax
>Description:
romulus% gcc -v
Using built-in specs.
Target: vax--netbsdelf
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --disable-shared --build=i386-unknown-netbsdelf4.99.7 --host=vax--netbsdelf --target=vax--netbsdelf :
 (reconfigured) /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --disable-shared --build=i386-unknown-netbsdelf4.99.7 --host=vax--netbsdelf --target=vax--netbsdelf
Thread model: posix
gcc version 4.1.2 20070110 prerelease (NetBSD nb1 20070110)

romulus% gcc -O0 blah.c
succeeds.

romulus% gcc -Q -O1 blah.c
 main
Analyzing compilation unitPerforming intraprocedural optimizations

blah.c: In function 'main':
blah.c:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.NetBSD.org/Misc/send-pr.html> for instructions.

>How-To-Repeat:
Run gcc as above.  Reduced testcase blah.c is:

main() {}
>Fix:
unknown