From owner-freebsd-threads@FreeBSD.ORG Fri Aug 19 14:10:21 2005 Return-Path: X-Original-To: freebsd-threads@hub.freebsd.org Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1C1D16A41F for ; Fri, 19 Aug 2005 14:10:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7028E43D48 for ; Fri, 19 Aug 2005 14:10:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7JEALNr006596 for ; Fri, 19 Aug 2005 14:10:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7JEAL39006595; Fri, 19 Aug 2005 14:10:21 GMT (envelope-from gnats) Date: Fri, 19 Aug 2005 14:10:21 GMT Message-Id: <200508191410.j7JEAL39006595@freefall.freebsd.org> To: freebsd-threads@FreeBSD.org From: Daniel Eischen Cc: 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:10:21 -0000 The following reply was made to PR threads/85112; it has been noted by GNATS. From: Daniel Eischen To: Nick Johnson Cc: FreeBSD-gnats-submit@freebsd.org, Subject: Re: threads/85112: Resource temporarily unavailable reading from sockets with Java/libpthread/jdbc Date: Fri, 19 Aug 2005 10:04:50 -0400 (EDT) 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