Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 2010 22:59:57 +0100
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        Emanuel Haupt <ehaupt@FreeBSD.org>
Cc:        emulation@FreeBSD.org
Subject:   Re: GLIBCXX_3.4.11 with emulators/linux_base-f10
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Emanuel Haupt <ehaupt@FreeBSD.org> wrote:
> Boris Samorodov <bsam@ipt.ru> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101227225957.e4c26941.ehaupt>