Port-vax archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Cross-building [was Re: CMD MSCP SCSI problems? (again?)]
On 2023-02-09 09:46, John Klos wrote:
In case it helps, I run NetBSD/vax 9.3 on simh. I don't think I
have tried building a custom kernel yet but I'm willing to have a go!
Native compiling of the GENERIC kernel works for NetBSD 10.0_BETA. I
haven't tried NetBSD 9.x, but I'd be interested to hear your results.
NetBSD-9.3, fresh current. Looks actually familiar, I thought it was fixed?
GCC again:
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/AD1_NFS/NetBSD/CURRENT/src/tools/gcc/../../external/gpl3/gcc/dist/gcc
-I/AD1_NFS/NetBSD/CURRENT/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/c
-I/AD1_NFS/NetBSD/CURRENT/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../include
-I/AD1_NFS/NetBSD/CURRENT/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../libcpp/include
-I/AD1_NFS/NetBSD/CURRENT/src/../tools/include
-I/AD1_NFS/NetBSD/CURRENT/src/../tools/include
-I/AD1_NFS/NetBSD/CURRENT/src/../tools/include
-I/AD1_NFS/NetBSD/CURRENT/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../libdecnumber
-I/AD1_NFS/NetBSD/CURRENT/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../libdecnumber/dpd
-I../libdecnumber
-I/AD1_NFS/NetBSD/CURRENT/src/tools/gcc/../../external/gpl3/gcc/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
/AD1_NFS/NetBSD/CURRENT/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/c/c-decl.c
/AD1_NFS/NetBSD/CURRENT/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/c/c-decl.c:
In function 'tree_node* finish_enum(tree, tree, tree)':
/AD1_NFS/NetBSD/CURRENT/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/c/c-decl.c:8972:1:
error: unrecognizable insn:
}
^
(insn 87 86 88 18 (set (reg:SI 185)
(subreg:SI (mem:DI (plus:SI (mult:SI (reg:SI 182)
(const_int 8 [0x8]))
(reg/f:SI 122 [ _209 ])) [74 *_244+0 S8 A32]) 4))
"/AD1_NFS/NetBSD/CURRENT/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/wide-int.h":865
-1
(nil))
/AD1_NFS/NetBSD/CURRENT/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/c/c-decl.c:8972: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
`/AD1_NFS/NetBSD/CURRENT/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=/AD1_NFS/NetBSD/CURRENT/src/../tools/bin/nbawk CC=cc CFLAGS=-O
CONFIG_SHELL=/bin/sh CPPFLAGS= CXX=c++ CXXFLAGS=-O
INSTALL=/AD1_NFS/NetBSD/CURRENT/src/../tools/bin/vax--netbsdelf-install\
-c\ \ -r LDFLAGS= LEX=/AD1_NFS/NetBSD/CURRENT/src/../tools/bin/nblex
FLEX=/AD1_NFS/NetBSD/CURRENT/src/../tools/bin/nblex
M4=/AD1_NFS/NetBSD/CURRENT/src/../tools/bin/nbm4
MAKE=/AD1_NFS/NetBSD/CURRENT/src/../tools/bin/nbgmake
PATH="/AD1_NFS/NetBSD/CURRENT/src/../tools/bin:$PATH" RANLIB=ranlib
YACC=/AD1_NFS/NetBSD/CURRENT/src/../tools/bin/nbyacc MACHINE=
MAKEINFO=/AD1_NFS/NetBSD/CURRENT/src/../tools/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=/AD1_NFS/NetBSD/CURRENT/src/../tools/bin/vax--netbsdelf-install\
-c\ \ -r /AD1_NFS/NetBSD/CURRENT/src/../tools/bin/nbgmake -e MACHINE=
MAKEINFO=/AD1_NFS/NetBSD/CURRENT/src/../tools/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=/AD1_NFS/NetBSD/CURRENT/src/../tools/bin/vax--netbsdelf-install\
-c\ \ -r all-gcc)
*** Error code 2
Stop.
nbmake[3]: stopped in /AD1_NFS/NetBSD/CURRENT/src/tools/gcc
*** Failed target: dependall
*** Failed command: cd "/AD1_NFS/NetBSD/CURRENT/src/tools/gcc";
/AD1_NFS/NetBSD/CURRENT/src/../tools/bin/nbmake realall
*** Error code 1
Stop.
nbmake[2]: stopped in /AD1_NFS/NetBSD/CURRENT/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="/AD1_NFS/NetBSD/CURRENT/src/tools" ;; *) this="${dir}/";
real="/AD1_NFS/NetBSD/CURRENT/src/tools/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /AD1_NFS/NetBSD/CURRENT/src/../tools/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gcc dependall
*** Error code 1
Stop.
nbmake[1]: stopped in /AD1_NFS/NetBSD/CURRENT/src/tools
*** Failed target: build_install
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/AD1_NFS/NetBSD/CURRENT/src/tools" ;; *) this="${dir}/";
real="/AD1_NFS/NetBSD/CURRENT/src/tools/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /AD1_NFS/NetBSD/CURRENT/src/../tools/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall-gcc
*** Error code 1
Stop.
nbmake: stopped in /AD1_NFS/NetBSD/CURRENT/src/tools
ERROR: Failed to make build_install in "tools"
*** BUILD ABORTED ***
Home |
Main Index |
Thread Index |
Old Index