aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-08-26 09:24:25 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-09 10:29:18 -0300
commitd1b5fdd9292292444976d51a2014934021ed25b9 (patch)
treeec0a0db88255c0473b2fa1213682690a34837213
parent0974bec8f4835d84933399a914fb18e71cfa2efc (diff)
downloadglibc-d1b5fdd9292292444976d51a2014934021ed25b9.tar
glibc-d1b5fdd9292292444976d51a2014934021ed25b9.tar.gz
glibc-d1b5fdd9292292444976d51a2014934021ed25b9.tar.bz2
glibc-d1b5fdd9292292444976d51a2014934021ed25b9.zip
elf: Disable unload4 test on clang
It triggers and infintie loop.
-rw-r--r--elf/unload4.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/elf/unload4.c b/elf/unload4.c
index 6e171a22e0..97ab6dafcc 100644
--- a/elf/unload4.c
+++ b/elf/unload4.c
@@ -5,6 +5,10 @@
int
main (void)
{
+#ifdef __clang__
+ /* It triggers an infinite loop on clang. */
+ return 77;
+#else
#ifdef M_PERTURB
mallopt (M_PERTURB, 0xaa);
#endif
@@ -45,4 +49,5 @@ main (void)
}
dlclose (h);
return 0;
+#endif
}