Subject: Re: port-amd64/28586: building generic on amd64 fails using rc5
To: Wouter Schoot <>
From: None <>
List: netbsd-bugs
Date: 12/08/2004 11:46:29
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:
> >Release:        NetBSD 2.0_RC5
> >Organization:
> >Environment:
> System: NetBSD 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.
> 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
> ./ tools
> # GENERIC, with only options         COMPAT_LINUX commented out
> /usr/src/tooldir.NetBSD-2.0_RC5-x86_64/bin/nbconfig GENERIC
> cd ../compile/GENERIC/
> /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
> I put the output on my webserver because it's quite some text:

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
and nothing else.  I mean, really.

Quentin Garnier - -
"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.

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.6 (NetBSD)