Subject: Re: port-amd64/31583: bootxx_cd9660 breaks amd64 build
To: None <port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Scott Ellis <scotte@intrepid.dnsalias.com>
List: netbsd-bugs
Date: 10/14/2005 21:33:02
The following reply was made to PR port-amd64/31583; it has been noted by GNATS.

From: Scott Ellis <scotte@intrepid.dnsalias.com>
To: gnats-bugs@netbsd.org
Cc: port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: port-amd64/31583: bootxx_cd9660 breaks amd64 build
Date: Fri, 14 Oct 2005 13:29:52 -0700

 On Fri, Oct 14, 2005 at 06:33:18PM +0000, Jeff Rizzo wrote:
 >  
 >  Have you tried cleaning out your old object directories?  I don't
 >  encounter this problem when using ./build.sh with -M  ...
 
 I actually have tried that...in fact, this bit me before, so I now build
 using a quick script that does:
 
 #!/bin/csh
 cd /usr/src
 echo "Cleaning..."
 find . -name obj.amd64 -type d | xargs rm -rf
 echo "Starting build..."
 ./build.sh -D /misc/netbsd_build/amd64/destdir -T /misc/netbsd_build/amd64/toold
 ir -R /misc/netbsd_build/amd64/releasedir release >&foo.amd64
 echo "Kernel INTREPID.AMD64"
 ./build.sh -D /misc/netbsd_build/amd64/destdir -T /misc/netbsd_build/amd64/toold
 ir -R /misc/netbsd_build/amd64/releasedir kernel=INTREPID.AMD64 >&foo.amd64kerne
 l
 echo "Done!"
 
 So, the obj.amd64 directories are explicitly removed before the build process.