Subject: Need help with classifying a PR
To: NetBSD Current Users <current-users@netbsd.org>
From: Peter Eisch <peter@boku.net>
List: current-users
Date: 11/24/2004 00:02:53
I'm cross-building sparc64 with build.sh on i386. Would this get filed as a
sparc64 issue because it builds fine on i386 natively? Or would this be a
i386 issue as it doesn't cross-compile correctly?
Thanks and sorry for the noise on this list.
peter
===> build.sh command: /builds/current/src/build.sh -j 4 -u -o -U -x -M
/builds/current/sparc64/obj -m sparc64 -D /
builds/current/sparc64/dest -R /builds/current/sparc64/release -N 1 -T
/builds/current/sparc64/tools kernel=PETER-F
W releasekernel=PETER-FW release
===> build.sh started: Tue Nov 23 23:06:25 CST 2004
===> MACHINE: sparc64
===> MACHINE_ARCH: sparc64
===> TOOLDIR path: /builds/current/sparc64/tools
===> DESTDIR path: /builds/current/sparc64/dest
===> RELEASEDIR path: /builds/current/sparc64/release
===> makewrapper: /builds/current/sparc64/tools/bin/nbmake-sparc64
===> Updated /builds/current/sparc64/tools/bin/nbmake-sparc64
===> Building kernel without building new tools
===> Building kernel: PETER-FW
===> Build directory:
/builds/current/sparc64/obj/builds/current/src/sys/arch/sparc64/compile/PETE
R-FW
Build directory is
/builds/current/sparc64/obj/builds/current/src/sys/arch/sparc64/compile/PETE
R-FW
Don't forget to run "make depend"
depending the kern library objects
depending the compat library objects
...
(Kernel builds fine)
...
--- getent ---
link getent/getent
--- dependall-gzip ---
dependall ===> usr.bin/gzip
--- dependall-getent ---
/builds/current/sparc64/tools/lib/gcc-lib/sparc64--netbsd/3.3.3/../../../../
sparc64--netbsd/bin/ld: getent.o: Reloc
ations in generic ELF (EM: 3)
getent.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
*** [getent] Error code 1
1 error
nbmake: stopped in /builds/current/src/usr.bin/getent
*** [dependall] Error code 2
1 error
nbmake: stopped in /builds/current/src/usr.bin/getent
*** [dependall-getent] Error code 2
--- dependall-head ---
dependall ===> usr.bin/head
--- dependall-fstat ---
--- fstat ---
link fstat/fstat
--- dependall-head ---
--- dependall ---
--- head ---
link head/head
--- dependall-gzip ---
--- dependall ---
--- gzip ---
link gzip/gzip
1 error
nbmake: stopped in /builds/current/src/usr.bin
*** Failed target: dependall-usr.bin
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; re al="${dir}" ;; .) this="";
real="/builds/current/src" ;; *) this="${dir}/";
real="/builds/current/src/${dir}" ;; es
ac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /builds/current/sparc64/tool
s/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget usr.bin
dependall
*** Error code 2
Stop.
nbmake: stopped in /builds/current/src
*** [do-build] Error code 1
1 error
nbmake: stopped in /builds/current/src
*** Failed target: build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; re
al="${dir}" ;; .) this=""; real="/builds/current/src" ;; *) this="${dir}/";
real="/builds/current/src/${dir}" ;; es
ac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /builds/current/sparc64/tool
s/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget .
do-build
*** Error code 2
Stop.
nbmake: stopped in /builds/current/src
*** [release] Error code 1
nbmake: stopped in /builds/current/src