Subject: Re: build.sh rlease: failed
To: None <current-users@netbsd.org>
From: Takahiro Kambe <taca@back-street.net>
List: current-users
Date: 02/02/2003 14:33:17
In message <20030202062732.0c625bde.christianbiere@gmx.de>
	on Christian Biere <christianbiere@gmx.de>,
	Re: build.sh rlease: failed wrote:
> > nbmake: stopped in /var/obj/sys/arch/i386/compile/GENERIC
> > *** Error code 1
> > Is there any compiler problem?
> 
> yes, indeed. This has been reported several times in the last month.
> It's a bug in gcc which is still present in 3.2. You have to compile
> with "-Ox" in your CFLAGS/COPTS and x must not be 0 (zero). There's a
Oh!  It was optimizer problem, I see.

> "problem" that COPTS will default to -O2 if they it's not defined. Thus,
> if you define COPTS you have to add this by yourself.
Or adding "makeoptions" in kernel's config file should help.

makeoptions	COPTS="-O0"		# Optimise for space. Implies -O2

Thanks for your reply.

-- 
Takahiro Kambe <taca@back-street.net>