Bug 217723

Summary: Error compiling with kernel 2.6.19 headers
Product: [Fedora] Fedora Reporter: Vallimar <vallimar>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: drepper
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.5.90-11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-12-06 17:54:31 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:
Attachments:
Description Flags
Patch based on one made for the iproute2 application none

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.