Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2006 19:50:06 +0200
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Peter Wemm <peter@wemm.org>
Cc:        freebsd-amd64@FreeBSD.org
Subject:   Re: compat_ia32: libpthread.so.1
Message-ID:  <1143481806.26138.3.camel@ikaros.oook.cz>
In-Reply-To: <200603270836.55563.peter@wemm.org>
References:  <1143417577.92671.21.camel@ikaros.oook.cz> <200603270836.55563.peter@wemm.org>

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

[-- Attachment #1 --]
Peter Wemm píše v po 27. 03. 2006 v 08:36 -0800:
> On Sunday 26 March 2006 03:59 pm, Pav Lucistnik wrote:
> > Heya, me again!
> >
> > All i386 apps from FreeBSD 5.X linking libpthread.so.1 do segfault,
> > when run under compat_ia32 on amd64. Is this known problem? Anyone
> > working on fix?
> 
> Yes, it is a known problem.  It isn't likely to work in the short term 
> because the libpthread <-> kernel interface is very heavily entangled 
> with the host system ABI.

Bummer. Given this fact, what about adding default libmap mapping?

> > PS libmap32.conf is not documented anywhere either. Will fix that
> > too.
> 
> You might be able to get libthr working in its place.  But I'm not sure 
> that we have all the system calls wrapped that it needs.  If all else 
> fails, use libmap32.conf to point libpthread.so.1 to libc_r.so.5.

Did the libc_r trick last night, works for my application.

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

You can't expect to wield supreme executive power just 'cause some
watery tart threw a sword at you.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQBEKCXOntdYP8FOsoIRAur6AJ9vH6n7puueEbQnbKGiMu5GhGvNJQCeOpAN
eUIuXE08swHOJQxWHenpyuI=
=6z8o
-----END PGP SIGNATURE-----
home | help

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