From owner-freebsd-amd64@FreeBSD.ORG Fri Aug 20 23:36:15 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B57816A4CE for ; Fri, 20 Aug 2004 23:36:15 +0000 (GMT) Received: from lakermmtao08.cox.net (lakermmtao08.cox.net [68.230.240.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id E01BB43D49 for ; Fri, 20 Aug 2004 23:36:14 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.71.51]) by lakermmtao08.cox.net (InterMail vM.6.01.03.02.01 201-2131-111-104-103-20040709) with ESMTP <20040820233611.BXWZ28752.lakermmtao08.cox.net@dolphin.local.net>; Fri, 20 Aug 2004 19:36:11 -0400 Received: from dolphin.local.net (localhost.local.net [127.0.0.1]) by dolphin.local.net (8.13.1/8.13.1) with SMTP id i7KNaCTW003787; Fri, 20 Aug 2004 18:36:12 -0500 (CDT) (envelope-from conrads@cox.net) Date: Fri, 20 Aug 2004 18:36:06 -0500 From: "Conrad J. Sabatier" To: freebsd-amd64@freebsd.org Message-Id: <20040820183606.4c344b42@dolphin.local.net> In-Reply-To: <20040813193850.GA69108@troutmask.apl.washington.edu> References: <20040813193850.GA69108@troutmask.apl.washington.edu> X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; amd64-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: Steve Kargl Subject: Re: Need help with build32.sh script X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 23:36:15 -0000 On Fri, 13 Aug 2004 12:38:50 -0700 Steve Kargl wrote: > Gang, > > I've patched tool/lib32/build32.sh to deal with the > new make(1) and its behavior with respect to MAKEOBJDIRPREFIX, > but build32.sh seems to be dying because of gcc 3.4.2. During > execution, I see thousands of lines similar to > > /usr/src/secure/lib/libcrypto/i386/sha1-586.s:1533: Error: `60(%esp)' > is not a valid 64 bit base/index expression > > Any insight would be appreciated. I'm only just trying this thing out for the first time today. Was a little leery of it after reading the big "XXX Beware" section re: includes. :-) Anyway, just wanted to pass on to you one problem I encountered right away. The following snippet breaks the script if /tmp/i386 doesn't already exist: # Set up an obj tree chflags -R noschg /tmp/i386 rm -rf /tmp/i386 Perhaps it should be wrapped in an "if [ -d /tmp/i386 ]" statement? -- Conrad J. Sabatier -- "In Unix veritas"