misc/check-installed-headers-c failing due to upstream kernel change

Ben Hutchings ben.hutchings@codethink.co.uk
Wed Jan 23 15:57:00 GMT 2019


On Mon, 2019-01-21 at 14:56 -0800, Vineet Gupta wrote:
> Hi,
> 
> It seems a recent upstream kernel change (went in 5.0-rcX) 81c9d43f9487
> ("kernel/sysctl: add panic_print into sysctl") trips one of the glibc tests.
> 
> 	FAIL: misc/check-installed-headers-c
> 
> > :: sys/sysctl.h
> > ::::
> > *** Obsolete types detected:
> > ~/install/compilers/arc-linux-gnu/sysroot/usr/include/linux /sysctl.h:
> > KERN_PANIC_PRINT=78, /* ulong: bitmask to print system info on panic */
> 
> It doesn't seem to like ulong (inside a comment). I don't have enough foo to fix
> it, but wanted to bring it to notice anyways.

This additions looks like a mistake, anyway - Linux's binary sysctl
interface is only there for ancient compatibility and no new sysctls
should be added to this enumeration.

Ben.

-- 
Ben Hutchings, Software Developer                         Codethink Ltd
https://www.codethink.co.uk/                 Dale House, 35 Dale Street
                                     Manchester, M1 2HF, United Kingdom



More information about the Libc-alpha mailing list