Subject: Re: nbcksum core dumps on amd64
To: None <cube@cubidou.net>
From: James Chacon <jmc@NetBSD.org>
List: tech-toolchain
Date: 06/16/2004 11:33:38
On Wed, Jun 16, 2004 at 04:10:31PM +0200, cube@cubidou.net wrote:
> On Wed, Jun 16, 2004 at 01:39:53PM +0200, Nicolas Joly wrote:
> > On Tue, Jun 15, 2004 at 11:54:09PM -0500, sgimips NetBSD list wrote:
> > > I've recently started using an amd64 machine as a host for my nightly
> > > release builds for a number of platforms and have discovered that
> > > nbcksum core dumps on the amd64.
> > > 
> > > I discovered it in the build.sh logs after the world had been built
> > > and the release sets were checksummed.  I investigated further and
> > > found that nbcksum itself simply dumps core, even without any
> > > command-line parameters:
> > 
> > I'm seeing this on 2 amd64 2.0F machines. I discovered it with
> > `nbstat' ... i just checked that other tools are affected as well.
> 
> Reverting src/tools/compat/compat_defs.h to revision 1.35 makes the
> issue go away for me.
> 
> There's something bad, there.
> 
> Could someone try to build 64 -> 32 bits tools for another set of
> platforms and see if it has the same symptoms?
> 

Ugg...I knew the tools process had hidden areas that were breaking it due
to inherent "we're on NetBSD!" pieces getting picked up on native builds.

Ok. I'll look and figure out what's going wrong here. 

James