Summary: | glibc-2.2.5-r10: emerge fails with linux-headers-2.6 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Schachtebeck <michael.schachtebeck> |
Component: | [OLD] Core system | Assignee: | Tim Yamin (RETIRED) <plasmaroo> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | vapier |
Priority: | High | ||
Version: | 2005.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michael Schachtebeck
2005-05-30 12:29:34 UTC
this is because of linux-headers-2.6 not because of gcc-2 if you upgrade to linux-headers-2.6.11-r1 does it work ? > if you upgrade to linux-headers-2.6.11-r1 does it work ?
I upgraded to linux-headers-2.6.11-r1, now it fails with a different error:
In file included from /usr/include/linux/bitops.h:77,
from /usr/include/asm/cpufeature.h:10,
from /usr/include/asm/processor.h:18,
from /usr/include/linux/prefetch.h:15,
from /usr/include/linux/list.h:5,
from /usr/include/linux/sysctl.h:23,
from ../sysdeps/unix/sysv/linux/sys/sysctl.h:28,
from ../include/sys/sysctl.h:2,
from ../sysdeps/unix/sysv/linux/dl-osinfo.h:21,
from ../sysdeps/unix/sysv/linux/init-first.c:33:
/usr/include/asm/bitops.h:370: conflicting types for `__ffs'
../include/string.h:43: previous declaration of `__ffs'
make[2]: ***
[/usr/TMP/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/csu/init-first.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/TMP/portage/glibc-2.2.5-r10/work/glibc-2.2.5/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/usr/TMP/portage/glibc-2.2.5-r10/work/glibc-2.2.5'
make: *** [all] Error 2
> I upgraded to linux-headers-2.6.11-r1, now it fails with a different error:
Sorry, it's not a different error, only the first line number is different, the
error seems to be the same.
vapier: This is going to be a problem since we need to get glibc to #define __have_ffs or something during the build stage - newer glibcs don't have __ffs in at all so we don't hit this. what files specifically would you want updated to define __have_ffs ? i have no problem patching them in ... 2.6 headers in general are just a pain with gcc2 and not worth the effort so i've just updated the profile to force 2.4 headers |