From e367adfbf079b0c185c76e3baedb872809628d4a Mon Sep 17 00:00:00 2001 From: Andrew Sukach <134116196+sookach@users.noreply.github.com> Date: Tue, 29 Jul 2025 15:48:18 -0700 Subject: [PATCH 1/4] Skip `Interop/Cxx/stdlib/use-std-set.swift` on Fedora 41 (cherry picked from commit 8336eb1796230010456f846493bcb9dac2de699c) --- test/Interop/Cxx/stdlib/use-std-set.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Interop/Cxx/stdlib/use-std-set.swift b/test/Interop/Cxx/stdlib/use-std-set.swift index 6077f32465047..af873659a33fc 100644 --- a/test/Interop/Cxx/stdlib/use-std-set.swift +++ b/test/Interop/Cxx/stdlib/use-std-set.swift @@ -16,6 +16,7 @@ // // Enable this everywhere once we have a solution for modularizing other C++ stdlibs: rdar://87654514 // REQUIRES: OS=macosx || OS=linux-gnu +// UNSUPPORTED: LinuxDistribution=fedora-41 import StdlibUnittest #if !BRIDGING_HEADER From d6b376b72233aa41c3170f9612c528c48d78900b Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Sun, 27 Apr 2025 15:38:08 +0100 Subject: [PATCH 2/4] XFAIL `Cxx/stdlib/use-std-function.swift` on Fedora 41 (#81102) Unblocks toolchain builds which fail on this test https://ci.swift.org/job/oss-swift-package-fedora-41/2/console (cherry picked from commit 5d7aa4df8a3daea97d82e9c0def562422b2c6aec) --- test/Interop/Cxx/stdlib/use-std-function.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Interop/Cxx/stdlib/use-std-function.swift b/test/Interop/Cxx/stdlib/use-std-function.swift index d72cdd4c85ea0..22de573f4ce80 100644 --- a/test/Interop/Cxx/stdlib/use-std-function.swift +++ b/test/Interop/Cxx/stdlib/use-std-function.swift @@ -17,6 +17,7 @@ // XFAIL: LinuxDistribution=rhel-9.5 // XFAIL: LinuxDistribution=rhel-9.6 // XFAIL: LinuxDistribution=fedora-39 +// XFAIL: LinuxDistribution=fedora-41 // XFAIL: LinuxDistribution=debian-12 import StdlibUnittest From 9feaec439d759d0be71e9a4e1f1b8cbca2137db1 Mon Sep 17 00:00:00 2001 From: Evan Wilde Date: Mon, 9 Jun 2025 09:33:53 -0700 Subject: [PATCH 3/4] Add missing symbols for Fedora41 Fixing the linux symbol check to unblock nightly packages. (cherry picked from commit 66a4e52a8707536da3807f59f79d3d9186bbc807) --- test/stdlib/symbol-visibility-linux.test-sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/stdlib/symbol-visibility-linux.test-sh b/test/stdlib/symbol-visibility-linux.test-sh index a1795dd27d9a5..e9cefd52a1859 100644 --- a/test/stdlib/symbol-visibility-linux.test-sh +++ b/test/stdlib/symbol-visibility-linux.test-sh @@ -257,6 +257,10 @@ // RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE15_M_replace_coldEPcmPKcmm \ // RUN: -e _ZSt12__str_concatINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEET_PKNS6_10value_typeENS6_9size_typeES9_SA_RKNS6_14allocator_typeE \ // RUN: -e _ZNSt7__cxx119to_stringEl \ +// RUN: -e _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_appendIJS5_EEEvDpOT_ \ +// RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEiEUlPcmE_EEvmT_ \ +// RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEjEUlPcmE_EEvmT_ \ +// RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEmEUlPcmE_EEvmT_ \ // RUN: > %t/swiftCore-all.txt // RUN: %llvm-nm --defined-only --extern-only --no-weak %platform-dylib-dir/%target-library-name(swiftCore) > %t/swiftCore-no-weak.txt // RUN: diff -u %t/swiftCore-all.txt %t/swiftCore-no-weak.txt @@ -519,6 +523,10 @@ // RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE15_M_replace_coldEPcmPKcmm \ // RUN: -e _ZSt12__str_concatINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEET_PKNS6_10value_typeENS6_9size_typeES9_SA_RKNS6_14allocator_typeE \ // RUN: -e _ZNSt7__cxx119to_stringEl \ +// RUN: -e _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_appendIJS5_EEEvDpOT_ \ +// RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEiEUlPcmE_EEvmT_ \ +// RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEjEUlPcmE_EEvmT_ \ +// RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEmEUlPcmE_EEvmT_ \ // RUN: > %t/swiftRemoteMirror-all.txt // RUN: %llvm-nm --defined-only --extern-only --no-weak %platform-dylib-dir/%target-library-name(swiftRemoteMirror) > %t/swiftRemoteMirror-no-weak.txt // RUN: diff -u %t/swiftRemoteMirror-all.txt %t/swiftRemoteMirror-no-weak.txt From 6598b0a1b3de31f1f5b0490e651f2009b658af36 Mon Sep 17 00:00:00 2001 From: Andrew Sukach Date: Wed, 16 Jul 2025 08:20:34 -0700 Subject: [PATCH 4/4] Add missing symbols for Fedora 41 (cherry picked from commit 4cf7940226d32430bd45e6c2c82a19914ba83bd8) --- test/stdlib/symbol-visibility-linux.test-sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/stdlib/symbol-visibility-linux.test-sh b/test/stdlib/symbol-visibility-linux.test-sh index e9cefd52a1859..4898454f660ae 100644 --- a/test/stdlib/symbol-visibility-linux.test-sh +++ b/test/stdlib/symbol-visibility-linux.test-sh @@ -261,6 +261,10 @@ // RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEiEUlPcmE_EEvmT_ \ // RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEjEUlPcmE_EEvmT_ \ // RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEmEUlPcmE_EEvmT_ \ +// RUN: -e _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_appendIJRKS5_EEEvDpOT_ \ +// RUN: -e _ZNSt6vectorISt10unique_ptrIKvSt8functionIFvPS1_EEESaIS6_EE17_M_realloc_appendIJS6_EEEvDpOT_ \ +// RUN: -e _ZNSt6vectorISt8optionalISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbEESaIS9_EE17_M_realloc_appendIJRKS9_EEEvDpOT_ \ +// RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringElEUlPcmE_EEvmT_ \ // RUN: > %t/swiftCore-all.txt // RUN: %llvm-nm --defined-only --extern-only --no-weak %platform-dylib-dir/%target-library-name(swiftCore) > %t/swiftCore-no-weak.txt // RUN: diff -u %t/swiftCore-all.txt %t/swiftCore-no-weak.txt @@ -527,6 +531,10 @@ // RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEiEUlPcmE_EEvmT_ \ // RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEjEUlPcmE_EEvmT_ \ // RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEmEUlPcmE_EEvmT_ \ +// RUN: -e _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_appendIJRKS5_EEEvDpOT_ \ +// RUN: -e _ZNSt6vectorISt10unique_ptrIKvSt8functionIFvPS1_EEESaIS6_EE17_M_realloc_appendIJS6_EEEvDpOT_ \ +// RUN: -e _ZNSt6vectorISt8optionalISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbEESaIS9_EE17_M_realloc_appendIJRKS9_EEEvDpOT_ \ +// RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringElEUlPcmE_EEvmT_ \ // RUN: > %t/swiftRemoteMirror-all.txt // RUN: %llvm-nm --defined-only --extern-only --no-weak %platform-dylib-dir/%target-library-name(swiftRemoteMirror) > %t/swiftRemoteMirror-no-weak.txt // RUN: diff -u %t/swiftRemoteMirror-all.txt %t/swiftRemoteMirror-no-weak.txt