Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2010 10:49:08 -0700
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        Johnson Mpeirwe <mpeirwe@ymail.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: Linux pthreads for AMD64
Message-ID:  <7d6fde3d1003221049i4338d474jf842a2d153023953@mail.gmail.com>
In-Reply-To: <720362.1757.qm@web114108.mail.gq1.yahoo.com>
References:  <720362.1757.qm@web114108.mail.gq1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 22, 2010 at 9:44 AM, Johnson Mpeirwe <mpeirwe@ymail.com> wrote:
> Hello,
>
> Are Linux threads available for FreeBSD 7.2 AMD64? I am trying to compile=
 MySQL5.5 server on a FreeBSD 7.2 AMD64 System with 16 CPUs and 12GB RAM. A=
fter running into performance issues (MySQL is painfully slow) when compile=
d with FreeBSD's native libthr, I have tried recompiling with the libpthrea=
d library but failed as follows:
>
> /usr/ports/databases/mysql55-server# make WITH_LINUXTHREADS=3Dyes
> ...
> ...
> =3D=3D=3D> =A0Extracting for mysql-server-5.5.1
> =3D> MD5 Checksum OK for mysql-5.5.1-m2.tar.gz.
> =3D> SHA256 Checksum OK for mysql-5.5.1-m2.tar.gz.
> =3D=3D=3D> =A0Patching for mysql-server-5.5.1
> =3D=3D=3D> =A0Applying FreeBSD patches for mysql-server-5.5.1
> =3D=3D=3D> =A0 mysql-server-5.5.1 depends on shared library: lthread - no=
t found
> =3D=3D=3D> =A0 =A0Verifying install for lthread in /usr/ports/devel/linux=
threads
> =3D=3D=3D> =A0linuxthreads-2.2.3_24 is only for i386, while you are runni=
ng amd64.
> *** Error code 1
>
> Stop in /usr/ports/devel/linuxthreads.
> *** Error code 1
>
> Stop in /usr/ports/databases/mysql55-server.

    Do you mean NPTL threading or non-NPTL (linuxthreads) threading?
If you meant the latter, that should be dead and gone by now (it has
been dead for quite some time in glibc at least...).
Thanks,
-Garrett



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