Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2000 13:05:41 -0700
From:      Jason Evans <jasone@canonware.com>
To:        =?iso-8859-1?Q?Ivan_Debn=E1r?= <debnar@zoznam.sk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Native threads and SMP
Message-ID:  <20000518130541.B251@blitz.canonware.com>
In-Reply-To: <LOBBJHLDGFMLDAHJJMEEGEGCCJAA.debnar@zoznam.sk>; from debnar@zoznam.sk on Tue, May 02, 2000 at 11:34:01AM %2B0200
References:  <LOBBJHLDGFMLDAHJJMEEGEGCCJAA.debnar@zoznam.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 02, 2000 at 11:34:01AM +0200, Ivan Debnár wrote:
> Is there a plan to support SMP in the native FreeBSD threads implementation ?
> 
> When using Linuxthreads from ports, trying to compile the aplications (even provided examples) "static", it breaks with:
> 
> It looks like it's not possible to link static applications with the current linuxthreads from ports,
> complaining aboiu siglongjmp and longjmp.
> /usr/lib/libc.a(sigsetjmp.o): In function `siglongjmp':
> sigsetjmp.o(.text+0x94): multiple definition of `siglongjmp'
> /usr/local/lib/liblthread.a(ptlongjmp.o):/usr/ports/devel/linuxthreads/work/linuxthreads-2.1.2/ptlongjmp.c:39: first defined here
> /usr/lib/libc.a(setjmp.o): In function `__longjmp':
> setjmp.o(.text+0x88): multiple definition of `longjmp'
> /usr/local/lib/liblthread.a(ptlongjmp.o)(.text+0xc0):/usr/ports/devel/linuxthreads/work/linuxthreads-2.1.2/ptlongjmp.c: first defined here
> 
> Any workarounds ?
> When compiling dynamicaly, it works (examples, but not mysqld - core dumps imediately). Is it safe to use Linuxthreads and has anyone succeded with runnig MySQL compiled with them ? Help with any info please.

I MFCed a fix for this a couple of days ago.  The fix requires rebuilding libc.

Jason


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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