Subject: Re: toolchain/36409: cannot cross-build netbsd-4 for amd64 on i386
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Greg A. Woods <woods@planix.ca>
List: netbsd-bugs
Date: 05/29/2007 22:15:06
The following reply was made to PR toolchain/36409; it has been noted by GNATS.

From: "Greg A. Woods" <woods@planix.ca>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: toolchain/36409: cannot cross-build netbsd-4 for amd64 on i386
Date: Tue, 29 May 2007 18:11:49 -0400

 --pgp-sign-Multipart_Tue_May_29_18:11:43_2007-1
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 
 OK, now the sparc build dies here:
 
 $ cd sys/arch/sparc/stand/bootxx
 $ nbmake-sparc dependall
 depending the kern library objects
 depending the sa library objects
 making sure the sa library is up to date...
 `libsa.a' is up to date.
 making sure the kern library is up to date...
 `libkern.a' is up to date.
 $ nbmake-sparc install
 making sure the sa library is up to date...
 `libsa.a' is up to date.
 making sure the kern library is up to date...
 `libkern.a' is up to date.
 #   install  /build/woods/always/netbsd-4-sparc-ssv8-destdir/usr/mdec/bootxx
 STRIP=3D/build/woods/always/netbsd-4-i386-sparc-tools/bin/sparc--netbsdelf-=
 strip /build/woods/always/netbsd-4-i386-sparc-tools/bin/nbinstall -U -M /bu=
 ild/woods/always/netbsd-4-sparc-ssv8-destdir/METALOG -D /build/woods/always=
 /netbsd-4-sparc-ssv8-destdir -h sha1 -N /building/work/woods/m-NetBSD-4/etc=
  -c -p -r -o root -g wheel -m 444  -s bootxx /build/woods/always/netbsd-4-s=
 parc-ssv8-destdir/usr/mdec/bootxx
 strip: /build/woods/always/netbsd-4-sparc-ssv8-destdir/usr/mdec/inst.21203a=
 : File format not recognized
 nbinstall: stripping /build/woods/always/netbsd-4-sparc-ssv8-destdir/usr/md=
 ec/inst.21203a: No such file or directory
 
 *** Failed target:  /build/woods/always/netbsd-4-sparc-ssv8-destdir/usr/mde=
 c/bootxx
 *** Failed command: STRIP=3D/build/woods/always/netbsd-4-i386-sparc-tools/b=
 in/sparc--netbsdelf-strip /build/woods/always/netbsd-4-i386-sparc-tools/bin=
 /nbinstall -U -M /build/woods/always/netbsd-4-sparc-ssv8-destdir/METALOG -D=
  /build/woods/always/netbsd-4-sparc-ssv8-destdir -h sha1 -N /building/work/=
 woods/m-NetBSD-4/etc -c -p -r -o root -g wheel -m 444 -s bootxx /build/wood=
 s/always/netbsd-4-sparc-ssv8-destdir/usr/mdec/bootxx
 *** Error code 1
 
 Stop.
 nbmake: stopped in /building/work/woods/m-NetBSD-4/sys/arch/sparc/stand/boo=
 txx
 
 $ cd /build/woods/always/netbsd-4-*-obj/usr/src-4/sys/arch/sparc/stand/boot=
 xx
 $ file *
 bootxx:     data
 bootxx.d:   ASCII text
 bootxx.o:   ELF 32-bit MSB relocatable, SPARC, version 1 (SYSV), not stripp=
 ed
 bootxx.sym: ELF 32-bit MSB executable, SPARC, version 1 (SYSV), statically =
 linked, not stripped
 dvma.d:     ASCII text
 dvma.o:     ELF 32-bit MSB relocatable, SPARC, version 1 (SYSV), not stripp=
 ed
 lib:        directory
 machine:    symbolic link to `/building/work/woods/m-NetBSD-4/sys/arch/spar=
 c/stand/bootxx/../../../../arch/sparc/include'
 promdev.d:  ASCII text
 promdev.o:  ELF 32-bit MSB relocatable, SPARC, version 1 (SYSV), not stripp=
 ed
 promlib.d:  ASCII text
 promlib.o:  ELF 32-bit MSB relocatable, SPARC, version 1 (SYSV), not stripp=
 ed
 sparc:      symbolic link to `/building/work/woods/m-NetBSD-4/sys/arch/spar=
 c/stand/bootxx/../../../../arch/sparc/include'
 srt0.d:     ASCII text
 srt0.o:     ELF 32-bit MSB relocatable, SPARC, version 1 (SYSV), not stripp=
 ed
 
 $ ll /build/woods/always/netbsd-4-sparc-ssv8-destdir/usr/mdec/
 total 548
 8366842 128 -r--r--r--  2 woods  wheel  65520 May 29 16:56 boot
 8366842 128 -r--r--r--  2 woods  wheel  65520 May 29 16:56 boot.388000
 8366845 132 -r--r--r--  1 woods  wheel  65552 May 29 16:56 boot.net
 8366843 160 -r--r--r--  1 woods  wheel  80876 May 29 16:56 bootjs.net
 
 
 --=20
 						Greg A. Woods
 						Planix, Inc.
 
 <woods@planix.com>     +1 416 489-5852 x122     http://www.planix.com/
 
 --pgp-sign-Multipart_Tue_May_29_18:11:43_2007-1
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: PGPfreeware 5.0i for non-commercial use
 MessageID: BiiblP4zBmxgphRje6TAAZ68TEt2b+Tu
 
 iQA/AwUBRlylH2Z9cbd4v/R/EQL+lwCgwgi/HCSMYGAzgdKub4sMBSU8oX0AmgLU
 Bk+0QTdCoxNOU6/Nm9ICt5Gp
 =+Xef
 -----END PGP SIGNATURE-----
 
 --pgp-sign-Multipart_Tue_May_29_18:11:43_2007-1--