Need help with build32.sh script

Conrad J. Sabatier conrads at cox.net
Fri Aug 20 16:36:15 PDT 2004


On Fri, 13 Aug 2004 12:38:50 -0700
Steve Kargl <sgk at troutmask.apl.washington.edu> 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 <conrads at cox.net> -- "In Unix veritas"


More information about the freebsd-amd64 mailing list