GLIBCXX_3.4.11 with emulators/linux_base-f10

Emanuel Haupt ehaupt at FreeBSD.org
Mon Dec 27 21:59:59 UTC 2010


Emanuel Haupt <ehaupt at FreeBSD.org> wrote:
> Boris Samorodov <bsam at 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


More information about the freebsd-emulation mailing list