Re: [hatari-devel] MEMWATCH freezes Hatari

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 10/10/2018 à 20:50, Uwe Seimet a écrit :
Hi,

Yes, I build it myself with gcc 7.3.0 under Linux. Looks as if in
particular the PMMU and cycle exact settings are causing problems and
side effects.


hi

I didn't use gcc 7.3.0 myself, I use gcc 8 and also older gcc 4.9.2. In both cases, I don't get any of the crash you get when using PMMU.

Maybe you could try to compile with debug mode (run ./configure --enable-debug) to see if it changes anything. It should also reports some warnings during compilation for the cpu parts. All of them are supposed to be harmless, but could you attach a log file with the compilation results anyway, so I can compare with the warnings I get on my side to see if anything differ ?

Note, by default Hatari adds -O flag even in debug mode and maybe some optimisations are related to what you get with PMMU.

Could you also edit CMakeLists.txt on line 268 and comment this line :
set(CMAKE_C_FLAGS "-O ${CMAKE_C_FLAGS}")
then try again ./configure --enable-debug ; make clean ; make to see if the build works better in your case.

Sorry for all these tests, but it's hard to go further at the moment if I can't replicate any of your issues :(

Nicolas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/