Subject: Re: port-amd64/28586: building generic on amd64 fails using rc5
To: Wouter Schoot <ascent@schoot.org>
From: None <cube@cubidou.net>
List: netbsd-bugs
Date: 12/08/2004 11:46:29
--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Dec 08, 2004 at 10:33:00AM +0000, Wouter Schoot wrote:
> >Number:         28586
> >Category:       port-amd64
> >Synopsis:       building generic on amd64 fails using rc5
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    port-amd64-maintainer
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Wed Dec 08 10:33:00 +0000 2004
> >Originator:     ascent@schoot.org
> >Release:        NetBSD 2.0_RC5
> >Organization:
> >Environment:
> System: NetBSD ascent2.student.utwente.nl 2.0_RC5 NetBSD 2.0_RC5 (GENERIC=
) #0: Sun Nov 14 08:51:13 CET 2004 tecneeq@ascent:/home/tecneeq/builds/NetB=
SD-2.0_RC5-amd64-obj/sys/arch/amd64/compile/GENERIC amd64
> Architecture: x86_64
> Machine: amd64
> >Description:
> I tried to build a custom kernel on my amd64 but it didn't quite work out.
> build.sh tools went fine, nbconfig went fine too, but nbmake'ing it faile=
d. Tried GENERIC and it had about the same. cross-building the kernel for a=
md64 on another arch works fine. This is with cvs checkout from 2.0-release=
 from a few hours ago from the main cvs server. nbmake depend fails on some=
thing with linux compat.. Commented that out, and then it still fails, but =
not in depend anymore.
> >How-To-Repeat:
> # Build the tools
> cd /usr/src
> ./build.sh tools
>=20
> # GENERIC, with only options         COMPAT_LINUX commented out
> /usr/src/tooldir.NetBSD-2.0_RC5-x86_64/bin/nbconfig GENERIC
> cd ../compile/GENERIC/
>=20
> /usr/src/tooldir.NetBSD-2.0_RC5-x86_64/bin/nbmake depend goes fine,=20
> /usr/src/tooldir.NetBSD-2.0_RC5-x86_64/bin/nbmake fails.=20
>=20
> I put the output on my webserver because it's quite some text:
> http://ascent.student.utwente.nl/~ascent/typescript

You're not supposed to use 'nbmake' directly.  The correct interface
to use 'nbmake-${ARCH}' where ARCH is the target of the cross-
compilation toolchain.

But anyway, you really, really, really, really should use build.sh
and nothing else.  I mean, really.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"Commala-come-five! / Even when the shadows rise!
To see the world and walk the world / Makes ya glad to be alive."
Susannah's Song, The Dark Tower VI, Stephen King, 2004.

--GvXjxJ+pjyke8COw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQbbbhdgoQloHrPnoAQIJ7QgArULiVmMHsVJEkVfeHwXEuUQaqn1LpWA9
4UmPRTSFGdQ1uLCGRMuZC5w6I27zt+8I2DjQaUTTe3xcuZLhNVA92AWGQofSjjaK
wbzLLPscoTewDB3P2BL93tLP4bMn+nSVmljb0BBfObQdv5F3DwBjQmPZxodm5yNQ
1HrV5Zzq59oPt0LneLdBUOKC4i7hZwz5oIPdRTFB4aa7zr4m5LUNtAR4tIWgffXo
K8+EtnNVvBfVM6ltB+VlVDkLlGh6KBm8INL/MuJFJNMDxYAuJeuVA2/zE0YT26tU
DRWAIpfyYfUQWPkqwhZvQsyfXYDKDenaLGCl7nGPyp9Bb/GdfLF0DA==
=l69G
-----END PGP SIGNATURE-----

--GvXjxJ+pjyke8COw--