Commit Graph

37 Commits

Author SHA1 Message Date
Ariel Abreu
1a12df76d1
Fix objc message logging for 64-bit code
The Objective-C runtime version 2 (used for non-32-bit architectures)
added a runtime lock. This lock is always taken before the message log
lock, but the lockdebug subsystem wasn't made aware of this; because of
this, it would throw an error saying the lock order wasn't defined.
Let's define it so it can calm down.
2023-10-07 11:06:34 -04:00
Thomas A
cd4190c784 Update CMake Version To 3.13 2023-07-26 11:09:31 -07:00
Thomas A
ed84b8ef81 Add no-delete-null-pointer-checks flag 2022-08-13 18:11:31 -07:00
Thomas A
9ec439e6de Fix building with new libcxx 2022-06-26 17:04:07 -07:00
Thomas A
3195667efc Ignore some of the includes. Commented out code. Only calculate offsets if __OBJC2__ is defined. 2022-04-29 23:39:13 -07:00
Thomas A
9ded2a81c0 Set HAVE_TASK_RESTARTABLE_RANGES to 0 if building for Darling. 2022-04-29 17:16:02 -07:00
Thomas A
5a22f74c04 Fix Building For i386/Non-OBJC2 2022-04-29 10:13:27 -07:00
Thomas A
09e9e2f56c Remove -U__POSIX_LIB__
Having `__POSIX_LIB__` be globally defined caused more issue then it was worth. As a results, this undefining is unnecesary.
2022-04-14 20:18:32 -07:00
Thomas A
3c95316a27 Undefine __POSIX_LIB__ 2022-04-09 12:59:37 -07:00
Thomas A
a2478cf54b If Building For Darling, Use Cache Lock If __OBJC2__ Is Not Defined 2022-04-09 12:58:25 -07:00
Thomas A
298788671d Restore objc-probes.h file 2022-04-09 09:30:57 -07:00
Thomas A
fe9642f77b Add Back Darling Specific Changes 2022-04-02 14:24:32 -07:00
Thomas A
1243e13d05 Update Source to objc4-818.2 2022-03-31 21:15:07 -07:00
Ariel Abreu
c5d1e278e2
Don't use fvisibility=hidden
Apple's build doesn't use it; instead, they use an unexported symbols list.
2021-06-28 23:31:08 -04:00
Ariel Abreu
9840e980d5
Support older clang versions 2021-06-24 23:19:57 -04:00
Thomas A
b32a584e88 Update CMake Minimum Version To 3.10 2021-04-11 14:15:55 -07:00
Ariel Abreu
a5d01bd571
Build objc-trampolines 2021-02-23 12:56:33 -05:00
Ariel Abreu
03bac15e45
Fix libobjc's C++ initializers
Apple's official libobjc actually doesn't even have `__objc_init_func` or `__mod_init_func`, so I'm not sure how they're initializing them, but this is necessary for us because libobjc needs to call its own C++ initializers (for reasons described in the CMakeLists comment)
2020-09-21 20:00:11 -04:00
Ariel Abreu
40760d12ba Define OBJC_IS_DEBUG_BUILD 2020-07-18 18:28:56 -04:00
Ariel Abreu
8e279baed6
Disable task_restartable_ranges_synchronize for Darling 2020-07-01 22:51:53 -04:00
Ariel Abreu
4d940ae34c
Remove macOS deployment target definitions
The deployment target is now set project-wide in the root Darling CMakeLists.txt
2020-06-12 21:16:39 -04:00
Ariel Abreu
e76ed7f898
Dalring build of objc4-781.2 2020-06-10 06:26:23 -04:00
Ariel Abreu
4d6225bbe3
objc4-781.2 2020-06-09 21:50:17 -04:00
Ariel Abreu
1db0a624c9
Initial update to clean up include directories
"initial" because there might some additional modifications necessary later on
2020-05-14 12:57:43 -04:00
Thomas A
3530e178e2 Cherrypicked some updated ARM64 Code
Updating the entire project would be a lot of work. So for the time being, I will cherrypick some of ARM64 needed to suscessfully compile this project on my Pinebook Pro.
2020-05-12 20:54:01 -07:00
Thomas A
48342f3720 Remove redundant definitions 2020-03-30 16:13:07 -07:00
Andrew Hyatt
8f541e150c
Allow i386 or x86_64 only builds 2019-08-13 14:20:08 -04:00
Lubos Dolezel
489e12b857 Ensure that -O2 is used even in debug builds 2018-07-30 12:20:46 +02:00
Andrew Hyatt
21808aed62 Clean up includes 2017-06-25 22:28:51 -07:00
Andrew Hyatt
0684a3c5c4 Link some private headers 2017-05-29 22:17:24 -07:00
Andrew Hyatt
ae15dacbea Create proper include folder 2017-05-29 19:35:53 -07:00
Lubos Dolezel
2568152709 Adapt to dyld-apple -> dyld rename 2017-04-06 10:34:18 +02:00
Lubos Dolezel
3b785d0878 Adapt build to updated libc++ 2017-03-27 20:50:12 +02:00
Lubos Dolezel
592b5c046a Set correct dylib version 2017-03-25 19:25:42 +01:00
Lubos Dolezel
75f478729a Build changes to make objc4 not crash right away 2017-02-01 21:52:45 +01:00
Lubos Dolezel
0d7f47bfeb Darling build 2017-01-28 21:49:09 +01:00
Lubos Dolezel
adfc003729 objc4-706 2017-01-18 22:41:26 +01:00