List:General Discussion« Previous MessageNext Message »
From:Jeremy Zawodny Date:May 23 2002 6:25pm
Subject:Re: FreeBSD & LinuxThreads from BK Tree?
View as plain text  
On Thu, May 23, 2002 at 10:02:51AM -0500, Dan Nelson wrote:
> In the last episode (May 22), Jeremy Zawodny said:
> > Has anyone built MySQL 4.x from the BitKeeper tree using LinuxThreads
> > on FreeBSD?
> > 
> > If so, how'd you do it?
> It looks like someone is in the process of removing getopt_long()
> usage from the commandline tools.  They're doing it backwards,
> though, removing mysys/getopt1.c first, then fixing the programs
> that break.  You'll have to comment myisam/mi_test1,
> myisam/myisampack, and tools/mysqlmanager out of the corresponding
> Makefiles until they are fixed.

Yeah, I reported that to the internals list already. :-)

> I ran configure with
> CFLAGS="-D__USE_UNIX98 -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads
> -felide-constructors -fno-rtti -fno-exceptions"
> --with-named-thread-libs="-L/usr/local/lib -llthread -llgcc_r"
> (same flags as the mysql323-server port adds) and the resulting binary
> seems to work fine.

Excellent, thanks.

I'm still having what seem like thread syncronization problems in the
4.0.2 builds, so I'd like to see if LinuxThreads solves them at all.

Jeremy D. Zawodny, <jzawodn@stripped>
Technical Yahoo - Yahoo Finance
Desk: (408) 349-7878   Fax: (408) 349-5454   Cell: (408) 685-5936

MySQL 3.23.47-max: up 0 days, processed 16,568,142 queries (323/sec. avg)
FreeBSD & LinuxThreads from BK Tree?Jeremy Zawodny23 May
  • Re: FreeBSD & LinuxThreads from BK Tree?Dan Nelson23 May
    • Re: FreeBSD & LinuxThreads from BK Tree?Jeremy Zawodny23 May