Skip to content

Commit 4490988

Browse files
committed
uclibc: skip some items not included in uclibc
1 parent 7c89dd2 commit 4490988

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

libc-test/build.rs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2846,6 +2846,21 @@ fn test_linux(target: &str) {
28462846
| "SW_CNT"
28472847
if mips || ppc64 || riscv64 || sparc64 => true,
28482848

2849+
// kernel constants not available in uclibc 1.0.34
2850+
| "IPPROTO_BEETPH"
2851+
| "IPPROTO_MPLS"
2852+
| "PTRACE_O_SUSPEND_SECCOMP"
2853+
| "IPV6_HDRINCL"
2854+
| "IPV6_PMTUDISC_INTERFACE"
2855+
| "IPV6_PMTUDISC_OMIT"
2856+
| "CLONE_NEWCGROUP"
2857+
| "ADDR_NO_RANDOMIZE"
2858+
| "ADDR_COMPAT_LAYOUT"
2859+
| "READ_IMPLIES_EXEC"
2860+
| "ADDR_LIMIT_3GB"
2861+
| "PTRACE_O_EXITKILL"
2862+
| "PTRACE_O_SUSPEND_SECCOM" if uclibc => true,
2863+
28492864
_ => false,
28502865
}
28512866
});
@@ -2923,6 +2938,9 @@ fn test_linux(target: &str) {
29232938

29242939
"reallocarray" if musl => true,
29252940

2941+
// Not defined in uclibc as of 1.0.34
2942+
"gettid" if uclibc => true,
2943+
29262944
_ => false,
29272945
}
29282946
});

0 commit comments

Comments
 (0)