From 99b06f8a80cf81f34c5f9b3f8c0e69246f792317 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 5 Oct 2023 13:52:56 +0100 Subject: [PATCH] Fix: ld testsuite: non-PIC shared tests fail on powerpc-linux-musl PR 30918 * testsuite/ld-shared/shared.exp: Add XFAILs for tests that fail with the MUSL library. --- ld/ChangeLog | 6 ++++++ ld/testsuite/ld-shared/shared.exp | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 140453a0f35..a9c87bd1cf4 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2023-10-05 A. Wilcox w + + PR 30918 + * testsuite/ld-shared/shared.exp: Add XFAILs for tests that fail + with the MUSL library. + 2023-10-05 A. Wilcox w PR 30923 diff --git a/ld/testsuite/ld-shared/shared.exp b/ld/testsuite/ld-shared/shared.exp index f56e42f667b..359d9239b98 100644 --- a/ld/testsuite/ld-shared/shared.exp +++ b/ld/testsuite/ld-shared/shared.exp @@ -226,6 +226,7 @@ if ![ld_compile "$CC_FOR_TARGET $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp. setup_xfail "*-*-solaris2*" setup_xfail "ia64-*-linux*" setup_xfail "alpha*-*-linux*" + setup_xfail "powerpc-*-linux-musl" setup_xfail "powerpc64*-*-*" if { ![istarget hppa*64*-*-linux*] } { setup_xfail "hppa*-*-linux*" @@ -307,6 +308,7 @@ if ![ld_compile "$CC_FOR_TARGET $SHCFLAG $picflag" $srcdir/$subdir/main.c $tmpdi setup_xfail "*-*-solaris2*" setup_xfail "ia64-*-linux*" setup_xfail "alpha*-*-linux*" + setup_xfail "powerpc-*-linux-musl" setup_xfail "powerpc64*-*-*" if { ![istarget hppa*64*-*-linux*] } { setup_xfail "hppa*-*-linux*" -- 2.39.2