Need help with build32.sh script

Steve Kargl sgk at troutmask.apl.washington.edu
Fri Aug 20 16:44:05 PDT 2004


On Fri, Aug 20, 2004 at 06:36:06PM -0500, Conrad J. Sabatier wrote:
> On Fri, 13 Aug 2004 12:38:50 -0700
> Steve Kargl <sgk at troutmask.apl.washington.edu> wrote:
> 
> > 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
> > 
> 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?
> 

Yeah, sure, I guess someone couild add the above.  I simply
added a "mkdir -p $SOMEVAR".  I gave up trying to make it 
work.  It's unfortunate that the person(s) responsible for
breaking make(1), do not have amd64 hardware.

-- 
Steve


More information about the freebsd-amd64 mailing list