Summary: | linux-headers-2.6.11-r2 - error in /usr/include/asm-x86_64/bitops.h | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Shawn Teague <gentoo> |
Component: | [OLD] Unspecified | Assignee: | Tim Yamin (RETIRED) <plasmaroo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | x86-kernel |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Fixed in CVS, emerge sync and remerge your headers; please reopen if issue still persists. Thanks! Wahoo! Thanks for the fast response. |
Found the error while trying to emerge util-vserver-0.30.205-r1 using linux-headers-2.6.11-r2 ERROR: from compile: /usr/include/asm-x86_64/bitops.h: In function `__scanbit': /usr/include/asm-x86_64/bitops.h:265: error: parse error before ':' token FIX: IN /usr/include/asm-x86_64/bitops.h:265 CHANGE < asm("bsfq %1,%0 ; cmovz %2,%0" : "=&r" (val) : "r" (val), "r" (max)) > __asm__("bsfq %1,%0 ; cmovz %2,%0" : "=&r" (val) : "r" (val), "r" (max)) Reproducible: Always Steps to Reproduce: 1.emerge /util-vserver 2. 3. Actual Results: emerge no workie Expected Results: Emerge workie Every other assemblier call is done with a __asm__() function; this particular line trys with a asm() function; Looks like your basic typo