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

Bug 426400

Summary: Reintroduce sys-kernel/linux-headers-2.6.16 to the tree
Product: Gentoo Linux Reporter: Richard Yao (RETIRED) <ryao>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED NEEDINFO    
Severity: normal Keywords: Inclusion
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard Yao (RETIRED) gentoo-dev 2012-07-13 06:20:46 UTC
I am running the Gentoo Linux userland in Gentoo FreeBSD jail. FreeBSD's Linux emulation emulates 2.6.16, which requires building against sys-kernel/linux-headers-2.6.16. Otherwise, coreutils and tar will expect syscalls that FreeBSD does not support.
Comment 1 Richard Yao (RETIRED) gentoo-dev 2012-07-13 07:14:48 UTC
I cannot find gentoo-headers-2.6.16-4.tar.bz2, which is needed to reintroduce sys-kernel/linux-headers-2.6.16. I tried substituting sys-kernel/linux-headers-2.6.18 using the tarball from vapier's dev space, but `make -s mrproper` will fail with the following:

Makefile:1376: *** mixed implicit and normal rules.  Stop.

A workaround is to install =sys-devel/make-3.80-r4, which has no problems with mixed implicit and normal rules.

Using the older headers was Diego's idea, which required rebuilding glibc. Unfortunately, rebuilding glibc fails due to an issue with ptrace. I am going to close this until I find a way to make it work. Otherwise, the older headers are not useful to us.