Compiling for powerpc (Darwin 9/OS X 10.5)
#8
(03-09-2012, 07:20 PM)xoft Wrote: I'm trying to put in some GCC attributes to force alignment. I'd need you to test it out after I get it working and commit it.

Also it'd be extremely useful if you could provide some variable values when the server crashes, such as the m_CriticalSectionPtr in the screenshot you provided.
Please try it now with rev 387.

Actually, I got it to run on r386 just fine using a very weird trick that by all means, should appear to do nothing.

I commented out the following lines in cEvent.cpp

28: LOGWARN("WARNING cEvent: Could not create unnamed semaphore, fallback to named.");

31: ASSERT(!"This codepath is really weird, if it is ever used, please check that everything works.");

Aren't those just making log entries? It runs perfect with them commented out.

Anyhow, I made some other really small changes to get it to compile (mostly in cMonster.cpp). If you want I can upload them. I'll try build 387 for fun as well.
Same issue with 387, and same fix.
Reply
Thanks given by:


Messages In This Thread
RE: Compiling for powerpc (Darwin 9/OS X 10.5) - by R-T-B - 03-09-2012, 08:13 PM



Users browsing this thread: 5 Guest(s)