Any progress on windows/linux compatibility?

Any progress on windows/linux compatibility?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Any progress on windows/linux compatibility?

Post by clericvash »

I read a while ago you had i think it was some kinf of float problem with windows and linux, i am just wondering if any progress has been made?

I am asking this as there is a second port of spring for linux underway now, and this guy has plans to possibly pick up where omni left off.
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

Okay... I don't know exactly why, but for linux specific questions you are usually better off dealing with the DEV Mailing Listand the Mantis... the progress I know about has been in improving debugging so they could figure out what part of the simulation is having rounding errors...
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Well, at least I check the forums here too, plus we have special linux forum now :D

Anyway, since I'm basically the only one in this community working on it (in branches/tvo3), here's current state:

Finished:
  • Sync Debugger, it has been proved a very valuable tool already in finding out the exact location where desync occurs (and the reason why desync occurs).
  • Sync between linux and linux (different distro, different gcc version, etc.) seems to work fine mostly, as long as both use X87 math or both use SSE math. Mixing the two desyncs, but that's is to be expected (due to a bug in how X87 FPU unit handles denormals)
To do:
  • Modify the code to use the sync debugger in the other 90% of the cases where it applies. (easy but boring)
  • Use the sync debugger to fix desync between linux and MinGW (gcc on windows) (hard).
  • Make sync debugger MSVC compatible (very easy).
  • Use sync debugger to fix desync between linux / MinGW and MSVC (hard).
  • Fix buildsystem, as the one I currently use is a bit too hackish (easy but boring).
  • Alpha and betatest :-)
I don't promise anything, but if the desyncs aren't extremely hard to fix, an ETA could be end of August / begin of September.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Wow that is pretty awesome, i was expecting a "Nothing has come of it yet" kind of answer.

Man you lot suprise me, more and more, i love you guys :D
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

Make sync debugger MSVC compatible (very easy).
Is it? I thought you needed debugging functions for doing things like backtraces, and I'm not sure how well supported that is on msvc..
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

backtracing is disabled anyway on windows (MinGW doesn't have backtrace() either)... I ment removing other potential gcc-isms (if any) from the sync debugger.
(ie. I don't plan on supporting sync debugging between windows and windows, you always need the server to run on linux for the backtrace function)

Obviously, if someone writes a windows backtrace function (backtrace() can probably be easily done with some inline assembler & knowledge of the stack, backtrace_symbols() is possibly a lot harder, need to load debugging symbols and stuff...), I'd happily include it.
Post Reply

Return to “Engine”