From owner-freebsd-threads@FreeBSD.ORG Fri Aug 19 14:04:55 2005 Return-Path: X-Original-To: freebsd-threads@freebsd.org 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 9582F16A420; Fri, 19 Aug 2005 14:04:55 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6B2C43D5A; Fri, 19 Aug 2005 14:04:54 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.4/8.13.4/NETPLEX) with ESMTP id j7JE4o61007243; Fri, 19 Aug 2005 10:04:51 -0400 (EDT) Date: Fri, 19 Aug 2005 10:04:50 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Nick Johnson In-Reply-To: <20050817175257.E24F31701D@turing.morons.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-threads@freebsd.org Subject: Re: threads/85112: Resource temporarily unavailable reading from sockets with Java/libpthread/jdbc X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2005 14:04:55 -0000 On Wed, 17 Aug 2005, Nick Johnson wrote: > > This fails every time when java links against libpthread and works every time > when it is linked against libc_r. > > I'm not entirely sure, but this may have started showing itself after I added > this to /etc/make.conf: > > CPUTYPE?=i686 > CFLAGS=-O2 -pipe > > or it may be totally unrelated. See also threads/84778 > (http://www.freebsd.org/cgi/query-pr.cgi?pr=84778) which was previously > preventing me from getting far enough to make a database connection. (Once > the class files were compiled with a process linked against libc_r, they were > in place for a process linked against libpthread to use.) Please either try removing CPUTYPE or sending this to -java. Ad far as I know, getting a connection to a database is just a connect(), which we know works fine. -- DE