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

Re: [MiNT] gcc 4.2.2 compile error



> [1] They rewrote how gcc parses/optimizes the code to be able to
>      improve it, so I'm not surprised it's at first slower in doing
>      compilations.
>
well, the problem isn't slower compilation but the _crashing_
compilation. the build process is unbelievable ineffective -- I have
to watch 'make' to spot a crash, change -O2 to -O1 or -O0, then
compile that file again and run 'make' from toplevel again... and to
pray next file will be OK.

I've even tried to compile it at aranym, 1 GB of memory is still for
some sources too few !!! (with -O2). This isn't slower compilation,
this is bug as hell. I'm really curious when they managed to fix it.

The next question is how to automate this thing -- let's say I'll made
the list of "problem" files which needs -O1, would it be hard to make
some patch which will replace -O2 in stage2 for these files?

-- 
MiKRO / Mystic Bytes
http://mikro.atari.org