Linux pthreads for AMD64

Johnson Mpeirwe mpeirwe at ymail.com
Mon Mar 22 19:12:15 UTC 2010


Thanks, I meant non-NPTL threads which were working very well with MySQL 5.1 on a 32bit FreeBSD 6.2 installation. I was looking for a FreeBSD thread library that I can try other than libthr.

Regards,
Johnson




________________________________
From: Garrett Cooper <yanefbsd at gmail.com>
To: Johnson Mpeirwe <mpeirwe at ymail.com>
Cc: freebsd-amd64 at freebsd.org
Sent: Mon, March 22, 2010 8:49:08 PM
Subject: Re: Linux pthreads for AMD64

On Mon, Mar 22, 2010 at 9:44 AM, Johnson Mpeirwe <mpeirwe at 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. After running into performance issues (MySQL is painfully slow) when compiled with FreeBSD's native libthr, I have tried recompiling with the libpthread library but failed as follows:
>
> /usr/ports/databases/mysql55-server# make WITH_LINUXTHREADS=yes
> ...
> ...
> ===>  Extracting for mysql-server-5.5.1
> => MD5 Checksum OK for mysql-5.5.1-m2.tar.gz.
> => SHA256 Checksum OK for mysql-5.5.1-m2.tar.gz.
> ===>  Patching for mysql-server-5.5.1
> ===>  Applying FreeBSD patches for mysql-server-5.5.1
> ===>   mysql-server-5.5.1 depends on shared library: lthread - not found
> ===>    Verifying install for lthread in /usr/ports/devel/linuxthreads
> ===>  linuxthreads-2.2.3_24 is only for i386, while you are running 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



      


More information about the freebsd-amd64 mailing list