From owner-freebsd-current@FreeBSD.ORG Sun Aug 15 15:01:09 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 0EDB116A4CE; Sun, 15 Aug 2004 15:01:09 +0000 (GMT) Received: from aslan.scsiguy.com (mail.scsiguy.com [63.229.232.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79F6843D4C; Sun, 15 Aug 2004 15:01:08 +0000 (GMT) (envelope-from gibbs@scsiguy.com) Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by aslan.scsiguy.com (8.12.11/8.12.11) with ESMTP id i7FF0ugR056185; Sun, 15 Aug 2004 09:00:56 -0600 (MDT) (envelope-from gibbs@scsiguy.com) Date: Sun, 15 Aug 2004 09:00:56 -0600 From: "Justin T. Gibbs" To: Doug Rabson , Daniel Eischen Message-ID: <932D0AB64B5988A5BC8FFBAF@aslan.scsiguy.com> In-Reply-To: <200408151553.32463.dfr@nlsystems.com> References: <200408151553.32463.dfr@nlsystems.com> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline cc: Johan Pettersson cc: Stefan Ehmann cc: freebsd-current@freebsd.org Subject: Re: New nvidia drivers available X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Justin T. Gibbs" List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 15:01:09 -0000 >> Is there something else we can do so that libpthread gets >> initialized first? Use _init()? I'm not sure how to >> not add that when building static libpthread though (let's >> kill static libpthread!). > > There is no way other than putting a special case for pthread > initialisation into rtld. The C++ constructor trick is implemented via > _init anyway so that won't work either. I thought that static constructor invocation was deterministic based on link order. Does the C++ spec really indicate that the order of construction can be random? -- Justin