Subject: cross-compile of sparc on i386 fails [90 lines]
To: NetBSD Current Users <current-users@netbsd.org>
From: The Grey Wolf <greywolf@starwolf.com>
List: current-users
Date: 09/24/2004 19:13:25
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sources from 23-SEP-2004:

===> build.sh command: ./build.sh -T /build/arch/sparc/tools -M /build/arch/sparc/obj -D /build/arch/sparc/root -R /build/arch/sparc/release -m sparc -V BUILD=yes distribution
===> build.sh started: Thu Sep 23 23:51:54 PDT 2004
#    objdir  /build/arch/sparc/obj/.a/src/tools
===> MACHINE:          sparc
===> MACHINE_ARCH:     sparc
===> TOOLDIR path:     /build/arch/sparc/tools
===> DESTDIR path:     /build/arch/sparc/root
===> RELEASEDIR path:  /build/arch/sparc/release
===> makewrapper:      /build/arch/sparc/tools/bin/nbmake-sparc
===> Updated /build/arch/sparc/tools/bin/nbmake-sparc
build ===> .	(with: NOPOSTINSTALL=1)
Build started at: Thu Sep 23 23:51:57 PDT 2004
.
.
.
creating auto-host.h
#   compile  backend/gengenrtl.lo
cc -O -I. -I/.a/src/gnu/usr.bin/gcc3/backend/../arch/sparc -DIN_GCC -DHAVE_CONFIG_H -I/.a/src/gnu/dist/gcc/gcc -I/.a/src/gnu/dist/gcc/gcc/. -I/.a/src/gnu/dist/gcc/gcc/config -I/.a/src/gnu/dist/gcc/gcc/../include -I/.a/src/gnu/usr.bin/gcc3/backend/.. -c -o gengenrtl.lo.o    /.a/src/gnu/dist/gcc/gcc/gengenrtl.c
mv gengenrtl.lo.o gengenrtl.lo
#      link  backend/gengenrtl
cc -O -I. -I/.a/src/gnu/usr.bin/gcc3/backend/../arch/sparc -DIN_GCC -DHAVE_CONFIG_H -I/.a/src/gnu/dist/gcc/gcc -I/.a/src/gnu/dist/gcc/gcc/. -I/.a/src/gnu/dist/gcc/gcc/config -I/.a/src/gnu/dist/gcc/gcc/../include -I/.a/src/gnu/usr.bin/gcc3/backend/..  -o gengenrtl gengenrtl.lo -L nbmake: stopped in /.a/src/tools/compat -lnbcompat /build/arch/sparc/obj/.a/src/gnu/usr.bin/gcc3/host-libiberty/libiberty/libiberty.a
cc: stopped: No such file or directory
cc: in: No such file or directory

*** Failed target:  gengenrtl
*** Failed command: cc -O -I. -I/.a/src/gnu/usr.bin/gcc3/backend/../arch/sparc -DIN_GCC -DHAVE_CONFIG_H -I/.a/src/gnu/dist/gcc/gcc -I/.a/src/gnu/dist/gcc/gcc/. -I/.a/src/gnu/dist/gcc/gcc/config -I/.a/src/gnu/dist/gcc/gcc/../include -I/.a/src/gnu/usr.bin/gcc3/backend/.. -o gengenrtl gengenrtl.lo -L nbmake: stopped in /.a/src/tools/compat -lnbcompat /build/arch/sparc/obj/.a/src/gnu/usr.bin/gcc3/host-libiberty/libiberty/libiberty.a
*** Error code 1

Stop.
nbmake: stopped in /.a/src/gnu/usr.bin/gcc3/backend

*** Failed target:  dependall-backend
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="gnu/usr.bin/gcc3/"; real="/.a/src/gnu/usr.bin/gcc3" ;; *) this="gnu/usr.bin/gcc3/${dir}/"; real="/.a/src/gnu/usr.bin/gcc3/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /build/arch/sparc/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget backend dependall
*** Error code 1

Stop.
nbmake: stopped in /.a/src/gnu/usr.bin/gcc3

*** Failed target:  dependall-gcc3
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="gnu/usr.bin/"; real="/.a/src/gnu/usr.bin" ;; *) this="gnu/usr.bin/${dir}/"; real="/.a/src/gnu/usr.bin/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /build/arch/sparc/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gcc3 dependall
*** Error code 1

Stop.
nbmake: stopped in /.a/src/gnu/usr.bin

*** Failed target:  dependall-usr.bin
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="gnu/"; real="/.a/src/gnu" ;; *) this="gnu/${dir}/"; real="/.a/src/gnu/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /build/arch/sparc/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget usr.bin dependall
*** Error code 1

Stop.
nbmake: stopped in /.a/src/gnu

*** Failed target:  dependall-gnu
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/.a/src" ;; *) this="${dir}/"; real="/.a/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /build/arch/sparc/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gnu dependall
*** Error code 1

Stop.
nbmake: stopped in /.a/src

*** Failed target:  do-build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/.a/src" ;; *) this="${dir}/"; real="/.a/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /build/arch/sparc/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall BUILD_tools=no BUILD_lib=no
*** Error code 1

Stop.
nbmake: stopped in /.a/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/.a/src" ;; *) this="${dir}/"; real="/.a/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /build/arch/sparc/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-build
*** Error code 1

Stop.
nbmake: stopped in /.a/src

*** Failed target:  distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/.a/src" ;; *) this="${dir}/"; real="/.a/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /build/arch/sparc/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /.a/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***
build.sh
	-T /build/arch/sparc/tools
	-M /build/arch/sparc/obj
	-D /build/arch/sparc/root
	-R /build/arch/sparc/release
	-V BUILD='yes'
	-m sparc
	 distribution


				--*greywolf;
- --
Organized Religion (OR g@ nizd  re LIJ @n) n.  A "morally aligned" elite
consisting of people who want to change everyone else's world to be like
their own.  See "Wrong Answer, The".
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFBVNRJDOGizqAnVRERAphfAJ9QbjkkWUNFm6Hu1DrPMr9LBm9BUgCgkZXy
LooQIqiVOeHqk9pzACSz7Fs=
=sEMM
-----END PGP SIGNATURE-----