From 5c7224bdff3b6913a0e08c6f4a6b6b077219fc87 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 26 Feb 2025 13:37:14 -0500 Subject: Tests: Teach RunCMake to ignore GNU ld --warn-rwx-segments warnings GNU ld 2.39 added warnings of the form ld: warning: %pB has a LOAD segment with RWX permissions They appear when linking test binaries on `hppa` and `sparc`. Debian-Issue: https://bugs.debian.org/1098956 Debian-Issue: https://bugs.debian.org/1098970 --- Tests/RunCMake/RunCMake.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/RunCMake/RunCMake.cmake b/Tests/RunCMake/RunCMake.cmake index 6251ca0..1601561 100644 --- a/Tests/RunCMake/RunCMake.cmake +++ b/Tests/RunCMake/RunCMake.cmake @@ -193,6 +193,7 @@ function(run_cmake test) "|icp?x: remark: Note that use of .-g. without any optimization-level option will turn off most compiler optimizations" "|ifx: remark #10440: Note that use of a debug option without any optimization-level option will turnoff most compiler optimizations" "|lld-link: warning: procedure symbol record for .* refers to PDB item index [0-9A-Fa-fx]+ which is not a valid function ID record" + "|ld: warning: .* has a LOAD segment with RWX permissions" "|Error kstat returned" "|Hit xcodebuild bug" "|Recompacting log\\.\\.\\." -- cgit v0.12