From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22645 invoked by alias); 17 Sep 2013 13:51:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 21807 invoked by uid 48); 17 Sep 2013 13:50:29 -0000 From: "martin at netbsd dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/58442] New: bootstrapping vax crashes on NetBSD Date: Tue, 17 Sep 2013 13:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martin at netbsd dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-09/txt/msg01223.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58442 Bug ID: 58442 Summary: bootstrapping vax crashes on NetBSD Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: martin at netbsd dot org During stage1 build of libstc++ this call dies with a segfault: Reading symbols from /usr/pkgobj/lang/gcc48/work/build/gcc/cc1plus...done. (gdb) run -quiet -nostdinc++ -v -I /usr/pkgobj/lang/gcc48/work/gcc-4.8.1/libstdc++-v3/../libgcc -I /usr/pkgobj/lang/gcc48/work/build/vax--netbsdelf/libstdc++-v3/include/vax--netbsdelf -I /usr/pkgobj/lang/gcc48/work/build/vax--netbsdelf/libstdc++-v3/include -I /usr/pkgobj/lang/gcc48/work/gcc-4.8.1/libstdc++-v3/libsupc++ -I /usr/pkg/include -I /usr/include -iprefix /usr/pkgobj/lang/gcc48/work/build/gcc/../lib/gcc/vax--netbsdelf/4.8.1/ -isystem /usr/pkgobj/lang/gcc48/work/build/./gcc/include -isystem /usr/pkgobj/lang/gcc48/work/build/./gcc/include-fixed -D _GLIBCXX_SHARED -D PIC -D _GLIBCXX_SHARED -isystem /usr/pkg/gcc48/vax--netbsdelf/include -isystem /usr/pkg/gcc48/vax--netbsdelf/sys-include ../../../../../gcc-4.8.1/libstdc++-v3/src/c++98/locale-inst.cc -quiet -dumpbase locale-inst.cc -auxbase-strip locale-inst.o -g -O2 -O1 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -version -fno-implicit-templates -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=locale-inst.lo -fgcse -fgcse-after-reload -fPIC -o /var/tmp//ccj04DGQ.s [..] GNU C++ (GCC) version 4.8.1 (vax--netbsdelf) compiled by GNU C version 4.1.3 20080704 prerelease (NetBSD nb3 20111107), GMP version 5.0.1, MPFR version 3.1.2, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: e5b251aee23ceb19ee70c90a0aeb9824 Program received signal SIGSEGV, Segmentation fault. 0x0092cdb0 in recog_1 (x0=0x7e1b1a5c, insn=0x7e1b26c0, pnum_clobbers=0x0, 2115705436, 2115708608, 0) at ../../gcc-4.8.1/gcc/config/vax/vax.md:417 (gdb) bt #0 0x0092cdb0 in recog_1 (x0=0x7e1b1a5c, insn=0x7e1b26c0, pnum_clobbers=0x0, 2115705436, 2115708608, 0) at ../../gcc-4.8.1/gcc/config/vax/vax.md:417 #1 0x0092f180 in recog_2 (x0=0x7e1b1a5c, insn=0x7e1b26c0, pnum_clobbers=0x0, 2115705436, 2115708608, 0) at ../../gcc-4.8.1/gcc/config/vax/vax.md:529 #2 0x00932c1c in recog (x0=0x7e1b1a5c, insn=0x7e1b26c0, pnum_clobbers=0x0, 2115705436, 2115708608, 0) at ../../gcc-4.8.1/gcc/config/vax/vax.md:1462 #3 0x0066f5e3 in recog_memoized (insn=0x7e1b26c0, 2115708608) at ../../gcc-4.8.1/gcc/recog.h:155 #4 0x0066f83c in extract_insn (insn=0x7e1b26c0, 2115708608) at ../../gcc-4.8.1/gcc/recog.c:2148 #5 0x005066d1 in instantiate_virtual_regs_in_insn ( insn=0x7e1b26c0, 2115708608) at ../../gcc-4.8.1/gcc/function.c:1561 #6 0x00507cd3 in instantiate_virtual_regs () at ../../gcc-4.8.1/gcc/function.c:1928 #7 0x00646f2f in execute_one_pass (pass=0xef6974, 15690100) at ../../gcc-4.8.1/gcc/passes.c:2330 #8 0x00647108 in execute_pass_list (pass=0xef6974, 15690100) at ../../gcc-4.8.1/gcc/passes.c:2378 #9 0x0064713d in execute_pass_list (pass=0xef7194, 15692180) at ../../gcc-4.8.1/gcc/passes.c:2379 (gdb) list 412 (match_operand:VAXint 2 "general_operand" "nrmT,nrmT")))] 413 "" 414 "@ 415 sub2 %2,%0 416 sub3 %2,%1,%0") 417 418 (define_expand "subdi3" 419 [(set (match_operand:DI 0 "nonimmediate_operand" "=g") 420 (minus:DI (match_operand:DI 1 "general_operand" "g") 421 (match_operand:DI 2 "general_operand" "g")))] (gdb) p debug_rtx(x0) (set (zero_extract:SI (subreg:SI (reg/v:DI 71 [ __s ]) 4) (const_int 8 [0x8]) (const_int 0 [0])) (subreg:SI (reg:DI 108) 4))