Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 22 Nov 2001 19:37:56 +0100 From: Corinna Vinschen To: "cygwin AT cygwin DOT com" Subject: Re: openssl problems while using pthreads Message-ID: <20011122193756.M27931@cygbert.vinschen.de> Mail-Followup-To: "cygwin AT cygwin DOT com" References: <3BFD3D1D DOT 6CD396C6 AT wapme-systems DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BFD3D1D.6CD396C6@wapme-systems.de>; from tolj@wapme-systems.de on Thu, Nov 22, 2001 at 06:59:57PM +0100 On Thu, Nov 22, 2001 at 06:59:57PM +0100, Stipe Tolj wrote: > Hi list, > > this one is for Corinna and Robert I guess. > > I have problems with openssl functions from the latest contributed > openssl port in daemons that use pthreads to scale. > > I know that openssl should be compiled in thread-safe mode if you want > to use threaded functions of openssl. I suppose the distributed > openssl package is not thread-safe? Yup. > May the package maintainer, I guess you Corinna, try to re-compile > using the thread-safe feature. It compiles with threads OOTB and the `make test' is running successfully either but I have no idea how to test if it's actually threadsafe. Please test it first since you need it. The only change in the current openssh-0.9.6b-2 sources from the net distro you have to do first is, change $(toplevel)/Configure, line 413: "CygWin32", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O2 -m486 -Wall::(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::win32:cygwin-shared::.dll", by removing the `(unknown)' string. That's all. Be sure to take the sources from the net release, not the original sources since they are missing a Cygwin specific change! Then configure: ./Configure --prefix=/usr CygWin32 Then build static and shared libs: make make build-shared If your tests with thread safety are successful, please report back. Then I will upload a thread-safe version to sourceware. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/