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

next in thread | previous in thread | raw e-mail | index | archive | help
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@gmail.com>
To: Johnson Mpeirwe <mpeirwe@ymail.com>
Cc: freebsd-amd64@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@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



      



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