compat_ia32: libpthread.so.1

Pav Lucistnik pav at FreeBSD.org
Mon Mar 27 17:50:32 UTC 2006


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 at oook.cz>
              <pav at FreeBSD.org>

You can't expect to wield supreme executive power just 'cause some
watery tart threw a sword at you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: 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?=
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20060327/39c9f3aa/attachment.pgp


More information about the freebsd-amd64 mailing list