Subject: Cross-Compiling current fails
To: None <current-users@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 06/07/2005 14:27:39
Hi,

I'm trying to cross-compile -current for sparc on an amd64 machine and failed
(see below). The same sources compiled fine for amd64 and cross-compiled on amd64
for i386 w/o problems, too... So what's the problem w/ sparc? (Just trying sparc64,
macppc and alpha now...)

Kurt


/u/NetBSD/src/games/rogue/monster.c: In function `wanderer':
/u/NetBSD/src/games/rogue/monster.c:628: warning: `monster' might be used uninitialized in this function

*** Failed target:  monster.o
*** Failed command: /u/NetBSD/arch/sparc/TOOLS/bin/sparc--netbsdelf-gcc -O2 -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Werror -DUNIX -nostdinc -isystem /u/NetBSD/arch/sparc/dest/usr/include -c /u/NetBSD/src/games/rogue/monster.c
*** Error code 1

Stop.
nbmake: stopped in /u/NetBSD/src/games/rogue

*** Failed target:  dependall
*** Failed command: cd /u/NetBSD/src/games/rogue; /u/NetBSD/arch/sparc/TOOLS/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /u/NetBSD/src/games/rogue

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

Stop.
nbmake: stopped in /u/NetBSD/src/games