Subject: Re: build.sh rlease: failed
To: None <taca@back-street.net>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: current-users
Date: 02/02/2003 16:59:46
In article <20030202.143317.60051241.taca@back-street.net>
taca@back-street.net wrote:

> > 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.

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
                       ^^^^^
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp