[glibc/azanella/clang] elf: Disable unload4 test on clang
Adhemerval Zanella
azanella@sourceware.org
Mon Jan 29 18:03:08 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6f15936b29e841899de2f64cf19416b652e33ace
commit 6f15936b29e841899de2f64cf19416b652e33ace
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Aug 26 09:24:25 2022 -0300
elf: Disable unload4 test on clang
It triggers and infintie loop.
Diff:
---
elf/unload4.c | 5 +++++
1 file changed, 5 insertions(+)
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
}
More information about the Glibc-cvs
mailing list