Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2000 16:08:17 +0300 (MSK)
From:      Alexey Zakirov <frank@agava.com>
To:        freebsd-stable@freebsd.org
Subject:   mysql+linuxthreads => linuxthreads problem?
Message-ID:  <Pine.BSF.4.21.0012171534060.10933-100000@hellbell.domain>

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

I've just built the mysqld with the linuxthreads (from the ports) and got
a problem: mysqld dies by SIGSEGV immediately after the first
pthread_create call. I've decided to try a simple linuxthreads example
from the linuxthreads distribution (Examples/ex5.c) and it doesn't
work. This example must writes a sequence of numbers but it hangs after
the first one. But when I compile this example with the native
freebsd threads (libc_r) it works just fine!

Is there any well-known tricks for correct linuxthreads use?

FreeBSD: 4.2-STABLE FreeBSD 4.2-STABLE #0: Sat Dec 16 16:37:10 MSK 2000
(cvsup from yesterday)

linuthreads: $FreeBSD: ports/devel/linuxthreads/Makefile,v 1.17 2000/11/06
19:43:33 jasone Exp $

compile string: gcc -D_THREAD_SAFE -I/usr/local/include/linuxthreads
-L/usr/local/lib -llgcc_r -llthread -o ex5 ex5.c

*** WBR, Alexey Zakirov (frank@agava.com)



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0012171534060.10933-100000>