Hi Jon, Here is what I do to build BOINC itself. I don't know if this will help. However, the Mac stack trace code does compile properly when I use this technique. Unfortunately, I don't know what might cause the error 11 in your OpenCL apps. If you are not getting an adequate back trace from BOINC, you might try temporarily modifying the lib/diagnostics.cpp to not intercept signals. This will let the OS generate a system repot with a back trace. Be sure to use a debug build so it has all symbols.
Unfortunately, wxWidgets 2.8.10 will not build with an SDK later than OS 10.6, because it still contains QuickDraw calls. Apple removed all QuickDraw headers as of the OS 10.7 SDK (because they are long ago deprecated), even though the APIs are still supported by OS 10.8.x. I have brought this to the attention of the wxWidgets developers and they have promised to fix it, but as of wxWidgets 2.9.4 it had not been fixed. I see that wxWidgets 2.9.5 has finally been released, but I have not yet had a chance to test it. However, there have been extensive changes to the wxWidgets APIs as of version 2.9.x and so it will take us a while to switch BOINC to it, and will then require lots of testing. My solution is to build under OS 10.7.5 using Xcode 4.x using the OS 10.6 SDK. To do this, I first copied the OS 10.6 SDK from an older version of Xcode into the directory with the other SDKs: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ This works on OS 10.7.5 as of Xcode 4.6.3. I don't know if this works under OS 10.8 or the Xcode 5 Betas. Quite frankly, I hate OS 10.8 so much i avoid using it except when I absolutely must for testing. I keep multiple partitions on my hard drives (I now have 3 installed in my Mac Pro) and they boot into OS 10.6, OS 10.7 and OS 10.8 on my Mac Pro (it won't run anything older.) I also have an older iMac with partitions for OS 10.4 and OS 10.5 for testing. I hope this helps Cheers, --Charlie On Aug 9, 2013, at 8:47 AM, Jon Sonntag wrote: > In order to make BOINC compatible with old operating systems, it is > customary to use older than normal operating systems (e.g. OS X 10.4/10.5) > in order to compile applications. There are a few issues with that. > First, most of the CUDA libraries will NOT install on those older operating > system versions. But, if you attempt to compile BOINC on a new version, > the MAC stack trace code is woefully out of date and will not compile. > That means commenting it all out which means no idea where the error > is occurring. Here's what I've done so far: > > OS X 10.8.2 with XCode 4.2 (or is it 4.3 -- whatever is standard with > 10.8.2) > nVidia 8400 GS (about as old and slow as one can get) > using -static-stdgcc -m64 to compile. > I tried using the O X 10.7 SDK with the min client version flag of 10.6 but > that resulted in an "error 11" crash on OS X 10.6 and also 10.7 clients. I > then linked the 10.6 SDK to the XCode 4.2 folder so I could use that SDK. > Once again, the app compiles fine and runs fine on OS X 10.8 but fails with > error 11 on OS X 10.6.x and 10.7.x. machines. > > So, any suggestions? I'm about to ready to tell the pre-OS X 10.8 users > just to upgrade to 10.8.2 or, even better, trade their MAC in for a PC. ;-) > > Jon Sonntag > _______________________________________________ > boinc_dev mailing list > [email protected] > http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev > To unsubscribe, visit the above URL and > (near bottom of page) enter your email address. > _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
