Recover support x86 and PowerPC Darwin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
Here is a work I did with the support and help of Sergey Fedorov with the aim of bringing back support for PowerPC and x86 Darwin.
Originally it was made for 2.3.6, and was rebased to 2.3.7 and 2.3.8
This patch series mainly reverts things, but it also includes some fixes and introduced a compatibility with old Darwin.
For bootstrap I've used the last available SBCL:
- 1.0.47 for ppc;
- 1.1.6 for x86
Summary of changes:
1. Avoid using `clock_get_time` on macOS before 10.12;
2. Avoid using dispatch semaphores before 10.6 and on PowerPC;
3. Use libc `nanosleep` before 10.6 and on PowerPC;
4. fix thread support on PowerPC;
5. A few minor fixes like fixing a typo, skipping some tests, etc.
All of this allows to build SBCL with `--fancy` on macOS 10.5 and 10.6 as i386 and PowerPC.
Tests on i386 were done by me, and Sergey did the PowerPC part.
Threads is fully functional and allows pass https:/
I'm co-maintainer of SBCL port at MacPorts and ready to support changes in terms of testing and fixing if nessary, and Serey actively uses his PowerPC in real life and I hope that he is ready to test SBCL on PowerPC on Darwin.
P.S. This patch is already part of MacPorts port for PowerPC and i386, and MacPorts community has some active guys who really use their PowerPC in 2023.
Old discussion was started at github here https:/
Changed in sbcl: | |
status: | New → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
This is series of required patches as one single files which was produced via git format-patch --stdout