Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Builds Compatible with OS X 10.6[.8] x86?
#1
I'm trying to get PPSSPP working on a Snow Leopard (10.6.8) machine with an i386 processor. SDL2 is installed. Any of Mac the builds I try from the official site (and a few of the more current other build sites) give me a "not supported by this type of Mac" error. I'm not sure if this has to do with the fact that the machine has a 32-bit processor or if there are some additional missing dependencies.

Not being a competent C-compiler, I attempted building it from source with a brew-installed GCC 4.8 (cmake -DCMAKE_C_COMPILER=/usr/lib/gcc-4.8 -DCMAKE_CXX_COMPILER=/usr/lib/g++-4.8), but when I run `make` I get an "Unrecognized Command Line Option '-stdlib=libc++'" error right off the bat.

From what I understand libc++ is a clang option and is not supported by the clang that comes with XCODE 4.2. This was surprising given my cmake parameters. Brew seems to have trouble installing a newer version of clang which might support libc++ on my device, as it gets stuck in an infinite settings-recheck loop.

So I'm wondering, does anybody know of PPSSPP builds that run on an i386 OS X 10.6[.8] machine, or instructions for how to build it while on a 10.6[.8] machine? Compilation seems to be more complicated than usual on the 10.6.X line. Thanks.
Reply
#2
Yeah, you have to make a few tweaks to get it to compile on 10.6. It still works though.

1. Just remove the stdlib option from the CMakeLists.txt file.

2. You'll need to add a strnlen() implementation somewhere.

3. It's not necessarily well tested but it should run.

I don't have the changes with me just now, unfortunately.

Another option is wine.

-[Unknown]
Reply
#3
If you were able to dig up those changes at some point I'd much appreciate it.

In the meantime, I'll give WINE a spin, although I suspect the performance impact of running nested emulators on aging hardware would be substantial.

I also found the relevant line in CMakeLists.txt
Code:
elseif(APPLE) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} [b]--stdlib=libc++[/b] [...]
and deleted the bolded part.

Interestingly, there's one comment from vit9696 saying OS X 10.6 builds are possible, but the forum topic link it points to is no longer valid.

`make`ing the output of the updated `cmake` gives me a new error in CPUDetect.cpp -- no such instruction 'xgetbv'. I get the internet impression that that issue is because I'm using the GNU assembler instead of a native assembler, so I'll muck around with either changing compilation flags or maybe just hacking the code a bit since I know my target deployment, but I'm well out of my league at this point.
Reply
#4
WINE doesn't hit PPSSPP hard because mostly it's just OpenGL calls, which pass right through.

Oh right, just replace this:
Code:
static unsigned long long _xgetbv(unsigned int index) { unsigned int eax, edx; __asm__ __volatile__("xgetbv" : "=a"(eax), "=d"(edx) : "c"(index)); return ((unsigned long long)edx << 32) | eax; }

In that file with:
Code:
static unsigned long long _xgetbv(unsigned int index) { return 0; }

I think the version of gas doesn't support the instruction which is rather new.

You can use this strnlen probably:
http://www.opensource.apple.com/source/b.../strnlen.c

Just copy and paste the function in for any file that gives an error about it being missing.

-[Unknown]
Reply
#5
Hmm. I've gotten it to compile but it crashes immediately upon launch. I made changes very similar to what you mentioned, and I had to include "sys/types.h" in one other class and fiddle with the FFMPEG stuff, which was hardcoded to build x86_64 even though it appeared to have no trouble building for i386.

Here's (I think?) the relevant part of the stack dump I'm getting. I'll see what I can do about making sense of it, although I'm even further out of my depth now. At this point I'm taking notes, just in case I do end up successful and some other stranger would like to build under these conditions.

Code:
Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 libstdc++.6.dylib 0x01844a95 std::locale::operator=(std::locale const&) + 21 1 libstdc++.6.dylib 0x01843cf9 std::ios_base::_M_init() + 57 2 libstdc++.6.dylib 0x018540c5 std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*) + 21 3 0x003191a7 FileLogListener::FileLogListener(char const*) + 199 4 0x003196a3 LogManager::LogManager() + 371 5 0x00319791 LogManager::Init() + 33 6 0x000078d4 NativeInit(int, char const**, char const*, char const*, char const*, bool) + 964 7 0x00735b5b main + 2091 8 ??? 0x00000002 0 + 2

If anyone wants to dig in to these memory dumps and needs more information about anything, let me know. This has become a bit of a quest.
Reply
#6
Hmm, I think the Mac I got it to work on with 10.6 was running x64.

