[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] gcc 4.2.2 compile error



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