From patchwork Tue Mar 8 17:01:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 11273 Received: (qmail 22429 invoked by alias); 8 Mar 2016 17:01:58 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 22409 invoked by uid 89); 8 Mar 2016 17:01:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=BAYES_40, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=D*aurel32.net, U*aurelien, aurelien@aurel32.net, sk:aurelie X-HELO: hall.aurel32.net From: Aurelien Jarno To: libc-alpha@sourceware.org Cc: Aurelien Jarno Subject: [PATCH] Add sys/auxv.h wrapper to include/sys/ Date: Tue, 8 Mar 2016 18:01:37 +0100 Message-Id: <1457456497-17205-1-git-send-email-aurelien@aurel32.net> 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 , 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. diff --git a/ChangeLog b/ChangeLog index 289d578..c98a5fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-03-08 Aurelien Jarno + + * include/sys/auxv.h: New file. + 2016-03-08 H.J. Lu [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