summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkosayoda <git@siek.dev>2023-02-21 10:03:41 -0500
committerkosayoda <git@siek.dev>2023-02-21 10:03:41 -0500
commitfb7d1c5d677a372c392feda9ee50f77cad6cd20c (patch)
tree480a5f1ca27fea20b1e80405ea6364957e1c3ba0
parent2c46c2ac9b6c5f1443ca5b56b1cf3be918eab43c (diff)
downloadrust-libc-fb7d1c5d677a372c392feda9ee50f77cad6cd20c.tar.gz
Skip certain tests on sparc64 due to old glibc version.
-rw-r--r--libc-test/build.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 27405723c1..4da3c13c44 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -3693,6 +3693,10 @@ fn test_linux(target: &str) {
// FIXME: the glibc version used by the Sparc64 build jobs
// which use Debian 10.0 is too old.
"statx" if sparc64 => true,
+ // Needs glibc 2.34 or later.
+ "posix_spawn_file_actions_addclosefrom_np" if gnu && sparc64 => true,
+ // Needs glibc 2.35 or later.
+ "posix_spawn_file_actions_addtcsetpgrp_np" if gnu && sparc64 => true,
// FIXME: Deprecated since glibc 2.30. Remove fn once upstream does.
"sysctl" if gnu => true,