Bug 64647 - glibc-kernelhearder headers inconsistent with kernel-source
glibc-kernelhearder headers inconsistent with kernel-source
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: glibc-kernheaders (Show other bugs)
7.3
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Arjan van de Ven
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-05-08 21:35 EDT by Alejandro Mota
Modified: 2007-04-18 12:42 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-12-10 17:59:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Alejandro Mota 2002-05-08 21:35:47 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020408

Description of problem:
Header files in /usr/include/asm from glibc-kernheaders are completely different
from header files in /usr/src/linux-2.4/include/asm-i386 from kernel-source.
Applications requiring the use of these headers don't compile if they use
headers from glibc-kernheaders.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. ls -l /usr/src/linux-2.4/include/asm-i386 > /tmp/ks.dir
2. ls -l /usr/include/asm > /tmp/gkh.dir
3. diff /tmp/ks.dir /tmp/gkh.dir
	

Actual Results:  diff shows that the directories' contents is very different. 

Expected Results:  diff should show no difference, as in previous versions of
Red Hat Linux.

Additional info:
Comment 1 Michael Schwendt 2002-05-09 17:42:31 EDT
* /usr/include/linux/version.h defines UTS_RELEASE 2.4.9-9. Are these really the
right glibc kernel headers for Valhalla's 2.4.18-3 kernel?

* Also, most files in /usr/include/linux have a time stamp of Oct 21 2001 while
the kernel headers in /usr/src/linux-2.4/include/linux are different and up to
Apr 18 2002. When creating the glibc-kernheaders package, cp -a should have been
used to preserve timestamps.
Comment 2 Michael Schwendt 2002-05-13 18:42:20 EDT
Please ignore my comment if headers from kernel 2.4.9 are 100% compatible with
kernel 2.4.18.
Comment 3 Arjan van de Ven 2002-05-20 04:57:37 EDT
The kernel ABI to userspace is stable and doesn't change in an incompatible way.
(It only gets extended and the extensions are put in the glibc headers just fine)

The glibc headers are a SUBSET of the kernel headers, in that most of the
internal kernel parts are removed and only the parts that describe the stable
kernel ABI are present. Yes "diff" shows big differences, since all #ifdef
__KERNEL__ parts are removed for one. This is *NOT* a problem since userspace
programs (eg the programs that use glibc) can't use those bits anyway.
Comment 4 Michael Schwendt 2002-05-27 12:43:04 EDT
Reporter could close this report if he agrees. No further questions from me
regarding compatibility.
Comment 5 Brian Brock 2003-12-10 17:59:50 EST
closing, no comments in > 1 year and the issue isn't a bug.

Note You need to log in before you can comment on or make changes to this bug.