Hmm, anyway, this trace seems odd. It seems to be crashing while trying to open a log file. How are you starting it?

Anyway, we can just disable logging for now and see if we win anything. In Common/LogManager.cpp, find these lines:

Code:
#ifdef _WIN32 m_logfile.open(ConvertUTF8ToWString(filename).c_str(), std::ios::app); #else m_logfile.open(filename, std::ios::app); #endif SetEnable(true);

Replace with:

Code:
SetEnable(false);

-[Unknown]
Reply
#7
I'm just double-clicking the `make`d executable from the Finder. I updated the code as per your suggestion, but I'm still getting a very similar error, this time with the whole crash dump included.

I'll have to brush up on my understanding of C++ / Apple style crash reports, as I can kind of see how you made the association from what I posted but don't understand it well enough to do any meaningful debugging on my own.

Things are complicated somewhat by the fact that this is my first time using a Mac since the actual Macintosh days (even then it wasn't mine) and that I'm running this under a VM (info below). I don't think having a 3MB graphics card has any effect on the errors I'm seeing, but there are more unknowns than I'd like.

My hope is to get a working (non-immediately-crashing) build then give it to the friend who has the actual i368 10.6.8 Mac, which I don't have frequent access to. The alternative, `brew install wine`, is giving me kernel panics; those I suspect are VM-related.

Code:
Process: PPSSPPSDL [571] Path: /Users/hammerbro/ppsspp_dev/build-osx-fat/PPSSPPSDL.app/Contents/MacOS/PPSSPPSDL Identifier: ??? Version: () Code Type: X86 (Native) Parent Process: launchd [77] Date/Time: 2015-04-12 11:42:36.092 -0700 OS Version: Mac OS X 10.6.8 (10K549) Report Version: 6 Interval Since Last Report: 73870 sec Crashes Since Last Report: 1987 Per-App Interval Since Last Report: 1 sec Per-App Crashes Since Last Report: 6 Anonymous UUID: 06B79E4D-403E-44E9-A81F-91AB8FD1949B Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 libstdc++.6.dylib 0x01844a95 std::locale::operator=(std::locale const&) + 21 1 libstdc++.6.dylib 0x01843cf9 std::ios_base::_M_init() + 57 2 libstdc++.6.dylib 0x018540c5 std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*) + 21 3 0x00319270 FileLogListener::FileLogListener(char const*) + 192 4 0x003196e3 LogManager::LogManager() + 371 5 0x003197d1 LogManager::Init() + 33 6 0x00007a34 NativeInit(int, char const**, char const*, char const*, char const*, bool) + 964 7 0x00735b9b main + 2091 8 ??? 0x00000002 0 + 2 Thread 1: Dispatch queue: com.apple.libdispatch-manager 0 libSystem.B.dylib 0x019c9382 kevent + 10 1 libSystem.B.dylib 0x019c9a9c _dispatch_mgr_invoke + 215 2 libSystem.B.dylib 0x019c8f59 _dispatch_queue_invoke + 163 3 libSystem.B.dylib 0x019c8cfe _dispatch_worker_thread2 + 240 4 libSystem.B.dylib 0x019c8781 _pthread_wqthread + 390 5 libSystem.B.dylib 0x019c85c6 start_wqthread + 30 Thread 2: 0 libSystem.B.dylib 0x019c8412 __workq_kernreturn + 10 1 libSystem.B.dylib 0x019c89a8 _pthread_wqthread + 941 2 libSystem.B.dylib 0x019c85c6 start_wqthread + 30 Thread 3: Dispatch queue: com.apple.opengl.glvmDoWork 0 libSystem.B.dylib 0x019a2afa mach_msg_trap + 10 1 libSystem.B.dylib 0x019a3267 mach_msg + 68 2 libCoreVMClient.dylib 0x072111aa cvmsServ_OpenService + 368 3 libCoreVMClient.dylib 0x0721185e CVMSOpenService + 350 4 libGLProgrammability.dylib 0x070e5631 glvmInitializeCVMS(void*) + 235 5 libSystem.B.dylib 0x019c948c _dispatch_queue_drain + 249 6 libSystem.B.dylib 0x019c8ee8 _dispatch_queue_invoke + 50 7 libSystem.B.dylib 0x019c8cfe _dispatch_worker_thread2 + 240 8 libSystem.B.dylib 0x019c8781 _pthread_wqthread + 390 9 libSystem.B.dylib 0x019c85c6 start_wqthread + 30 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x0807d6a8 ebx: 0x003191be ecx: 0x018e1bcc edx: 0x018e330c edi: 0xbfffefdc esi: 0x00000000 ebp: 0x07c5aa90 esp: 0xbfffefa0 ss: 0x0000001f efl: 0x00010202 eip: 0x01844a95 cs: 0x00000017 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 cr2: 0x00000000 Binary Images: 0x1000 - 0xab1fe7 + () <88287637-FD19-30DF-939F-441CF6E95FA6> /Users/hammerbro/ppsspp_dev/build-osx-fat/PPSSPPSDL.app/Contents/MacOS/PPSSPPSDL 0x15d6000 - 0x1684ff9 +org.libsdl.SDL2 2.0.3 (2.0.3) <C9F62F95-315A-34EF-B3C0-CD283495CF95> /Library/Frameworks/SDL2.framework/Versions/A/SDL2 0x16a1000 - 0x16a1ff7 com.apple.Cocoa 6.6 (???) <EA27B428-5904-B00B-397A-185588698BCC> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 0x16a4000 - 0x1798ff7 libiconv.2.dylib 7.0.0 (compatibility 7.0.0) <061ABF36-8BA9-79C1-6CE7-EC69A4998F51> /usr/lib/libiconv.2.dylib 0x17a6000 - 0x17b3fe7 libbz2.1.0.dylib 1.0.5 (compatibility 1.0.0) <828CCEAB-F193-90F1-F48C-54E3C88B29BC> /usr/lib/libbz2.1.0.dylib 0x17b8000 - 0x17d7ff7 com.apple.CoreVideo 1.6.2 (45.6) <EB53CAA4-5EE2-C356-A954-5775F7DDD493> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo 0x17ee000 - 0x17eeff7 com.apple.VideoDecodeAcceleration 1.1 (4) <A9B630CE-14CA-9239-2335-979DC3809489> /System/Library/Frameworks/VideoDecodeAcceleration.framework/Versions/A/VideoDecodeAcceleration 0x17f3000 - 0x1801fe7 libz.1.dylib 1.2.3 (compatibility 1.0.0) <33C1B260-ED05-945D-FC33-EF56EC791E2E> /usr/lib/libz.1.dylib 0x1806000 - 0x180dff7 com.apple.agl 3.0.12 (AGL-3.0.12) <A5FF7623-9F55-0364-AD9B-42CF13C677C1> /System/Library/Frameworks/AGL.framework/Versions/A/AGL 0x1814000 - 0x1822ff7 com.apple.opengl 1.6.13 (1.6.13) <025A905D-C1A3-B24A-1585-37C328D77148> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL 0x182a000 - 0x18d2fe3 +libstdc++.6.dylib 7.19.0 (compatibility 7.0.0) <68034A7F-01AD-322B-BFE6-F3FAC3E072AA> /usr/local/lib/gcc/4.8/libstdc++.6.dylib 0x19a2000 - 0x1b49ff7 libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <2DCD13E3-1BD1-6F25-119A-3863A3848B90> /usr/lib/libSystem.B.dylib 0x1bcb000 - 0x1be3fff +libgcc_s.1.dylib ??? (???) <2521EF65-64A4-31F7-91D6-778ED22ACCC3> /usr/local/lib/gcc/4.8/libgcc_s.1.dylib 0x1bee000 - 0x1d2bfe7 com.apple.audio.toolbox.AudioToolbox 1.6.7 (1.6.7) <2D31CC6F-32CC-72FF-34EC-AB40CEE496A7> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox 0x1d9b000 - 0x1d9cff7 com.apple.audio.units.AudioUnit 1.6.7 (1.6.7) <838E1760-F7D9-3239-B3A8-20E25EFD1379> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit 0x1da1000 - 0x1e1bfff com.apple.audio.CoreAudio 3.2.6 (3.2.6) <156A532C-0B60-55B0-EE27-D02B82AA6217> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x1e4d000 - 0x1eaaff7 com.apple.framework.IOKit 2.0 (???) <3DABAB9C-4949-F441-B077-0498F8E47A35> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x1eca000 - 0x2045fe7 com.apple.CoreFoundation 6.6.5 (550.43) <10B8470A-88B7-FC74-1C2F-E5CBD966C051> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x213d000 - 0x213dff7 com.apple.Carbon 150 (152) <8F767518-AD3C-5CA0-7613-674CD2B509C4> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon 0x2140000 - 0x2143ff7 com.apple.ForceFeedback 1.0.4 (1.0.4) <DCDB1D70-2586-8D56-5735-4868B673782B> /System/Library/Frameworks/ForceFeedback.framework/Versions/A/ForceFeedback 0x2148000 - 0x23b9fef com.apple.Foundation 6.6.7 (751.62) <5C995C7F-2EA9-50DC-9F2A-30237CDB31B1> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x24c7000 - 0x2574fe7 libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <9F8413A6-736D-37D9-8EB3-7986D4699957> /usr/lib/libobjc.A.dylib 0x2588000 - 0x2e6bff7 com.apple.AppKit 6.6.8 (1038.36) <A353465E-CFC9-CB75-949D-786F6F7732F6> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x3307000 - 0x3307ff7 com.apple.ApplicationServices 38 (38) <8012B504-3D83-BFBB-DA65-065E061CFE03> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices 0x330f000 - 0x330fff7 com.apple.CoreServices 44 (44) <51CFA89A-33DB-90ED-26A8-67D461718A4A> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x3317000 - 0x331afe7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <1622A54F-1A98-2CBE-B6A4-2122981A500E> /usr/lib/system/libmathCommon.A.dylib 0x331d000 - 0x331dff7 com.apple.vecLib 3.6 (vecLib 3.6) <FF4DC8B6-0AB0-DEE8-ADA8-7B57645A1F36> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib 0x3320000 - 0x3334fe7 libbsm.0.dylib ??? (???) <14CB053A-7C47-96DA-E415-0906BA1B78C9> /usr/lib/libbsm.0.dylib 0x333d000 - 0x33a7fe7 libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <411D87F4-B7E1-44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib 0x3402000 - 0x3668ff7 com.apple.security 6.1.2 (55002) <64A20CEB-E614-D35F-7B9F-246BCB25BA23> /System/Library/Frameworks/Security.framework/Versions/A/Security 0x3745000 - 0x378bff7 libauto.dylib ??? (???) <29422A70-87CF-10E2-CE59-FEE1234CFAAE> /usr/lib/libauto.dylib 0x3798000 - 0x391afe7 libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <D5980817-6D19-9636-51C3-E82BAE26776B> /usr/lib/libicucore.A.dylib 0x397c000 - 0x3988ff7 libkxld.dylib ??? (???) <9A441C48-2D18-E716-5F38-CBEAE6A0BB3E> /usr/lib/system/libkxld.dylib 0x398c000 - 0x3a45fe7 libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <52438E77-55D1-C231-1936-76F1369518E4> /usr/lib/libsqlite3.dylib 0x3a53000 - 0x3d73ff3 com.apple.CoreServices.CarbonCore 861.39 (861.39) <5C59805C-AF39-9010-B8B5-D673C9C38538> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x3de9000 - 0x3e95fe7 com.apple.CFNetwork 454.12.4 (454.12.4) <DEDCD006-389F-967F-3405-EDF541F406D7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x3efa000 - 0x3f3efe7 com.apple.Metadata 10.6.3 (507.15) <460BEF23-B89F-6F4C-4940-45556C0671B5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata 0x3f65000 - 0x4030fef com.apple.CoreServices.OSServices 359.2 (359.2) <7C16D9C8-6F41-5754-17F7-2659D9DD9579> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices 0x408f000 - 0x410ffeb com.apple.SearchKit 1.3.0 (1.3.0) <9E18AEA5-F4B4-8BE5-EEA9-818FC4F46FD9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit 0x4143000 - 0x4176ff7 com.apple.AE 496.5 (496.5) <BF9673D5-2419-7120-26A3-83D264C75222> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x418e000 - 0x422bfe3 com.apple.LaunchServices 362.3 (362.3) <15B47388-16C8-97DA-EEBB-1709E136169E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices 0x426a000 - 0x4290ffb com.apple.DictionaryServices 1.1.2 (1.1.2) <43E1D565-6E01-3681-F2E5-72AE4C3A097A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices 0x42a6000 - 0x42afff7 com.apple.DiskArbitration 2.3 (2.3) <E9C40767-DA6A-6CCB-8B00-2D5706753000> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x42b9000 - 0x42c6ff7 com.apple.NetFS 3.2.2 (3.2.2) <DDC9C397-C35F-8D7A-BB24-3D1B42FA5FAB> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS 0x42cf000 - 0x430cff7 com.apple.SystemConfiguration 1.10.8 (1.10.2) <50E4D49B-4F61-446F-1C21-1B2BA814713D> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x4329000 - 0x4351ff7 libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <315D97C2-4E1F-A95F-A759-4A3FA5639E75> /usr/lib/libxslt.1.dylib 0x435c000 - 0x445dfe7 libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <C75F921C-F027-6372-A0A1-EDB8A6234331> /usr/lib/libxml2.2.dylib 0x4481000 - 0x44f0ff7 libvMisc.dylib 268.0.1 (compatibility 1.0.0) <595A5539-9F54-63E6-7AAC-C04E1574B050> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib 0x44f9000 - 0x453bff7 libvDSP.dylib 268.0.1 (compatibility 1.0.0) <8A4721DE-25C4-C8AA-EA90-9DA7812E3EBA> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib 0x4544000 - 0x495aff7 libBLAS.dylib 219.0.0 (compatibility 1.0.0) <C4FB303A-DB4D-F9E8-181C-129585E59603> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 0x499c000 - 0x4dd1ff7 libLAPACK.dylib 219.0.0 (compatibility 1.0.0) <5E2D2283-57DE-9A49-1DB0-CD027FEFA6C2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib 0x4f57000 - 0x5085fe7 com.apple.CoreData 102.1 (251) <87FE6861-F2D6-773D-ED45-345272E56463> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData 0x50e9000 - 0x51c3fff com.apple.DesktopServices 1.5.11 (1.5.11) <800F2040-9211-81A7-B438-7712BF51DEE3> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv 0x520e000 - 0x5532fef com.apple.HIToolbox 1.6.5 (???) <21164164-41CE-61DE-C567-32E89755CB34> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x5672000 - 0x59ddff7 com.apple.QuartzCore 1.6.3 (227.37) <E323A5CC-499E-CA9E-9BC3-537231449CAA> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x5aad000 - 0x5ab7ffb com.apple.speech.recognition.framework 3.11.1 (3.11.1) <7486003F-8FDB-BD6C-CB34-DE45315BD82C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition 0x5ac0000 - 0x5b04ff3 com.apple.coreui 2 (114) <2234855E-3BED-717F-0BFA-D1A289ECDBDA> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI 0x5b23000 - 0x5b23ff7 liblangid.dylib ??? (???) <B99607FC-5646-32C8-2C16-AFB5EA9097C2> /usr/lib/liblangid.dylib 0x5b27000 - 0x5b39ff7 com.apple.MultitouchSupport.framework 207.11 (207.11) <6FF4F2D6-B8CD-AE13-56CB-17437EE5B741> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport 0x5b46000 - 0x6335557 com.apple.CoreGraphics 1.545.0 (???) <1D9DC7A5-228B-42CB-7018-66F42C3A9BB3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x63fd000 - 0x65bffeb com.apple.ImageIO.framework 3.0.4 (3.0.4) <027F55DF-7E4E-2310-1536-3F470CB8847B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO 0x661e000 - 0x667ffe7 com.apple.CoreText 151.10 (???) <5C2DEFBE-D54B-4DC7-D456-9ED02880BE98> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText 0x66b7000 - 0x6752fe7 com.apple.ApplicationServices.ATS 275.16 (???) <873C8B8A-B563-50F7-7628-524EE9E8DF0F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS 0x6779000 - 0x6835fff com.apple.ColorSync 4.6.6 (4.6.6) <7CD8B191-039A-02C3-EA5E-4194EC59995B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync 0x686c000 - 0x68bfff7 com.apple.HIServices 1.8.3 (???) <1D3C4587-6318-C339-BD0F-1988F246BE2E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices 0x68ea000 - 0x68fbff7 com.apple.LangAnalysis 1.6.6 (1.6.6) <3036AD83-4F1D-1028-54EE-54165E562650> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis 0x6908000 - 0x69b0ffb com.apple.QD 3.36 (???) <FA2785A4-BB69-DCB4-3BA3-7C89A82CAB41> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD 0x69dd000 - 0x69f1ffb com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <57DD5458-4F24-DA7D-0927-C3321A65D743> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x69ff000 - 0x69ffff7 com.apple.Accelerate 1.6 (Accelerate 1.6) <3891A689-4F38-FACD-38B2-4BF937DE30CF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x6a02000 - 0x6a4bfe7 libTIFF.dylib ??? (???) <579DC328-567D-A74C-4BCE-1D1C729E3F6D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib 0x6a56000 - 0x6a5aff7 libGIF.dylib ??? (???) <2123645B-AC89-C4E2-8757-85834CAE3DD2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib 0x6a5f000 - 0x6a7aff7 libPng.dylib ??? (???) <25DF2360-BFD3-0165-51AC-0BDAF7899DEC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib 0x6a82000 - 0x6a84ff7 libRadiance.dylib ??? (???) <5920EB69-8D7F-5EFD-70AD-590FCB5C9E6C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib 0x6a88000 - 0x6aacff7 libJPEG.dylib ??? (???) <EA97DEC5-6E16-B51C-BF55-F6E8D23526AD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib 0x6ab3000 - 0x6b93fe7 com.apple.vImage 4.1 (4.1) <D029C515-08E1-93A6-3705-DD062A3A672C> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage 0x6ba1000 - 0x6ba1ff7 com.apple.Accelerate.vecLib 3.6 (vecLib 3.6) <ABF97DA4-3BDF-6FFD-6239-B023CA1F7974> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib 0x6ba4000 - 0x6ca6fe7 libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <015563C4-81E2-8C8A-82AC-31B38D904A42> /usr/lib/libcrypto.0.9.8.dylib 0x6cfa000 - 0x6cfbff7 com.apple.TrustEvaluationAgent 1.1 (1) <2D970A9B-77E8-EDC0-BEC6-7580D78B2843> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent 0x6cff000 - 0x6db7feb libFontParser.dylib ??? (???) <D57D3834-9395-FD58-092A-49B3708E8C89> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib 0x6e47000 - 0x6e81ff7 libcups.2.dylib 2.8.0 (compatibility 2.0.0) <6875335E-0993-0D77-4E80-41763A8477CF> /usr/lib/libcups.2.dylib 0x6e8e000 - 0x6eaefe7 libresolv.9.dylib 41.0.0 (compatibility 1.0.0) <BF7FF2F6-5FD3-D78F-77BC-9E2CB2A5E309> /usr/lib/libresolv.9.dylib 0x6eb8000 - 0x6ec2fe7 com.apple.audio.SoundManager 3.9.3 (3.9.3) <5F494955-7290-2D91-DA94-44B590191771> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound 0x6eca000 - 0x6f1aff7 com.apple.framework.familycontrols 2.0.2 (2020) <596ADD85-79F5-A613-537B-F83B6E19013C> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls 0x6f32000 - 0x6fe0ff3 com.apple.ink.framework 1.3.3 (107) <233A981E-A2F9-56FB-8BDE-C2DEC3F20784> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink 0x700a000 - 0x703bff7 libGLImage.dylib ??? (???) <0EE86397-A867-0BBA-E5B1-B800E43FC5CF> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib 0x7043000 - 0x7064fe7 com.apple.opencl 12.3.6 (12.3.6) <B4104B80-1CB3-191C-AFD3-697843C6BCFF> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL 0x706d000 - 0x7071ff7 IOSurface ??? (???) <89D859B7-A26A-A5AB-8401-FC1E01AC7A60> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface 0x7079000 - 0x70bcff7 libGLU.dylib ??? (???) <FB26DD53-03F4-A7D7-8804-EBC5B3B37FA3> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib 0x70ca000 - 0x70d5ff7 libGL.dylib ??? (???) <3E34468F-E9A7-8EFB-FF66-5204BD5B4E21> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 0x70e4000 - 0x71f0ff7 libGLProgrammability.dylib ??? (???) <04D7E5C3-B0C3-054B-DF49-3B333DCDEE22> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib 0x720f000 - 0x7212ff7 libCoreVMClient.dylib ??? (???) <F58BDFC1-7408-53C8-0B08-48BA2F25CA43> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib 0x7217000 - 0x721bff7 libGFXShared.dylib ??? (???) <801B2C2C-1692-475A-BAD6-99F85B6E7C25> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib 0x7220000 - 0x72a2ffb SecurityFoundation ??? (???) <C4506287-1AE2-5380-675D-95B0291AA425> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation 0x72d9000 - 0x72deff7 com.apple.OpenDirectory 10.6 (10.6) <0603680A-A002-D294-DE83-0D028C6BE884> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory 0x72e6000 - 0x72ecfe7 com.apple.CommerceCore 1.0 (9.1) <521D067B-3BDA-D04E-E1FA-CFA526C87EB5> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore 0x72f3000 - 0x730bff7 com.apple.CFOpenDirectory 10.6 (10.6) <D1CF5881-0AF7-D164-4156-9E9067B7FA37> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory 0x731c000 - 0x7369feb com.apple.DirectoryService.PasswordServerFramework 6.1 (6.1) <00A1A83B-0E7D-D0F4-A643-8C5675C2BB21> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer 0x7385000 - 0x73a7fef com.apple.DirectoryService.Framework 3.6 (621.12) <A4A47C88-138C-A237-88A5-877E5CAB4494> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService 0x73b1000 - 0x73c1ff7 libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <C8744EA3-0AB7-CD03-E639-C4F2B910BE5D> /usr/lib/libsasl2.2.dylib 0x73c8000 - 0x73cefff com.apple.CommonPanels 1.2.4 (91) <2438AF5D-067B-B9FD-1248-2C9987F360BA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels 0x73d6000 - 0x73d9ffb com.apple.help 1.3.2 (41.1) <8AC20B01-4A3B-94BA-D8AF-E39034B97D8C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help 0x73de000 - 0x7442ffb com.apple.htmlrendering 72 (1.1.4) <4D451A35-FAB6-1288-71F6-F24A4B6E2371> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering 0x7464000 - 0x7479fff com.apple.ImageCapture 6.1 (6.1) <B909459A-EAC9-A7C8-F2A9-CD757CDB59E8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture 0x748f000 - 0x74d2ff7 com.apple.NavigationServices 3.5.4 (182) <8DC6FD4A-6C74-9C23-A4C3-715B44A8D28C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices 0x74fb000 - 0x7517fe3 com.apple.openscripting 1.3.1 (???) <2A748037-D1C0-6D47-2C4A-0562AF799AC9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting 0x7527000 - 0x7529ff7 com.apple.securityhi 4.0 (36638) <6118C361-61E7-B34E-93DB-1B88108F8F18> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI 0x752e000 - 0x756bff7 com.apple.CoreMedia 0.484.52 (484.52) <62B0C876-A931-372F-8947-7CBA0379F427> /System/Library/PrivateFrameworks/CoreMedia.framework/Versions/A/CoreMedia 0x7586000 - 0x7a41ff7 com.apple.VideoToolbox 0.484.52 (484.52) <F7CF9485-A932-1305-9AA6-3F7AC38B8B15> /System/Library/PrivateFrameworks/VideoToolbox.framework/Versions/A/VideoToolbox 0x7aea000 - 0x7b65fff com.apple.AppleVAFramework 4.10.26 (4.10.26) <B293EC46-9F71-F448-F0E7-2960DC6DAEF7> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA 0x8c80000 - 0x8c8bff7 libCSync.A.dylib 545.0.0 (compatibility 64.0.0) <287DECA3-7821-32B6-724D-AE03A9A350F9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib 0x8c94000 - 0x8ccffeb libFontRegistry.dylib ??? (???) <AD45365E-A3EA-62B8-A288-1E13DBA22B1B> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Resources/libFontRegistry.dylib 0x8cea000 - 0x8cedff7 libCGXType.A.dylib 545.0.0 (compatibility 64.0.0) <4D766435-EB76-C384-0127-1D20ACD74076> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib 0xa149000 - 0xa17cfff libTrueTypeScaler.dylib ??? (???) <0F04DAC3-829A-FA1B-E9D0-1E9505713C5C> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Resources/libTrueTypeScaler.dylib 0xa188000 - 0xa1c9ff7 libRIP.A.dylib 545.0.0 (compatibility 64.0.0) <80998F66-0AD7-AD12-B9AF-3E8D2CE6DE05> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib 0xa1fa000 - 0xa21efe7 GLRendererFloat ??? (???) <AD081A9B-1424-1F17-3C68-9803EBA37E8D> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GLRendererFloat 0xc090000 - 0xc209ff7 GLEngine ??? (???) <64C74F67-44B5-7DEF-CCA6-C8A9FF9BB60A> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine 0x20000000 - 0x20098fe7 edu.mit.Kerberos 6.5.11 (6.5.11) <F36DB665-A88B-7F5B-6244-6A2E7FFFF668> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos 0x64b00000 - 0x64b07ff3 com.apple.print.framework.Print 6.1 (237.1) <F5AAE53D-5530-9004-A9E3-2C1690C5328E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print 0x8fe00000 - 0x8fe4163b dyld 132.1 (???) <4CDE4F04-0DD6-224E-ACE5-3C06E169A801> /usr/lib/dyld 0xfa100000 - 0xfa192fe7 com.apple.print.framework.PrintCore 6.3 (312.7) <7410D1B2-655D-68DA-D4B9-2C65747B6817> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0xffff0000 - 0xffff1fff libSystem.B.dylib ??? (???) <2DCD13E3-1BD1-6F25-119A-3863A3848B90> /usr/lib/libSystem.B.dylib Model: Some Laptop, BootROM VirtualBox, 1 processor, Intel Core Solo, 2.59 GHz, 2 GB, SMC 2.3f35 Graphics: Display, PCI, 3 MB Memory Module: global_name Network Service: Ethernet, Ethernet, en0 Serial ATA Device: VBOX HARDDISK, 20 GB Serial ATA Device: VBOX CD-ROM USB Device: USB Tablet, 0x80ee, 0x0021, 0x9f200000 / 3 USB Device: USB Keyboard, 0x80ee, 0x0010, 0x9f100000 / 2

