Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2008 19:02:05 +0400 (MSD)
From:      Chagin Dmitry <chagin.dmitry@gmail.com>
To:        freebsd-emulation@freebsd.org
Cc:        Chagin Dmitry <chagin.dmitry@gmail.com>
Subject:   [patch] linux-x86-64 (for comments)
Message-ID:  <alpine.BSF.1.10.0805091835080.3602@ora.chd.net>
In-Reply-To: <20080508210641.GA81647@freebsd.org>
References:  <20080506214738.GA31134@freebsd.org> <alpine.BSF.1.10.0805081912080.5871@ora.chd.net> <20080508165244.GA68088@freebsd.org> <alpine.BSF.1.10.0805082102050.6489@ora.chd.net> <20080508170819.GA68720@freebsd.org> <alpine.BSF.1.10.0805082117170.6489@ora.chd.net> <20080508172503.GA69463@freebsd.org> <alpine.BSF.1.10.0805082210000.6489@ora.chd.net> <20080508195310.GA74606@freebsd.org> <alpine.BSF.1.10.0805090003520.8334@ora.chd.net> <20080508210641.GA81647@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.1.10.0805091835080.3602>