From owner-freebsd-current@FreeBSD.ORG Thu Mar 4 15:10:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CEA216A4E3 for ; Thu, 4 Mar 2004 15:10:40 -0800 (PST) Received: from viviendaatualcance.com.mx (dsl-200-78-46-212.prod-infinitum.com.mx [200.78.46.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB1A743D2F for ; Thu, 4 Mar 2004 15:10:39 -0800 (PST) (envelope-from eculp@viviendaatualcance.com.mx) Received: from localhost (localhost [127.0.0.1]) (uid 80) by viviendaatualcance.com.mx with local; Thu, 04 Mar 2004 17:10:39 -0600 Received: from dsl-200-78-18-185.prod-infinitum.com.mx (dsl-200-78-18-185.prod-infinitum.com.mx [200.78.18.185]) by mail.viviendaatualcance.com.mx (Horde) with HTTP for ; Thu, 4 Mar 2004 17:10:39 -0600 Message-ID: <20040304171039.7c00skk00cgogw00@mail.viviendaatualcance.com.mx> Date: Thu, 4 Mar 2004 17:10:39 -0600 From: Edwin Culp To: Kris Kennaway References: <20040303061144.GE56622@elvis.mu.org> <404592F5.1060206@freebsd.org> <20040303104657.GG56622@elvis.mu.org> <20040303105149.GH56622@elvis.mu.org> <20040304062344.xy1sgw00040k80ww@mail.viviendaatualcance.com.mx> <20040304201317.GB75841@xor.obsecurity.org> In-Reply-To: <20040304201317.GB75841@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Mailman-Approved-At: Fri, 05 Mar 2004 04:55:08 -0800 cc: freebsd-current@freebsd.org Subject: Re: fix for libpthread X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 23:10:40 -0000 Quoting Kris Kennaway : > On Thu, Mar 04, 2004 at 06:23:44AM -0600, Edwin Culp wrote: >> Quoting Alfred Perlstein : >> < SNIP > >> I've been forced to compile a couple of ports by using >> CFLAGS+=-pthread in my >> /etc/make.conf and it has solved the problem with them. >> net/openldap22-server >> is an example. Under normal conditions, I have it commented out. > > Hmm, that port indeed doesn't seem to be using threads in the > build..did it used to? Kris, I only know that by adding CFLAGS to the make.conf I now have: /usr/local/libexec # ldd slapd slapd: libldap_r.so.202 => /usr/local/lib/libldap_r.so.202 (0x2811f000) liblber.so.202 => /usr/local/lib/liblber.so.202 (0x2814f000) libssl.so.3 => /usr/lib/libssl.so.3 (0x2815b000) libcrypto.so.3 => /lib/libcrypto.so.3 (0x28188000) libfetch.so.3 => /usr/lib/libfetch.so.3 (0x2827a000) libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x28286000) libcrypt.so.2 => /lib/libcrypt.so.2 (0x28288000) libdb-4.2.so.2 => /usr/local/lib/libdb-4.2.so.2 (0x282a0000) libwrap.so.3 => /usr/lib/libwrap.so.3 (0x2834b000) libpthread.so.1 => /usr/lib/libpthread.so.1 (0x28353000) libc.so.5 => /lib/libc.so.5 (0x28376000) libpthread.so.1 was previously libc_r.so.5 and I couldn't stop the crashes. Maybe I needed to change something in /etc/libmap.conf but .... too late now:) Thanks, ed