Patchwork Add sys/auxv.h wrapper to include/sys/

login
register
mail settings
Submitter Aurelien Jarno
Date March 8, 2016, 5:01 p.m.
Message ID <1457456497-17205-1-git-send-email-aurelien@aurel32.net>
Download mbox | patch
Permalink /patch/11273/
State New
Headers show

Comments

Aurelien Jarno - March 8, 2016, 5:01 p.m.
The GNU libc testsuite fails to build on powerpc/ppc64/ppc64le with the
following error:

    ../sysdeps/powerpc/test-get_hwcap.c:26:22: fatal error: sys/auxv.h: No such file or director

This is because test-get_hwcap.c includes <sys/auxv.h>, but we don't
provide a wrapper in include/sys. This patch adds one.

Changelog:
	* include/sys/auxv.h: New file.
---
 ChangeLog          | 4 ++++
 include/sys/auxv.h | 1 +
 2 files changed, 5 insertions(+)
 create mode 100644 include/sys/auxv.h

This is a good candidate for a backport to the 2.23 branch as without it
the testsuite doesn't even build on powerpc machines.
Roland McGrath - March 8, 2016, 6:46 p.m.
OK

Patch

diff --git a/ChangeLog b/ChangeLog
index 289d578..c98a5fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@ 
+2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* include/sys/auxv.h: New file.
+
 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #19783]
diff --git a/include/sys/auxv.h b/include/sys/auxv.h
new file mode 100644
index 0000000..dede2c3
--- /dev/null
+++ b/include/sys/auxv.h
@@ -0,0 +1 @@ 
+#include <misc/sys/auxv.h>