Port-vax archive

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

GCC status



Hello,

what are the plans for GCC for VAX in NetBSD 7.0? Is there any effort to switch to GCC 4.5 (or maybe to an even newer GCC)?

i tried to compile the toolchain with HAVE_GCC=45 and got this error ... (hostsystem is NetBSD VAX 6.99.30)

# echo $PWD
/usr/src
# ./build.sh tools

...

cc/. -I/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../include -I/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../libcpp/include -I/usr/src/obj/tooldir.NetBSD-6.99.30-vax/include -I/usr/src/obj/tooldir.NetBSD-6.99.30-vax/include -I/usr/src/obj/tooldir.NetBSD-6.99.30-vax/include -I/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../libdecnumber -I/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../libdecnumber/dpd -I../libdecnumber -I/usr/include/libelf -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=0 -DTARGET_SYSTEM_ROOT_RELOCATABLE /usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/expmed.c -o expmed.o /usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/expmed.c: In function 'extract_bit_field_1': /usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/expmed.c:1668: error: insn does not satisfy its constraints:
(insn 161 160 162 28 (set (cc0)
(compare (mem/s/j:SI (plus:SI (mult:SI (reg:SI 7 %r7 [orig:110 D.25698 ] [110])
                        (const_int 4 [0x4]))
(const:SI (plus:SI (symbol_ref:SI ("optab_table") [flags 0x40] <var_decl 0x7eec5c60 optab_table>) (const_int 22720 [0x58c0])))) [0 <variable>.insn_code+0 S4 A32]) (const_int 196 [0xc4]))) 7 {cmpsi} (insn_list:REG_DEP_TRUE 160 (nil))
    (nil))
/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/expmed.c:1668: internal compiler error: in reload_cse_simplify_operands, at postreload.c:393
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gnats.NetBSD.org/support/send-pr.html> for instructions.
nbgmake[1]: *** [expmed.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-6.99.30-vax/bin/nbawk CC=cc CFLAGS=-O CONFIG_SHELL=/bin/sh CPPFLAGS= CXX=c++ CXXFLAGS=-O INSTALL=/usr/src/obj/tooldir.NetBSD-6.99.30-vax/bin/vax--netbsdelf-install\ -c\ \ -r LDFLAGS= LEX=/usr/src/obj/tooldir.NetBSD-6.99.30-vax/bin/nblex M4=/usr/src/obj/tooldir.NetBSD-6.99.30-vax/bin/nbm4 MAKE=/usr/src/obj/tooldir.NetBSD-6.99.30-vax/bin/nbgmake PATH="/usr/src/obj/tooldir.NetBSD-6.99.30-vax/bin:$PATH" RANLIB=ranlib YACC=/usr/src/obj/tooldir.NetBSD-6.99.30-vax/bin/nbyacc MACHINE= MAKEINFO=/usr/src/obj/tooldir.NetBSD-6.99.30-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-6.99.30-vax/bin/vax--netbsdelf-install\ -c\ \ -r /usr/src/obj/tooldir.NetBSD-6.99.30-vax/bin/nbgmake -e MACHINE= MAKEINFO=/usr/src/obj/tooldir.NetBSD-6.99.30-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-6.99.30-vax/bin/vax--netbsdelf-install\ -c\ \ -r all-gcc)
*** Error code 2
Stop.
nbmake[3]: stopped in /usr/src/tools/gcc
*** Failed target:  dependall
*** Failed command: cd "/usr/src/tools/gcc"; /usr/src/obj/tooldir.NetBSD-6.99.30-vax/bin/nbmake realall
*** Error code 1
Stop.
nbmake[2]: 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=""; real="/usr/src/tools" ;; *) this="${dir}/"; real="/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj/tooldir.NetBSD-6.99.30-vax/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gcc dependall
*** Error code 1
Stop.
nbmake[1]: 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=""; real="/usr/src/tools" ;; *) this="${dir}/"; real="/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj/tooldir.NetBSD-6.99.30-vax/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall-gcc
*** Error code 1
Stop.
nbmake: stopped in /usr/src/tools
ERROR: Failed to make build_install in "tools"
*** BUILD ABORTED ***

#

As i understand the build process should work, but the resulting compiler would create broken executables.





Home | Main Index | Thread Index | Old Index