NetBSD-Bugs archive

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

toolchain/56222: ICE building tools compat/bt_page.lo on NetBSD/alpha under Qemu



>Number:         56222
>Category:       toolchain
>Synopsis:       ICE building tools compat/bt_page.lo on NetBSD/alpha under Qemu
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 31 16:40:00 +0000 2021
>Originator:     Jason Thorpe
>Release:        NetBSD 9.99.82
>Organization:
RISCy Business
>Environment:
NetBSD alpha-vm 9.99.82 NetBSD 9.99.82 (GENERIC-$Revision: 1.411 $) #73: Sun May 30 12:37:25 PDT 2021  thorpej@the-ripe-vessel:/space/src/sys/arch/alpha/compile/GENERIC.QEMU alpha

Qemu configured for 4 CPUs and 2GB of RAM.
>Description:
    compile  compat/bt_page.lo
during GIMPLE pass: strlen
/nbsd/src/tools/compat/../../lib/libc/db/btree/bt_page.c: In function '__bt_new':
/nbsd/src/tools/compat/../../lib/libc/db/btree/bt_page.c:87:1: internal compiler error: Segmentation fault
   87 | __bt_new(BTREE *t, pgno_t *npg)
      | ^~~~~~~~
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.
--- bt_page.lo ---

*** Failed target: bt_page.lo
*** Failed commands:
        ${_MKTARGET_COMPILE}
        ${HOST_COMPILE.c} -o ${.TARGET}.o ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} ${.IMPSRC}
        ${MV} ${.TARGET}.o ${.TARGET}
*** [bt_page.lo] Error code 1

nbmake[3]: stopped in /nbsd/src/tools/compat

Version of the compiler that failed:

alpha-vm:thorpej 30$ cc -v
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/libexec/lto-wrapper
Target: alpha--netbsd
Configured with: /usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=alpha--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/support/send-pr.html --with-pkgversion='NetBSD nb1 20210411' --with-system-zlib --without-isl --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-default-libstdcxx-abi=new --with-mpc-lib=/var/obj/mknative/alpha/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/alpha/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/alpha/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/alpha --enable-tls --disable-multilib --disable-libstdcxx-pch --build=alpha--netbsd --host=alpha--netbsd --with-sysroot=/var/obj/mknative/alpha/usr/src/destdir.alpha
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.3.0 (nb1 20210411) 
alpha-vm:thorpej 31$ 

>How-To-Repeat:
Build tools on Alpha under Qemu.  Here is the exact command I used:

./build.sh -j2 -D /nbsd/destdir/alpha -m alpha -O /nbsd/objdir/alpha -R /nbsd/releasedir/alpha -T /nbsd/tools -U -N 1 -V MAKECONF=/nbsd/src/mk.conf -w /nbsd/tools/bin/nbmake-alpha tools

mk.conf contains:

MKDEBUG=yes

>Fix:
N/A



Home | Main Index | Thread Index | Old Index