[patch] linux-x86-64 (for comments)

Roman Divacky rdivacky at freebsd.org
Sat May 10 10:50:44 UTC 2008


On Fri, May 09, 2008 at 07:02:05PM +0400, Chagin Dmitry wrote:
> 
> hi.
> 
> Recently with Roman have decided to make emulation linux-x86-64.
> Here a patch: http://81.200.6.196/linux-x86-64.diff.tar.gz
 
witten ~# fetch http://81.200.6.196/linux-x86-64.diff.tar.gz
fetch: http://81.200.6.196/linux-x86-64.diff.tar.gz: No route to host


> That's made:
> created module infrastructure.
> existing files are copied (removed unsupported syscalls,
> commented some code, etc...) signals unsupported yet.
> The module is compiled, but linux64 binaries hangs at loading libc:
> 
> ora# /compat/linux/bin/pwd
>       6078:
>       6078:     file=libc.so.6 [0];  needed by /compat/linux/bin/pwd [0]
>       6078:     find library=libc.so.6 [0]; searching
>       6078:      search cache=/etc/ld.so.cache
>       6078:      search path=/lib64/tls:/lib64:/usr/lib64/tls:/usr/lib64
>         (system search path)
>       6078:       trying file=/lib64/tls/libc.so.6
>       6078:       trying file=/lib64/libc.so.6
> /compat/linux/bin/pwd: error while loading shared libraries: 
> /lib64/libc.so.6: c
> annot read file data: Error 9
> 
> Work proceeds further :)
> 
> That is necessary: review && comments about modificated existing 
> sys/compat/linux files. The help from glibc experts - now i shall not 
> understand where it is fallen off.

Dmitry has fixed this (a wrong AUX entry). I think we should sponsor
him with a p4 account...

great work!

roman


More information about the freebsd-emulation mailing list