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

Chagin Dmitry chagin.dmitry at gmail.com
Fri May 9 15:03:19 UTC 2008


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

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.

thnx!

-- 
Have fun!
chd


More information about the freebsd-emulation mailing list