From owner-freebsd-threads@FreeBSD.ORG Wed Nov 19 06:33:59 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B60D16A4CE for ; Wed, 19 Nov 2003 06:33:59 -0800 (PST) Received: from gw.celabo.org (gw.celabo.org [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70B8343F85 for ; Wed, 19 Nov 2003 06:33:58 -0800 (PST) (envelope-from nectar@celabo.org) Received: from madman.celabo.org (madman.celabo.org [10.0.1.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "madman.celabo.org", Issuer "celabo.org CA" (verified OK)) by gw.celabo.org (Postfix) with ESMTP id 0B8F854883; Wed, 19 Nov 2003 08:33:58 -0600 (CST) Received: by madman.celabo.org (Postfix, from userid 1001) id A87B26D455; Wed, 19 Nov 2003 08:33:57 -0600 (CST) Date: Wed, 19 Nov 2003 08:33:57 -0600 From: "Jacques A. Vidrine" To: Petri Helenius Message-ID: <20031119143357.GG28412@madman.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , Petri Helenius , freebsd-threads@FreeBSD.org References: <3F4F5467.1050404@he.iki.fi> <20031010171704.GV45920@madman.celabo.org> <3F871BFD.4070506@he.iki.fi> <20031010210354.GA47867@madman.celabo.org> <3F87292F.2030702@he.iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3F87292F.2030702@he.iki.fi> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.4i-ja.1 cc: freebsd-threads@FreeBSD.org Subject: Re: threads and openssl X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 14:33:59 -0000 On Sat, Oct 11, 2003 at 12:48:31AM +0300, Petri Helenius wrote: > Jacques A. Vidrine wrote: > > >On Fri, Oct 10, 2003 at 11:52:13PM +0300, Petri Helenius wrote: > > > > > >>Jacques A. Vidrine wrote: > >> > >> > >>> > >>> > >>I ended up putting CFLAGS+=-DOPENSSL_THREADS > >>in make.conf and recompiling world. Works for me. > >> > >>However it would make sense to fix it more cleanly. > > > >You then linked against a threading library? Blew up here. > > > I´m sorry but I´m unable to follow your train of thought, please explain. Can't recall if I replied to this message already. When I built OpenSSL with -DOPENSSL_THREADS, and then linked an OpenSSL-using application with one of our threaded libraries, the application crashed. Cheers, -- Jacques Vidrine NTT/Verio SME FreeBSD UNIX Heimdal nectar@celabo.org jvidrine@verio.net nectar@freebsd.org nectar@kth.se