[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Patch wheezy's glibc to run on ancient kernel (2.6.16)?



Hi Sven,

> This is not too worrying since the 2.6.16 kernel has been unsupported
> since 2008, and 2.6.16.27 is even two years older.

Sure, for debian it is fine - however for me, being limited to that
old kernel, it is a showstopper.
Granted, the use-case is rather obscure ;)

> Probably.  To patch eglibc for supporting older kernels, change the
> MIN_KERNEL_SUPPORTED variable in debian/sysdeps/linux.mk and update the
> check in debian/debhelper.in/libc.preinst for the minimum kernel version
> accordingly.

Thanks for the hint about debian/debhelper.in/libc.preinst, I would
have missed it for sure.

Package rebuild went without any issues on a chroot-wheezy on my
raspberry, and the patched wheezy works perfectly on my Nokia-770 with
Linux-2.6.16, and is currently compiling stuff directly on the target.
To my surprise the linker didn't complain at all, even though all
libraries and binaries contain 2.6.26 as minimum kernel version.

To me this shows one of the benefits of the loose coupling the
packages within a linux distribution - running Windows-7 userland on a
WinXP kernel wouldn't be that easy I guess ;)

Best regards and thanks a lot for your help, Clemens


Reply to: