From mint-bounce@lists.fishpool.fi  Tue Jan 22 17:32:21 2008
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
Message-ID: <1199457433.477e4499b59ac@webmail.utbm.fr>
Date: Fri, 04 Jan 2008 15:37:13 +0100
From: "Olivier.Landemarre@utbm.fr" <Olivier.Landemarre@utbm.fr>
To: Vincent =?iso-8859-1?b?Uml2aehyZQ==?= <vincent.riviere@freesbee.fr>
Cc: mint@fishpool.com
Subject: Re: [MiNT] gcc 4.2.2 compile error
References: <c6533ef60801011247x7114e5f8xfce6ccd1ad10272@mail.gmail.com>  <477CCF51.8030708@freesbee.fr>  <c6533ef60801030415l3a286262id4b7e397e99ffdc2@mail.gmail.com>  <200801032257.16394.oak@helsinkinet.fi> <c6533ef60801040104n373a0497l9d9afc37cd426957@
In-Reply-To: <477E0807.5060708@freesbee.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: Olivier.Landemarre@utbm.fr
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=AWL,
 BAYES_00
X-Spam-Level: 
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by freemint id m0MGP1dG004618
Status: 
X-Status: 
X-Keywords:                   

Selon Vincent Rivière <vincent.riviere@freesbee.fr>:

> Olivier.Landemarre@utbm.fr wrote :
> > I know a bug in gcc generally avaible on BSD ports, some long file with an
> > enumeration of functions (like a big list of opengl function (I have this
> sort
> > of code)), then the optimizer crash probably with a stack overflow.
> Solution is
> > quite simple add -o0 as optimisation flag and then it's ok.
>
> I'm pretty sure that the solution is here.
> I remember that it has worked for me on some cases.
> Note that to turn off the optimization, the option is -O0 (capital O and
> zero). Another option is to remove -O2.

Sorry I'm a little bit sick! Yes this is -O0 !!!!

Olivier


