From owner-freebsd-emulation@FreeBSD.ORG Sat May 10 10:50:44 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 803191065670 for ; Sat, 10 May 2008 10:50:44 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 32CDC8FC1A for ; Sat, 10 May 2008 10:50:43 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 692A967EF78; Sat, 10 May 2008 12:50:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9I7ynzVHp3Ak; Sat, 10 May 2008 12:50:09 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 0756F67DBF6; Sat, 10 May 2008 12:50:08 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.2/8.14.2/Submit) id m4AAo8IG071291; Sat, 10 May 2008 12:50:08 +0200 (CEST) (envelope-from rdivacky) Date: Sat, 10 May 2008 12:50:08 +0200 From: Roman Divacky To: Chagin Dmitry Message-ID: <20080510105008.GA71225@freebsd.org> References: <20080508165244.GA68088@freebsd.org> <20080508170819.GA68720@freebsd.org> <20080508172503.GA69463@freebsd.org> <20080508195310.GA74606@freebsd.org> <20080508210641.GA81647@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org Subject: Re: [patch] linux-x86-64 (for comments) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 May 2008 10:50:44 -0000 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