Subject: Re: build fails in gnu/libexec/uucp/cu
To: None <mipam@ibb.net>
From: Marko =?iso-8859-1?Q?Sch=FCtz?= <MarkoSchuetz@web.de>
List: netbsd-help
Date: 12/17/2002 18:05:23
From: Mipam <mipam@ibb.net>
Subject: Re: build fails in gnu/libexec/uucp/cu
Date: Tue, 17 Dec 2002 14:56:38 +0100

> On Tue, Dec 17, 2002 at 01:34:16PM +0100, Marko Sch?tz wrote:
> 
> [SNIP]
> 
> > In /etc/mk.conf I have
> > 
> > BSDOBJDIR=/usr/nbtmp/bsdobj
> > TOOLDIR=/usr/nbtmp/tools
> > BSDSRCDIR=/usr/src
> > COPT+=-O9 -march=i686 -mcpu=i686
> > CXXFLAGS+= -O3 -mcpu=i686 -march=i686
> > CFLAGS+= -O3 -mcpu=i686 -march=i686
> 
> Some things are overlapping in here.
> Remove CFLAGS and CXXFLAGS and use
> COPTS+= ....... instead of COPT.
> And be ware about using -O3 I've had exeriences where I'd
> run into unstable adventures after a build with -O3.

Did that.

> 
> > MAKECONF=/etc/mk.conf
> > MKCATPAGES=yes
> > MKCRYPTO=yes
> > MKDOC=yes
> > MKINFO=yes
> > MKLINT=yes
> > MKMAN=yes
> > MKOBJ=yes
> > MKPIC=yes
> > MKPICINSTALL=yes
> > MKPROFILE=yes
> > MKSHARE=yes
> > MKOBJDIRS=yes
> > OBJMACHINE=yes
> 
> A lot of these options are the default.
> Basically when you wish to do a build from scretch and the build
> fails .... clean out the mk.conf or even remove it
> and see what happens then. 

The build already proceeded past the point it used to fail...

Thanks for your help. I really don't see why it failed with my
previous settings...

Marko