This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Failing misc/check-installed-headers-c with new kernel headers.
- From: Zack Weinberg <zackw at panix dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, Florian Weimer <fweimer at redhat dot com>, DJ Delorie <dj at redhat dot com>, Arjun Shankar <arjun at redhat dot com>
- Date: Sat, 19 Jan 2019 11:44:01 -0500
- Subject: Re: Failing misc/check-installed-headers-c with new kernel headers.
- References: <30a12210-dbcc-f92f-ad59-2b1c5ad10136@redhat.com>
On Wed, Jan 16, 2019 at 4:11 PM Carlos O'Donell <carlos@redhat.com> wrote:
>
> In the latest Fedora Rawhide weekly glibc rebase I'm seeing
> a failure across all arches.
...
> BUILDSTDERR: *** Obsolete types detected:
> BUILDSTDERR: /usr/include/linux/sysctl.h: KERN_PANIC_PRINT=78, /* ulong: bitmask to print system info on panic */
...
> This is a false positive from the regexp used to search for obsolete types.
I propose to fix this by separating the obsolete-typedefs test to a
new program, implemented in Python, which lexes C accurately enough
that it won't get false positives on the contents of strings and
comments. It will also not look at headers that aren't under our
control. Patch shortly.
zw