Thanks for all your help so far. At the very least I'm learning a lot about VMs, Macs, and non-Windows build chains.
Reply
#8
Hmm, not sure it compiled correctly. That looks like the same crash.

This part:
0x018540c5 std::basic_ios<char, std::char_traits<char> >::init

Is basically the "m_logfile.open". It's causing "init" to be called, and missing itself due to optimizations probably. Since this is right below it:

0x00319270 FileLogListener::FileLogListener(char const*) + 192

We know that the code started inside this function when it crashed. The change should make it never call m_logfile.init(), but you can try removing SetEnabled also.

Is make spitting out any errors when you run it?

-[Unknown]
Reply
#9
Just the following warnings, which felt acceptable to me:

Code:
CMakeFiles/PPSSPPSDL.dir/build.make:289: warning: overriding commands for target `PPSSPPSDL.app/Contents/MacOS/assets/lang/HEAD' CMakeFiles/PPSSPPSDL.dir/build.make:237: warning: ignoring old commands for target `PPSSPPSDL.app/Contents/MacOS/assets/lang/HEAD' CMakeFiles/PPSSPPSDL.dir/build.make:309: warning: overriding commands for target `PPSSPPSDL.app/Contents/MacOS/assets/lang/master' CMakeFiles/PPSSPPSDL.dir/build.make:293: warning: ignoring old commands for target `PPSSPPSDL.app/Contents/MacOS/assets/lang/master' CMakeFiles/PPSSPPSDL.dir/build.make:313: warning: overriding commands for target `PPSSPPSDL.app/Contents/MacOS/assets/lang/HEAD' CMakeFiles/PPSSPPSDL.dir/build.make:289: warning: ignoring old commands for target `PPSSPPSDL.app/Contents/MacOS/assets/lang/HEAD' CMakeFiles/PPSSPPSDL.dir/build.make:289: warning: overriding commands for target `PPSSPPSDL.app/Contents/MacOS/assets/lang/HEAD' CMakeFiles/PPSSPPSDL.dir/build.make:237: warning: ignoring old commands for target `PPSSPPSDL.app/Contents/MacOS/assets/lang/HEAD' CMakeFiles/PPSSPPSDL.dir/build.make:309: warning: overriding commands for target `PPSSPPSDL.app/Contents/MacOS/assets/lang/master' CMakeFiles/PPSSPPSDL.dir/build.make:293: warning: ignoring old commands for target `PPSSPPSDL.app/Contents/MacOS/assets/lang/master' CMakeFiles/PPSSPPSDL.dir/build.make:313: warning: overriding commands for target `PPSSPPSDL.app/Contents/MacOS/assets/lang/HEAD' CMakeFiles/PPSSPPSDL.dir/build.make:289: warning: ignoring old commands for target `PPSSPPSDL.app/Contents/MacOS/assets/lang/HEAD'

