-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #172 from h-vetinari/dev
[dev] link directly to system libunwind
- Loading branch information
Showing
8 changed files
with
35 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...2-Fix-ABI-compatibility-with-system.patch → ...1-Fix-ABI-compatibility-with-system.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From b1113a136e91b0788e2fa28e578142e45016eae9 Mon Sep 17 00:00:00 2001 | ||
From b461291f007bc7457a5a7f7219cd0943b8e7ba3d Mon Sep 17 00:00:00 2001 | ||
From: Isuru Fernando <[email protected]> | ||
Date: Tue, 13 Jul 2021 01:57:06 -0500 | ||
Subject: [PATCH 2/5] Fix ABI compatibility with system | ||
Subject: [PATCH 1/4] Fix ABI compatibility with system | ||
|
||
--- | ||
libcxx/src/locale.cpp | 16 ++++++++-------- | ||
|
37 changes: 0 additions & 37 deletions
37
recipe/patches/0001-Support-legacy-standalone-builds.patch
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...03-custom-error-message-for-old-sdk.patch → ...02-custom-error-message-for-old-sdk.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 7e2722ee435b20f9445be40ace0f5298126ae23c Mon Sep 17 00:00:00 2001 | ||
From bacfd686f6d24164b4c6bbdc8cdf022740106991 Mon Sep 17 00:00:00 2001 | ||
From: Isuru Fernando <[email protected]> | ||
Date: Wed, 29 Dec 2021 19:28:35 -0800 | ||
Subject: [PATCH 3/5] custom error message for old sdk | ||
Subject: [PATCH 2/4] custom error message for old sdk | ||
|
||
Co-Authored-By: H. Vetinari <[email protected]> | ||
--- | ||
|
4 changes: 2 additions & 2 deletions
4
...VAILABILITY_HAS_INIT_PRIMARY_EXCEPT.patch → ...VAILABILITY_HAS_INIT_PRIMARY_EXCEPT.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 4744d322ef96d67b8543897b49ec8897d2633a1a Mon Sep 17 00:00:00 2001 | ||
From b696d088e01cfa8b3e7dd226342ca37bd8c95621 Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <[email protected]> | ||
Date: Sun, 26 May 2024 22:04:04 +1100 | ||
Subject: [PATCH 4/5] disable _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION | ||
Subject: [PATCH 3/4] disable _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION | ||
unconditionally | ||
|
||
When _LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS is not defined, things | ||
|
25 changes: 22 additions & 3 deletions
25
...-nostdlib-flags-causing-errors-with.patch → ...-nostdlib-flags-causing-errors-with.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,33 @@ | ||
From 6a49c1d89912796cd7ea3f4a9e3eb606ca553257 Mon Sep 17 00:00:00 2001 | ||
From 46bea2a31254d1d997c220685742f68f02f1f351 Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <[email protected]> | ||
Date: Sun, 26 May 2024 13:01:28 +1100 | ||
Subject: [PATCH 5/5] Work around stray `-nostdlib++` flags causing errors with | ||
Subject: [PATCH 4/4] Work around stray `-nostdlib++` flags causing errors with | ||
C compiler | ||
|
||
--- | ||
libcxxabi/cmake/config-ix.cmake | 7 +++++-- | ||
libunwind/cmake/config-ix.cmake | 7 +++++-- | ||
libunwind/src/CMakeLists.txt | 6 ++++-- | ||
2 files changed, 9 insertions(+), 4 deletions(-) | ||
3 files changed, 14 insertions(+), 6 deletions(-) | ||
|
||
diff --git a/libcxxabi/cmake/config-ix.cmake b/libcxxabi/cmake/config-ix.cmake | ||
index 10f2087c68c5..c0e58f8b255c 100644 | ||
--- a/libcxxabi/cmake/config-ix.cmake | ||
+++ b/libcxxabi/cmake/config-ix.cmake | ||
@@ -106,8 +106,11 @@ elseif(ANDROID) | ||
check_library_exists(c __cxa_thread_atexit_impl "" | ||
LIBCXXABI_HAS_CXA_THREAD_ATEXIT_IMPL) | ||
else() | ||
- check_library_exists(dl dladdr "" LIBCXXABI_HAS_DL_LIB) | ||
- check_library_exists(pthread pthread_once "" LIBCXXABI_HAS_PTHREAD_LIB) | ||
+ # misdetected due to https://github.com/llvm/llvm-project/issues/90332 | ||
+ # check_library_exists(dl dladdr "" LIBCXXABI_HAS_DL_LIB) | ||
+ # check_library_exists(pthread pthread_once "" LIBCXXABI_HAS_PTHREAD_LIB) | ||
+ set(LIBCXXABI_HAS_DL_LIB YES) | ||
+ set(LIBCXXABI_HAS_PTHREAD_LIB YES) | ||
check_library_exists(c __cxa_thread_atexit_impl "" | ||
LIBCXXABI_HAS_CXA_THREAD_ATEXIT_IMPL) | ||
endif() | ||
diff --git a/libunwind/cmake/config-ix.cmake b/libunwind/cmake/config-ix.cmake | ||
index 126c872f0d48..ab9ea1d5ce01 100644 | ||
--- a/libunwind/cmake/config-ix.cmake | ||
|