Subject: Re: nbpax crash while building
To: Chris Jones <chris@cjones.org>
From: Todd Vierling <tv@wasabisystems.com>
List: current-users
Date: 01/31/2002 22:48:23
On Thu, 31 Jan 2002, Chris Jones wrote:

: kernlist=`awk '/^config/ {print $2; found=1}  END{ if (found == 0) print "netbsd"; }' /usr/local/tarpit/netbsd/current-src/sys/arch/hpcmips/conf/GENERIC`;  kerndir=/foo/hpcbuild/obj/sys/arch/hpcmips/compile/GENERIC;  cd ${kerndir} &&  tarlist=`for kernel in ${kernlist}; do  echo "${kernel}";  for s in ; do  if [ -f ${kernel}.${s} ]; then  echo "${kernel}.${s}";  fi;  done;  done`;  GZIP=-9 /foo/hpcbuild/obj/tools/tools.NetBSD-1.5X-i386/bin/nbpax -zwf  /foo/hpcbuild/release/binary/sets/kern-GENERIC.tgz ${tarlist}
: Segmentation fault - core dumped
:
: The core in question is nbpax.  gdb says:
:
: #0  0x80595c8 in user_from_uid ()

Yah, this has partly to do with the __weak_alias stuff.

If you update src/tools/compat/namespace.h to rev. 1.2 and rebuild
src/tools/compat and src/tools/pax, you should be fine with this.

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/