SH: statx is missing in the kernel
Commit Message
__NR_statx is not defined by the kernel headers and __ASSUME_STATX is
defined since kernel 4.11.
__ASSUME_STATX must be undefined until SH kernel support statx.
Fixes:
../sysdeps/unix/sysv/linux/statx.c:41:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1: all warnings being treated as errors
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
ChangeLog | 5 +++++
sysdeps/unix/sysv/linux/sh/kernel-features.h | 3 +++
2 files changed, 8 insertions(+)
@@ -1,3 +1,8 @@
+2018-07-23 Romain Naour <romain.naour@gmail.com> (tiny change)
+
+ * sysdeps/unix/sysv/linux/sh/kernel-features.h
+ (__ASSUME_STATX): Undef.
+
2018-07-20 Joseph Myers <joseph@codesourcery.com>
* scripts/build-many-glibcs.py (Context.checkout): Default
@@ -56,4 +56,7 @@
# undef __ASSUME_RENAMEAT2
#endif
+/* Support for statx is not available yet for SH. */
+# undef __ASSUME_STATX
+
#endif