binghe / mcl Goto Github PK
View Code? Open in Web Editor NEWMacintosh Common Lisp 6
Home Page: https://code.google.com/archive/p/mcl/
License: Other
Macintosh Common Lisp 6
Home Page: https://code.google.com/archive/p/mcl/
License: Other
The wiki build instructions ask for an example of a failure to run ppc-boot on this combination, so here it is. This is on a fresh install of 10.6, with all patches applied, and a fresh install of Xcode (the whole point of buying this Intel Mini was to run MCL!)
The MacErrors.h file shows that this error is: Resource fork could not be opened.
Any ideas where the resource fork is supposed to come from and where it should be? Is this something that the ppc-boot build process should have produced?
From the command line:
/System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp ./ppc-boot
/System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp[78995] Launch failed with error code -2856 (cfragRsrcForkErr) for application ./ppc-boot
Report from the Finder:
Process: ppc-boot [78973]
Path: /Users/nunez/Downloads/MCL/ppc-boot
Identifier: com.digitool.MCL5.2b6
Version: 5.1b1 (5.1b1, ©1995-2003 Digitool, Inc.)
Code Type: PPC (Translated)
Parent Process: launchd [86]
Date/Time: 2018-11-20 16:05:50.101 +0800
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 53219 sec
Crashes Since Last Report: 12
Per-App Crashes Since Last Report: 4
Anonymous UUID: 85AE82F3-0FB4-4034-8CD5-A13A99ED02F0
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000fe021a70
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 LaunchCFMApp 0xb80c0057 0xb8000000 + 786519
1 LaunchCFMApp 0xb80dd8e8 0xb8000000 + 907496
2 LaunchCFMApp 0xb8145397 spin_lock_wrapper + 1791
3 LaunchCFMApp 0xb801ceb7 0xb8000000 + 118455
Thread 1:
0 libSystem.B.dylib 0x80142afa mach_msg_trap + 10
1 libSystem.B.dylib 0x80143267 mach_msg + 68
2 LaunchCFMApp 0xb819440f CallPPCFunctionAtAddressInt + 206231
3 libSystem.B.dylib 0x80170259 _pthread_start + 345
4 libSystem.B.dylib 0x801700de thread_start + 34
Thread 2:
0 LaunchCFMApp 0xb815acc0 spin_lock_wrapper + 90152
1 LaunchCFMApp 0xb8179c5b CallPPCFunctionAtAddressInt + 97763
2 LaunchCFMApp 0xb80c6b13 0xb8000000 + 813843
3 LaunchCFMApp 0xb80c0037 0xb8000000 + 786487
4 LaunchCFMApp 0xb80dd8e8 0xb8000000 + 907496
5 LaunchCFMApp 0xb8145397 spin_lock_wrapper + 1791
6 LaunchCFMApp 0xb801ceb7 0xb8000000 + 118455
Thread 3:
0 LaunchCFMApp 0xb815a8ff spin_lock_wrapper + 89191
1 LaunchCFMApp 0xb8176e5d CallPPCFunctionAtAddressInt + 85989
2 LaunchCFMApp 0xb80c6b13 0xb8000000 + 813843
3 LaunchCFMApp 0xb80c0037 0xb8000000 + 786487
4 LaunchCFMApp 0xb80dd8e8 0xb8000000 + 907496
5 LaunchCFMApp 0xb8145397 spin_lock_wrapper + 1791
6 LaunchCFMApp 0xb801ceb7 0xb8000000 + 118455
Thread 4:
0 LaunchCFMApp 0xb815a8ff spin_lock_wrapper + 89191
1 LaunchCFMApp 0xb8176e5d CallPPCFunctionAtAddressInt + 85989
2 LaunchCFMApp 0xb80c6b13 0xb8000000 + 813843
3 LaunchCFMApp 0xb80c0037 0xb8000000 + 786487
4 LaunchCFMApp 0xb80dd8e8 0xb8000000 + 907496
5 LaunchCFMApp 0xb8145397 spin_lock_wrapper + 1791
6 LaunchCFMApp 0xb801ceb7 0xb8000000 + 118455
Thread 5:
0 LaunchCFMApp 0xb815a8c8 spin_lock_wrapper + 89136
1 LaunchCFMApp 0xb8177c07 CallPPCFunctionAtAddressInt + 89487
2 LaunchCFMApp 0xb80c6b13 0xb8000000 + 813843
3 LaunchCFMApp 0xb80c0037 0xb8000000 + 786487
4 LaunchCFMApp 0xb80dd8e8 0xb8000000 + 907496
5 LaunchCFMApp 0xb8145c1d spin_lock_wrapper + 3973
6 LaunchCFMApp 0xb801ceb7 0xb8000000 + 118455
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0xfe021a74 ebx: 0xb80bfca8 ecx: 0xfe021a70 edx: 0xfe021a70
edi: 0xb8211640 esi: 0x80a051a0 ebp: 0xb7fffa78 esp: 0xb7fffa10
ss: 0x0000001f efl: 0x00010246 eip: 0xb80c0057 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0xfe021a70
Binary Images:
0x80000000 - 0x8005dff7 com.apple.framework.IOKit 2.0 (???) <3DABAB9C-4949-F441-B077-0498F8E47A35> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x8007d000 - 0x800e7fe7 libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <411D87F4-B7E1-44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib
0x80142000 - 0x802e9ff7 libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <2DCD13E3-1BD1-6F25-119A-3863A3848B90> /usr/lib/libSystem.B.dylib
0x8036b000 - 0x804e6fe7 com.apple.CoreFoundation 6.6.6 (550.44) <F88C95CD-1264-782D-A1F5-204739847E93> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x805de000 - 0x805ecfe7 libz.1.dylib 1.2.3 (compatibility 1.0.0) <33C1B260-ED05-945D-FC33-EF56EC791E2E> /usr/lib/libz.1.dylib
0x805f1000 - 0x805fdff7 libkxld.dylib ??? (???) <9A441C48-2D18-E716-5F38-CBEAE6A0BB3E> /usr/lib/system/libkxld.dylib
0x80601000 - 0x80647ff7 libauto.dylib ??? (???) <29422A70-87CF-10E2-CE59-FEE1234CFAAE> /usr/lib/libauto.dylib
0x80654000 - 0x807d6fe7 libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <60FF302E-5FAE-749B-BC70-0496DC2FBF2D> /usr/lib/libicucore.A.dylib
0x80838000 - 0x808e5fe7 libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <9F8413A6-736D-37D9-8EB3-7986D4699957> /usr/lib/libobjc.A.dylib
0x808f9000 - 0x808fcfe7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <1622A54F-1A98-2CBE-B6A4-2122981A50
After building a ppc-boot, running it produces:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000fe021a70
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 LaunchCFMApp 0xb80c0057 0xb8000000 + 786519
1 LaunchCFMApp 0xb80dd8e8 0xb8000000 + 907496
2 LaunchCFMApp 0xb8145397 spin_lock_wrapper + 1791
3 LaunchCFMApp 0xb801ceb7 0xb8000000 + 118455
...
Thread 3: Crashed (0xb7fffa10, 0xb80c0057)
0x02024820: /Users/nunez/Desktop/MCL-BingHe/pmcl-OSX-kernel : toplevel_loop + 56
0x020248d4: /Users/nunez/Desktop/MCL-BingHe/pmcl-OSX-kernel : _start_lisp + 156
0x02002e04: /Users/nunez/Desktop/MCL-BingHe/pmcl-OSX-kernel : _main + 2080
0x0200c9d0: /Users/nunez/Desktop/MCL-BingHe/pmcl-OSX-kernel : _set_nil_and_start + 84
0x7f54987c: No symbol
0x976bb7e0: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore : _CCFM_LaunchApplication + 872
0x0000274c: /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp : _main + 1256
0x00002230: /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp : start + 68
0x78f8ffbf: No symbol
Probably thread 3 crashing somehow rolled up to Thread 0. After reading rmcl-notes.pdf, a theory is that the ppc-boot file which jumps into pmcl-OSX-kernel is somehow out of sync or different between 10.5 and 10.6. That is nothing more than a guess. Here is the hardware spec:
Model: Macmini2,1, BootROM MM21.009A.B00, 2 processors, Intel Core 2 Duo, 2.33 GHz, 4 GB, SMC 1.3f4
Graphics: Intel GMA 950, GMA 950, Built-In, spdisplays_integrated_vram
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x86), Atheros 5424: 2.1.14.6
Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: KINGSTON SA400S37240G, 223.57 GB
Parallel ATA Device: MATSHITACD-RW CW-8124
USB Device: USB2.0 Hub, 0x2109 (VIA Labs, Inc.), 0x2812, 0xfd100000 / 2
USB Device: Das Keyboard, 0x24f0, 0x0140, 0xfd140000 / 3
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8205, 0x7d100000 / 2
USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8240, 0x7d200000 / 3
USB Device: Razer DeathAdder, 0x1532, 0x0016, 0x5d200000 / 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.