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/31/2007 17:45:04
The following reply was made to PR toolchain/36409; it has been noted by GNATS.
From: "Greg A. Woods" <woods@planix.ca>
To: NetBSD GNATS <gnats-bugs@NetBSD.org>
Cc: NetBSD ToolChain Manager <toolchain-manager@netbsd.org>
Subject: Re: toolchain/36409: cannot cross-build netbsd-4 for amd64 on i386
Date: Thu, 31 May 2007 13:43:01 -0400
--pgp-sign-Multipart_Thu_May_31_13:43:01_2007-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
At Tue, 29 May 2007 22:15:06 +0000 (UTC), Me-planix.ca wrote:
Subject: Re: toolchain/36409: cannot cross-build netbsd-4 for amd64 on i386
>=20
> OK, now the sparc build dies here:
OK, this should probably be a separate PR, but in one sense it's all
related to cross-builds failing regardless of the source/target, so
here's the fix for the first few i386->sparc problems:
Index: sys/arch/sparc/stand/bootxx/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvs/master/m-NetBSD/main/src/sys/arch/sparc/stand/bootxx/Makefil=
e,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- sys/arch/sparc/stand/bootxx/Makefile 11 Dec 2005 12:19:08 -0000 1.16
+++ sys/arch/sparc/stand/bootxx/Makefile 31 May 2007 17:22:30 -0000
@@ -6,7 +6,6 @@
.include "../Makefile.buildboot"
=20
CPPFLAGS+=3D -DBOOTXX -DLIBSA_NO_CLOSE
-STRIPFLAG=3D
LINKFLAGS=3D -N -Ttext ${RELOC_BOOTXX} -e start
CLEANFILES+=3D ${PROG}.sym
=20
@@ -22,3 +21,5 @@
${OBJCOPY} -O binary ${.TARGET}.sym ${.TARGET}
=20
.include <bsd.prog.mk>
+
+STRIPFLAG=3D
Index: sys/arch/sparc/stand/bootblk/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvs/master/m-NetBSD/main/src/sys/arch/sparc/stand/bootblk/Makefi=
le,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- sys/arch/sparc/stand/bootblk/Makefile 28 Aug 2006 13:38:43 -0000 1.10
+++ sys/arch/sparc/stand/bootblk/Makefile 31 May 2007 17:33:54 -0000
@@ -14,7 +14,6 @@
bootblk bootblk.text bootblk.text.tmp
=20
NOMAN=3D # defined
-STRIPFLAG=3D
=20
USE_GENASSYM?=3D no
=20
@@ -57,3 +56,4 @@
../fakeboot/fakeboot -elf32 <bootblk.text >/bootblk.text
=20
.include <bsd.prog.mk>
+STRIPFLAG=3D
--=20
Greg A. Woods
Planix, Inc.
<woods@planix.com> +1 416 489-5852 x122 http://www.planix.com/
--pgp-sign-Multipart_Thu_May_31_13:43:01_2007-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: /2CIyCKKtpa+zLJhnBUWfAKx1ZBvg6kL
iQA/AwUBRl8JJWZ9cbd4v/R/EQJOoQCgsfU6UtQjojHzpTznNc6YtdlmMx8An0OS
OM9w1DxItBu+0H3KsGp386wh
=+lcl
-----END PGP SIGNATURE-----
--pgp-sign-Multipart_Thu_May_31_13:43:01_2007-1--