Bug 63364

Summary: Different version of sensors.h than in kernel-source
Product: [Retired] Red Hat Linux Reporter: RLX Technologies <linux-dev>
Component: glibc-kernheadersAssignee: Dave Jones <davej>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-27 22:58:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RLX Technologies 2002-04-12 22:38:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020326

Description of problem:
The /usr/include/linux/sensors.h header file from glibc-kernheaders is not the
same version as the one in the kernel package.  The version in the kernel is
from lm_sensors 2.6.1.  This bug is present in beta4.

Version-Release number of selected component (if applicable):
kernel-2.4.18-0.4
glibc-kernheaders-2.4-7.11

How reproducible:
Always

Steps to Reproduce:
diff -u /usr/include/linux/sensors.h /usr/src/linux/include/linux/sensors.h

Comment 1 Arjan van de Ven 2002-04-13 06:57:42 UTC
Ok how is this a bug ?
The kernel ABI is stable and doesn't change much so why is it a big deal that
the glibc headers are different from the kernel-internal ones ? As long as both
describe the proper ABI./...

Comment 2 RLX Technologies 2002-04-17 14:24:05 UTC
Perhaps I don't understand the purpose of having the sensors/i2c header files in
the glibc-kernheaders package at all??

The issue that I see is that some of the #define values and variable names are
different in the two header files.  Therefore, since the sensors modules in 7.3
have been compiled against the header file in
/usr/src/linux/include/linux/sensors.h anything compiled using
/usr/include/linux/sensors.h would not have the correct values for these #defines.  

What is the criteria for determining what version of kernel headers to include
in the glibc-kernheaders package?  Why wouldn't they be the same headers as the
shipped kernel?


Comment 3 Arjan van de Ven 2002-04-17 14:33:49 UTC
the glibc-kernheaders package is the package glibc and libraries are compiled
against..... nothing to do with the kernel at all.