Summary: | [[ headers ]] sash 3.6 won't compile against 2.6 headers | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Prakash Punnoor <prakashp> |
Component: | [OLD] Core system | Assignee: | Tim Yamin (RETIRED) <plasmaroo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | askwar, mdoughty, siegbert.baude, vapier |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Prakash Punnoor
2003-12-14 01:03:57 UTC
Not sure if this should go to hardened or kernel.. i actually did some research into this ... there's two bugs here ... first: linux mount support pulls in 'linux/fs.h' which leads to the errors you see here ... the headers are a mess of __KERNEL__ and __ASSEMBLY__ defines which is why TIF_NEED_RESCHED isnt being found in user space ... i think this needs to be sorted out in the kernel headers rather than in this package second: linux chattr support (well, really ext2 chattr support) pulls in linux/ext2_fs.h which leads eventually to the ugly linux/spinlock.h errors ... one solution here might be to depend on sys-fs/e2fsprogs and change the linux/ext2_fs.h include to ext2fs/ext2_fs.h ... the other solution is to sort out the linux headers package ... dosfstools is hitting this same bug ... the best way to fix this imho is by editing /usr/include/linux/fs.h and ifdef-ing the linux/radix-tree.h include ... #ifdef __KERNEL__ #include <linux/radix-tree.h> #endif the only code in fs.h that uses the radix stuff has this same ifdef around it so i dont believe it'd break anything No, using e2fsprogs isn't really a solution as there seems to be some sort of problem if you use that, as sash is necessary in the bootstrap process for something or the other - so I patched the headers. Should be fixed in linux-headers-2.6.0. *** Bug 40578 has been marked as a duplicate of this bug. *** *** Bug 42527 has been marked as a duplicate of this bug. *** I think the problem is happening again with the latest linux26-headers (ie. linux26-headers-2.6.7-r3). Please see bug #57376. I filed this bug also against sash and I'm also getting the error " `TIF_NEED_RESCHED' undeclared". See Bug #57376 comment #1. no, this bug is not happening again ... please dont split comments across bug reports |