This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: ppc64le test build failure on glibc 2.23.
- From: Carlos Eduardo Seo <cseo at linux dot vnet dot ibm dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>, Tulio Magno Quites Machado Filho <tuliom at linux dot vnet dot ibm dot com>
- Date: Fri, 19 Feb 2016 01:32:41 -0200
- Subject: Re: ppc64le test build failure on glibc 2.23.
- Authentication-results: sourceware.org; auth=none
- References: <56C68241 dot 4020006 at redhat dot com>
On 2/19/16 12:47 AM, Carlos O'Donell wrote:
Carlos, Tulio,
I see the following when trying to make check for ppc64le:
../sysdeps/powerpc/test-get_hwcap.c:26:22: fatal error: sys/auxv.h: No such file or directory
#include <sys/auxv.h>
^
compilation terminated.
A test can't include "<sys/auxv.h>" because we don't have
a redirecting header in include/sys/ for auxv.h.
You either have to include "<misx/sys/auxv.h>" or add a
redirecting header.
How did you guys get this to compile? :-)
Looking at the preprocessor output for test-get_hwcap, I see it's
getting the header from the system:
Fedora 21:
# 1 "/usr/include/sys/auxv.h" 1 3 4
# 20 "/usr/include/sys/auxv.h" 3 4
Ubuntu 14.04:
# 1 "/usr/include/powerpc64le-linux-gnu/sys/auxv.h" 1 3 4
# 20 "/usr/include/powerpc64le-linux-gnu/sys/auxv.h" 3 4
I suppose we can't always rely on this and it has to be fixed for 2.23.
What solution do you prefer?
Thanks,
--
Carlos Eduardo Seo
Software Engineer - Linux on Power Toolchain
cseo@linux.vnet.ibm.com