about summary refs log tree commit diff
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-04-17 16:12:41 -0300
commit5272f92fd5665b1cea37cda8d70cb888b9059c6e (patch)
tree2cf4431b9deeffd374982a0ab6a2f1ae29dc1980
parent513a0b4b8b79fab04adf096e76c9dbd7cee3029d (diff)
downloadglibc-5272f92fd5665b1cea37cda8d70cb888b9059c6e.tar.gz
glibc-5272f92fd5665b1cea37cda8d70cb888b9059c6e.tar.xz
glibc-5272f92fd5665b1cea37cda8d70cb888b9059c6e.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
 }