Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 60258

Summary: bitops.h uses an implied function, causes GCC 3.4 to error out
Product: Gentoo Linux Reporter: LordKow <kd.drake>
Component: [OLD] Core systemAssignee: Tim Yamin (RETIRED) <plasmaroo>
Status: RESOLVED WORKSFORME    
Severity: normal CC: plasmaroo
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Bitops patch for linux26-headers-2.6.7-r4

Description LordKow 2004-08-13 12:29:44 UTC
Line 78 ( i believe) in linux26-headers-2.6.7-r4 reads order = fls(count); , implying the function fls. This causes GCC 3.4 to error out with the implied declaration of function ... error.

Patch is supplied. Error found while I was compiling the new DirectFB.

Reproducible: Always
Steps to Reproduce:
1.emerge DirectFB with linux26-headers-2.6.7-r4
2.
3.

Actual Results:  
DirectFB failed to compile.

Expected Results:  
Should have compiled.
Comment 1 LordKow 2004-08-13 12:30:38 UTC
Created attachment 37374 [details, diff]
Bitops patch for linux26-headers-2.6.7-r4

Tested this with a modified linux26-headers-2.6.7-r4.ebuild, works perfect.
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-08-13 12:48:34 UTC
Hm; can you try remerging your 2.6.7-r4 headers after an "emerge sync" and try compiling DirectFB without that patch?
Comment 3 LordKow 2004-08-13 16:08:56 UTC
Well it compiled now, something must have been broke when I first emerged linux26-headers-2.6.7-r4, all is fine now.