Date: Sat, 11 May 2002 01:16:13 -0700 From: Alfred Perlstein <alfred@FreeBSD.org> To: 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: <20020511081613.GG90188@elvis.mu.org> In-Reply-To: <200205110813.g4B8Dgo23554@freefall.freebsd.org> References: <200205110813.g4B8Dgo23554@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Alfred Perlstein <alfred@FreeBSD.org> [020511 01:13] wrote: > alfred 2002/05/11 01:13:42 PDT > > 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 > 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. > > This doesn't seem to work for staticically linked program just yet, I'll > give that some more work when I get a chance. > > Revision Changes Path > 1.31 +1 -1 src/lib/libc_r/uthread/Makefile.inc > 1.1 +61 -0 src/lib/libc_r/uthread/uthread_autoinit.c (new) > 1.4 +0 -89 src/lib/libc_r/uthread/uthread_autoinit.cc (dead) Something is bizarro wrt __weak_reference and static linking, anyone have any ideas? -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020511081613.GG90188>