From owner-freebsd-emulation@FreeBSD.ORG Mon Dec 27 21:59:59 2010 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8226D106564A; Mon, 27 Dec 2010 21:59:59 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mx.critical.ch (cl-8.zrh-02.ch.sixxs.net [IPv6:2001:1620:f00:7::2]) by mx1.freebsd.org (Postfix) with ESMTP id F2AF28FC12; Mon, 27 Dec 2010 21:59:58 +0000 (UTC) Received: from beaver.home.critical.ch (80-218-148-1.dclient.hispeed.ch [80.218.148.1]) (authenticated bits=0) by mx.critical.ch (8.14.3/8.14.3/critical-1.0) with ESMTP id oBRLxvLj041330; Mon, 27 Dec 2010 22:59:58 +0100 (CET) (envelope-from ehaupt@FreeBSD.org) Date: Mon, 27 Dec 2010 22:59:57 +0100 From: Emanuel Haupt To: Emanuel Haupt Message-Id: <20101227225957.e4c26941.ehaupt@FreeBSD.org> In-Reply-To: <20101227225517.19d6e236.ehaupt@FreeBSD.org> References: <20101227160914.f8939c2b.ehaupt@FreeBSD.org> <38315428@h30.sp.ipt.ru> <20101227225517.19d6e236.ehaupt@FreeBSD.org> X-Mailer: Sylpheed 3.0.3 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: emulation@FreeBSD.org Subject: Re: GLIBCXX_3.4.11 with emulators/linux_base-f10 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: Mon, 27 Dec 2010 21:59:59 -0000 Emanuel Haupt wrote: > Boris Samorodov wrote: > > On Mon, 27 Dec 2010 16:09:14 +0100 Emanuel Haupt wrote: > > > > > I'm trying to run a linux binary with the > > > 'emulators/linux_base-f10' base set. Unfortunately it requires > > > GLIBCXX_3.4.11: > > > > > # ldd ./CCcam.x86 > > > ./sometool: > > > ./sometool: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not > > > found (required by ./sometool) ./sometool: exit status 1 > > > > > It seems that I'm only one minor version short: > > > > > # strings /compat/linux/usr/lib/libstdc++.so.6 | grep GLIBCXX_3 > > > GLIBCXX_3.4 > > > GLIBCXX_3.4.1 > > > GLIBCXX_3.4.2 > > > GLIBCXX_3.4.3 > > > GLIBCXX_3.4.4 > > > GLIBCXX_3.4.5 > > > GLIBCXX_3.4.6 > > > GLIBCXX_3.4.7 > > > GLIBCXX_3.4.8 > > > GLIBCXX_3.4.9 > > > GLIBCXX_3.4.10 > > > > > How hard would it be to get GLIBCXX_3.4.11 support with > > > 'emulators/linux_base-f10'? > > > > You may try to replace libstdc++ from Fedora 10 with libstdc++ from > > Fedora 11. It won't happen at the ports tree though. > > > > > Is it a simple update or would it require > > > fundamental changes in the linuxulator? > > > > Someone should create Fedora 11/12 ports, do tests and only then > > we'll see if changes in the linuxulator should be done. > > Thanks, that did work. Unfortunately the program exits with: > > Dec 27 22:46:17 myhost kernel: linux: pid 8561 (sometool): syscall > ptrace not implemented I should have said that I'm on amd64. It seems that linux_ptrace is only implemented for i386: # find /usr/src/sys/ -name linux_ptrace.c /usr/src/sys/i386/linux/linux_ptrace.c Emanuel