Date: Sun, 15 Aug 2004 09:00:56 -0600 From: "Justin T. Gibbs" <gibbs@scsiguy.com> To: Doug Rabson <dfr@nlsystems.com>, Daniel Eischen <deischen@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: New nvidia drivers available Message-ID: <932D0AB64B5988A5BC8FFBAF@aslan.scsiguy.com> In-Reply-To: <200408151553.32463.dfr@nlsystems.com> References: <Pine.GSO.4.43.0408151001050.15254-100000@sea.ntplx.net> <200408151553.32463.dfr@nlsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?932D0AB64B5988A5BC8FFBAF>