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>

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

--=-o7hb167zw9GuE7RCFKrW
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

Peter Wemm p=ED=B9e 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?
>=20
> Yes, it is a known problem.  It isn't likely to work in the short term=20
> because the libpthread <-> kernel interface is very heavily entangled=20
> 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.
>=20
> You might be able to get libthr working in its place.  But I'm not sure=20
> that we have all the system calls wrapped that it needs.  If all else=20
> 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.

--=20
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.

--=-o7hb167zw9GuE7RCFKrW
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQBEKCXOntdYP8FOsoIRAur6AJ9vH6n7puueEbQnbKGiMu5GhGvNJQCeOpAN
eUIuXE08swHOJQxWHenpyuI=
=6z8o
-----END PGP SIGNATURE-----

--=-o7hb167zw9GuE7RCFKrW--



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