This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ppc64le test build failure on glibc 2.23.

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?


Carlos Eduardo Seo
Software Engineer - Linux on Power Toolchain

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]