Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2000 11:34:01 +0200
From:      "=?iso-8859-2?Q?Ivan_Debn=E1r?=" <debnar@zoznam.sk>
To:        <freebsd-questions@freebsd.org>, <freebsd-smp@freebsd.org>, <freebsd-stable@freebsd.org>
Subject:   Native threads and SMP
Message-ID:  <LOBBJHLDGFMLDAHJJMEEGEGCCJAA.debnar@zoznam.sk>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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.

Ivan Debnár
Zoznam s.r.o.

http://www.zoznam.sk/
tel.:// 088 4146721
fax:// 088 4147212

[-- Attachment #2 --]
BEGIN:VCARD
VERSION:2.1
N:Debnár;Ivan
FN:Ivan Debnár
ORG:Zoznam s.r.o.
TEL;WORK;VOICE:+421 (88) 4142231
TEL;HOME;VOICE:+421 (88) 4171223
TEL;CELL;VOICE:+421 (903) 506197
TEL;WORK;FAX:+421 (88) 4142207
ADR;WORK:;;Skuteckého 39;Banská Bystrica;;974 01;Slovak Republic
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Skuteck=E9ho 39=0D=0ABansk=E1 Bystrica 974 01=0D=0ASlovak Republic
URL:
URL:http://www.zoznam.sk
EMAIL;PREF;INTERNET:debnar@zoznam.sk
REV:20000124T135137Z
END:VCARD

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