This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 6/6] Installed header hygiene (BZ#20366): Test of installed headers.
On Fri, Sep 23, 2016 at 5:51 PM, Joseph Myers <joseph@codesourcery.com> wrote:
> I'm seeing the new tests fail in misc/ for 32-bit x86, because of:
>
> ../sysdeps/unix/sysv/linux/x86/sys/elf.h:24:3: error: #warning "This header is obsolete; use <sys/procfs.h> instead." [-Werror=cpp]
> # warning "This header is obsolete; use <sys/procfs.h> instead."
> ^
> cc1: all warnings being treated as errors
I can't conveniently do anything with anything other than x86-64 at
the moment, but there's already a special case for sys/elf.h in
check-installed-headers.sh -- would you mind seeing if you can
generalize it? Possibly passing $(target_alias) down from the
Makefile rather than what it does now.
zw