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 17:10:19
In message <20030202074425.35d51022.christianbiere@gmx.de>
on Christian Biere <christianbiere@gmx.de>,
Re: build.sh rlease: failed wrote:
> Takahiro Kambe <taca@back-street.net> wrote:
> > makeoptions COPTS="-O0" # relax optimization for temporary workaround
>
> I think this is a misunderstanding. It won't work with "-O0". You have
> to use -O1 or -O2 or -O3 or whatever but NOT -O0. If you don't need a
> completly automatic build you can just copy&paste the last call to gcc,
> add -O2 to it and resume the build.
I was half asleep. Thanks for your reply...
In message <200302020759.h127xkk10147@mirage.ceres.dti.ne.jp>
on Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>,
Re: build.sh rlease: failed wrote:
> > Oh! It was optimizer problem, I see.
>
> No, this problem happens if you do _not_ specify any optimization.
> I guess you set COPTS="-pipe" but forgot to add -O2 in it:
>
> >> cc -ffreestanding -pipe -Werror -Wall -Wno-main
Yeah. I added to /etc/mk.conf recently:
COPTS+=-pipe
Anyway, it seems that help me.
makeoptions COPTS="-O2"
--
Takahiro Kambe <taca@back-street.net>