Port-vax archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: gcc issues.
What version of GCC is that?
A possible solution may be to get the current version. I don't know if a lot of work has been done on fixing VAX port issues, but I believe there has been some activity.
Reporting the issue via the GCC bug tracker may be a good idea. As the report says, this is a compiler bug. Specifically, it's generating an intermediate code operation (RTL operation) for which the back end definitions don't supply corresponding machine code.
It looks like it wants to generate a CVTQL foo[Rn], Rm -- but that's not a VAX opcode. What produces this and how to tell it not to I don't remember.
paul
> On Dec 2, 2019, at 6:07 PM, Johnny Billquist <bqt%softjar.se@localhost> wrote:
>
> Is there anyone with the time, knowledge and skills to look at the gcc issues? I just did another test to build current, and the build bailed out when trying to recompile gcc (everything else up until that point actually passed).
>
> System info:
>
> Gnat:/usr/src# uname -a
> NetBSD Gnat.BQTnet.SE 9.99.18 NetBSD 9.99.18 (GENERIC) #0: Mon Nov 25 23:09:06 CET 2019 root%GW.SoftJAR.SE@localhost:/usr/obj/sys/arch/vax/compile/GENERIC vax
>
> Error message:
>
> [...]
> c++ -fno-PIE -c -DIN_GCC_FRONTEND -O -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Ic -I/usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc -I/usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/c -I/usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/../include -I/usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/../libcpp/include -I/usr/src/obj/tooldir.NetBSD-9.99.18-vax/include -I/usr/src/obj/tooldir.NetBSD-9.99.18-vax/include -I/usr/src/obj/tooldir.NetBSD-9.99.18-vax/include -I/usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/../libdecnumber -I/usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/../libdecnumber/dpd -I../libdecnumber -I/usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/../libbacktrace -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=0 -DTARGET_SYSTEM_ROOT_RELOCATABLE -o c/c-decl.o -MT c/c-decl.o -MMD -MP -MF c/.deps/c-decl.TPo /usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/c/c-decl.c
> /usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/c/c-decl.c: In function 'tree_node* finish_enum(tree, tree, tree)':
> /usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/c/c-decl.c:8405:1: error: unrecognizable insn:
> }
> ^
> (insn 75 74 76 16 (set (reg:SI 176)
> (subreg:SI (mem:DI (plus:SI (mult:SI (reg:SI 174)
> (const_int 8 [0x8]))
> (reg/f:SI 121 [ _205 ])) [48 *_223+0 S8 A32]) 4)) "/usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/wide-int.h":826 -1
> (nil))
> /usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/c/c-decl.c:8405:1: internal compiler error: in extract_insn, at recog.c:2311
> 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.
> nbgmake[1]: *** [c/c-decl.o] Error 1
> nbgmake[1]: Leaving directory `/usr/obj/tools/gcc/build/gcc'
> nbgmake: *** [all-gcc] Error 2
>
> *** Failed target: .build_done
> *** Failed command: (cd build && /usr/bin/env -i gcc_cv_libc_provides_ssp=yes gcc_cv_as_sparc_gotdata_op=no AR=ar AWK=/usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/nbawk CC=cc CFLAGS=-O CONFIG_SHELL=/bin/sh CPPFLAGS= CXX=c++ CXXFLAGS=-O INSTALL=/usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/vax--netbsdelf-install\ -c\ \ -r LDFLAGS= LEX=/usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/nblex FLEX=/usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/nblex M4=/usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/nbm4 MAKE=/usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/nbgmake PATH="/usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin:$PATH" RANLIB=ranlib YACC=/usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/nbyacc MACHINE= MAKEINFO=/usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/nbmakeinfo LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS= CPPFLAGS=-DNETBSD_TOOLS\ -DTARGET_SYSTEM_ROOT=0\ \ -DTARGET_SYSTEM_ROOT_RELOCATABLE AR=ar RANLIB=ranlib BISON=true DESTDIR= INSTALL=/usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/vax--netbsdelf-install\ -c\ \ -r /usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/nbgmake -e MACHINE= MAKEINFO=/usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/nbmakeinfo LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS= CPPFLAGS=-DNETBSD_TOOLS\ -DTARGET_SYSTEM_ROOT=0\ \ -DTARGET_SYSTEM_ROOT_RELOCATABLE AR=ar RANLIB=ranlib BISON=true DESTDIR= INSTALL=/usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/vax--netbsdelf-install\ -c\ \ -r all-gcc)
> *** Error code 2
>
> Stop.
> nbmake[5]: stopped in /usr/src/tools/gcc
>
> *** Failed target: dependall
> *** Failed command: cd "/usr/src/tools/gcc"; /usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/nbmake realall
> *** Error code 1
>
> Stop.
> nbmake[4]: stopped in /usr/src/tools/gcc
>
> *** Failed target: dependall-gcc
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tools/"; real="/usr/src/tools" ;; *) this="tools/${dir}/"; real="/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gcc dependall
> *** Error code 1
>
> Stop.
> nbmake[3]: stopped in /usr/src/tools
>
> *** Failed target: build_install
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tools/"; real="/usr/src/tools" ;; *) this="tools/${dir}/"; real="/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall-gcc
> *** Error code 1
>
> Stop.
> nbmake[2]: stopped in /usr/src/tools
>
> *** Failed target: do-tools
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget tools build_install
> *** Error code 1
>
> Stop.
> nbmake[1]: stopped in /usr/src
>
> *** Failed target: build
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj/tooldir.NetBSD-9.99.18-vax/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-tools
> *** Error code 1
>
> Stop.
> nbmake: stopped in /usr/src
>
> ERROR: Failed to make build
> *** BUILD ABORTED ***
>
>
> --
> Johnny Billquist || "I'm on a bus
> || on a psychedelic trip
> email: bqt%softjar.se@localhost || Reading murder books
> pdp is alive! || tryin' to stay hip" - B. Idol
Home |
Main Index |
Thread Index |
Old Index