I changed the function to:
Code:
FileLogListener::FileLogListener(const char *filename) { //SetEnable(false); }
but get the same error when running the `make` output: FileLogListener::FileLogListener(char const*) + 192

I shan't have much internet access for the rest of the day, but if I find time I'll try to comment out suspicious sections of FileLogListener and see if I can't move on to some different failure.

On the WINE front, I got the most recent (stable) WINE installed, but running the Win32 PPSSPP 1.0.1, and this time I get an in-application error window:

Code:
Failed initializing graphics. Try upgrading your graphics drivers. Would you like to try switching to DirectX 9? Error message: Can't find a suitable PixelFormat.

If I click Yes, I get a similar error where it asks if I want to try OpenGL, but the specific message is "Failed to create D3D9 context. Try reinstalling DirectX.". When I click No, the application self-terminates normally.

So close on both fronts, yet probably so far away.
Reply
#10
I suspect the Virtual Machine nature of the system I'm developing on is causing issues. I had access to the physical x86 10.6.8 box and WINE appeared to work fine, with unexpectedly good performance. Part of that is because Wine Is Not an Emulator, so its native calls add little overhead. But also PPSSPP emulation is less demanding than I'd expected, or this particular computer isn't as old as I imagine it to be.

For others having trouble with native OSX builds, give the instructions on this other thread [http://] + [forums.ppsspp.org/] + [showthread.php?tid=2510] (can't post clickable links; sorry) a try -- they worked for me in getting a no-hassle updated PPSSPP running well enough.

There's a chance I'll revisit trying to build this natively, but it seems unlikely since my aim was accomplished (PPSSPP is running on target computer) and my environment is hindering (my VM gets errors running the exact same Wineskin bundle).
Reply


Forum Jump: