Re: broken linuxulator in -current as of Jan 8 17:51:45 CET

From: Divacky Roman <xdivac02_at_stud.fit.vutbr.cz>
Date: Wed, 10 Jan 2007 17:01:12 +0100
> Yes, it works with 2.6.16. Here's what I think is happening:
> 
> ls is linked against librt.so.1 with /lib and /usr/lib as runtime
> search paths and thus:
> 
> - linker calls open("/lib/librt.so.1")
> - kernel returns "/compat/linux/lib/librt.so.1"
> - linker reads and sees it requires kernel ABI 2.4.20
>   * when osrelease=2.6.16, this is ok, all done
>   * when osrelease=2.4.2
>     + linker calls open("/usr/lib/librt.so.1")
>     + kernel returns "/compat/linux/usr/lib/librt.so.1" (symlink)
>       (previously kernel returned FreeBSD "/usr/lib/librt.so.1" here,
>        which caused linker error)
>     + linker reads and sees it requires kernel ABI 2.4.20, not ok
>     + linker calls open("/lib/obsolete/linuxthreads/librt.so.1")
>     + kernel returns "/compat/linux/lib/obsolete/linuxthreads/librt.so.1"
>     + linker reads and sees it requires kernel ABI 2.2.5, ok, all done

I think you are right.... I discussed it with alexander today and I propose
that installation of linux_base should set (or tell user to set) the osrelease
to the version whicih is the given linux_base shipped with on default.

fc4 ships with 2.6.11 kenrel and we force it to use 2.4.2 no wonder it doesnt
work as expected

thnx for the info

roman
Received on Wed Jan 10 2007 - 15:01:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:04 UTC