NetBSD-Bugs archive

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

Re: toolchain/53176: 6.4 gcc fails to compile VAX kernels



The following reply was made to PR toolchain/53176; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/53176: 6.4 gcc fails to compile VAX kernels
Date: Fri, 13 Apr 2018 07:50:19 +0200

 The command invoked is:
 
  /work/tools/libexec/gcc/vax--netbsdelf/6.4.0/cc1 -fpreprocessed ip_icmp.i -quiet -dumpbase ip_icmp.c -auxbase-strip ip_icmp.o -g -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-pointer-sign -Wno-attributes -Wno-sign-compare -std=gnu99 -std=gnu99 -version -fno-pic -ffreestanding -fno-zero-initialized-in-bss -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-common -o ip_icmp.s
 
 and gdb says:
 
 Program received signal SIGSEGV, Segmentation fault.
 0x0000000000789457 in allocno_copy_cost_saving(ira_allocno*, int) ()
 (gdb) bt
 #0  0x0000000000789457 in allocno_copy_cost_saving(ira_allocno*, int) ()
 #1  0x00000000007912e9 in color_pass(ira_loop_tree_node*) ()
 #2  0x0000000000780c38 in ira_traverse_loop_tree(bool, ira_loop_tree_node*, void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) ()
 #3  0x000000000078e62e in ira_color() ()
 #4  0x000000000077a8cd in (anonymous namespace)::pass_ira::execute(function*) ()
 #5  0x000000000082899a in execute_one_pass(opt_pass*) ()
 #6  0x0000000000828f02 in execute_pass_list_1(opt_pass*) ()
 #7  0x0000000000828f14 in execute_pass_list_1(opt_pass*) ()
 #8  0x0000000000828f2d in execute_pass_list(function*, opt_pass*) ()
 #9  0x0000000000606bdb in cgraph_node::expand() ()
 #10 0x0000000000608102 in symbol_table::compile() ()
 #11 0x000000000060979f in symbol_table::finalize_compilation_unit() ()
 #12 0x00000000008a1c8c in compile_file() ()
 #13 0x00000000008a383d in toplev::main(int, char**) ()
 #14 0x0000000000c2a243 in main ()
 
 and the input file is at: http://www.netbsd.org/~martin/ip_icmp.i.bz2
 
 Martin
 


Home | Main Index | Thread Index | Old Index