From owner-cvs-all Sat May 11 11:15:57 2002 Delivered-To: cvs-all@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 109AA37B406; Sat, 11 May 2002 11:15:53 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.3/8.12.2) with ESMTP id g4BIFqev012454; Sat, 11 May 2002 11:15:52 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.3/8.12.3/Submit) id g4BIFqHt012453; Sat, 11 May 2002 11:15:52 -0700 (PDT) Date: Sat, 11 May 2002 11:15:52 -0700 From: "David O'Brien" To: Alfred Perlstein Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc_r/uthread Makefile.inc uthread_autoinit.c uthread_autoinit.cc Message-ID: <20020511111552.B12326@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org Mail-Followup-To: David O'Brien , Alfred Perlstein , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200205110813.g4B8Dgo23554@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200205110813.g4B8Dgo23554@freefall.freebsd.org>; from alfred@FreeBSD.org on Sat, May 11, 2002 at 01:13:42AM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, May 11, 2002 at 01:13:42AM -0700, Alfred Perlstein wrote: > Modified files: > lib/libc_r/uthread Makefile.inc > Added files: > lib/libc_r/uthread uthread_autoinit.c > Removed files: > lib/libc_r/uthread uthread_autoinit.cc Why didn't you ask for a repo copy? Please stop always being in such a rush. > Log: > Use GCC's __attribute__ ((constructor)) mechanism to invoke the pthread > startup code rather than a static C++ object since c++ seems to be broken. Please bother to take the time to learn about the situation. c++ (the compiler) is NOT broken. You don't have any C++ support libs right now. THAT is why you get unresolved references. In fact, the unresolved reference you get is due to the C++ ABI versioning that the GNU people added just so upgrades of the C++ compiler will not "break" your existing libs. Everything in the tree built, so the only way the state of libc_r could bother is in your own code. This really is not the time to be using -CURRENT for anything other than programming w/in /usr/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message