Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60258 - bitops.h uses an implied function, causes GCC 3.4 to error out
Summary: bitops.h uses an implied function, causes GCC 3.4 to error out
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-13 12:29 UTC by LordKow
Modified: 2004-08-13 16:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Bitops patch for linux26-headers-2.6.7-r4 (linux26-headers-2.6.7-r4-bitops_fix.patch,486 bytes, patch)
2004-08-13 12:30 UTC, LordKow
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.