NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-cobalt/48765: cc1 from gcc 4.5.4 dumps core for simple helloworld test program



>Number:         48765
>Category:       port-cobalt
>Synopsis:       cc1 from gcc 4.5.4 dumps core for simple helloworld test 
>program
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-cobalt-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 26 16:35:00 +0000 2014
>Originator:     Ryo ONODERA
>Release:        NetBSD 6.99.40
>Organization:
        
>Environment:
        
        
System: NetBSD mercury.elements.tetera.org 6.99.40 NetBSD 6.99.40 (GENERIC) #0: 
Fri Apr 25 13:23:49 JST 2014  
ryo_on%deuterium.ryoon.net@localhost:/usr/obj/cobalt/sys/arch/cobalt/compile/GENERIC
 cobalt
>Description:
When compiling simple helloworld program, cc1 from gcc 4.5.4 dumps core.

My helloworld is here.
$ cat test.c
#include <stdio.h>

int main(void)
{
printf("Hello, world\n");
return 0;
}

And error message from gcc -v is here.

(snip)
COLLECT_GCC_OPTIONS='-v' '-mno-synci'
 /usr/libexec/cc1 -quiet -v test.c -quiet -dumpbase test.c -mno-synci -auxbase 
test -version -o /var/tmp//cc05DK2k.s
signal 1: epc 0x63d53c
gcc: Internal error: Segmentation fault (program cc1 received signal 11)
Please submit a full bug report.
See  for instructions.

gdb from base dumps core too, and I cannot investigate this problem deeper.
        
>How-To-Repeat:
gcc -v test.c
        
>Fix:
        
I have no idea, please fix it.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index