[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] LDG vs. SLB vs. custom OVL-thingies
Miro Kropáček wrote:
Wow, it seems I've got either serious problems with my setup or gcc has got
some serious CF regressions... just for fun I wanted to try 4.6.0 and it
crashed for coldfire even by mintlib compilation.
Yes, I already mentioned that bug here on the list, it was already known:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47612
The proposed patches cure the crash, but it is still not proven that the fix
produces the expected result, so the patch is not yet committed.
However, it is a minor bug. It appears only for ColdFire when compiling some
printf file in the MiNTLib. For this file only, just replace -O2 with -O1
and the problem goes away.
The ColdFire target seems to be more complicated than 680x0 one. I have seen
that GCC reorders the assembler instructions for better pipeline
performance, this does not happen on other targets.
If you are interested in hacking GCC 4.6.0, my current work in progress is here:
http://vincent.riviere.free.fr/soft/m68k-atari-mint/archives/unsupported/gcc-4.6.0/
I had to rework the patch a bit for libstdc++-v3.
The proposed patch for the MiNTLib's compile crash is not included.
I tested successfully to compile an run some of my favorite software with
that compiler, so it is probably not so buggy.
It produces more warnings than before, FreeMiNT (with its damn -Werror) will
need fixing (I didn't do that).
Final note, I will be away for some time, don't expect much from me the next
weeks.
--
Vincent Rivière