diff --git a/libc-test/build.rs b/libc-test/build.rs
index b199d1cfbc370803d6903671b5f6a78647d4dfd6..5087906486002f5e22970d7dc6b509fec7d70b7a 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -1860,6 +1860,7 @@ fn test_linux(target: &str) {
     let x32 = target.contains("x32");
     let mips = target.contains("mips");
     let mips32_musl = mips && !target.contains("64") && musl;
+    let sparc64 = target.contains("sparc64");
 
     let mut cfg = ctest::TestGenerator::new();
     cfg.define("_GNU_SOURCE", None);
@@ -2193,6 +2194,10 @@ fn test_linux(target: &str) {
             // https://github.com/gnzlbg/ctest/issues/68
             "lio_listio" if musl => true,
 
+            // FIXME: the glibc version used by the Sparc64 build jobs
+            // which use Debian 10.0 is too old.
+            "statx" if sparc64 => true,
+
             _ => false,
         }
     });