Bug 217723 - Error compiling with kernel 2.6.19 headers
Summary: Error compiling with kernel 2.6.19 headers
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-29 16:34 UTC by Vallimar
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version: 2.5.90-11
Clone Of:
Environment:
Last Closed: 2006-12-06 17:54:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch based on one made for the iproute2 application (1.88 KB, patch)
2006-11-29 16:34 UTC, Vallimar
no flags Details | Diff

Description Vallimar 2006-11-29 16:34:53 UTC
Description of problem:

Several interface macros were removed from the kernel headers, which glibc
requires when compiling. The fact that they are now gone from the kernel causes
compilation issues.


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

kernel >= 2.6.19, glibc >= 2.5.90


How reproducible:

Always.


Steps to Reproduce:
1. make headers_check in kernel 2.6.19 source
2. install exported 2.6.19 headers
3. try to compile glibc

  
Actual results:

Errors on missing defines/macros.


Expected results:

Glibc should compile to completion and generate a new binary rpm.


Additional info:

I'm not sure what version of kernel headers is currently being used in
fedora-devel or if this is fixed in the fedora kernel includes, I just wanted to
give a heads-up that using a vanilla 2.6.19 kernel exported header-set, you
won't be able to compile glibc without some help.

Comment 1 Vallimar 2006-11-29 16:34:53 UTC
Created attachment 142388 [details]
Patch based on one made for the iproute2 application

Comment 2 Jakub Jelinek 2006-12-06 17:54:31 UTC
The patch is wrong, you can't include <linux/if_addr.h> without any checks,
as that header didn't exist before.  Some macros aren't needed.
glibc-2.5.90-11 has a different fix.


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