Date: Sat, 11 May 2002 11:34:19 -0700 From: Marcel Moolenaar <marcel@xcllnt.net> To: Alfred Perlstein <alfred@FreeBSD.org> 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: <20020511183419.GA306@dhcp01.pn.xcllnt.net> In-Reply-To: <20020511081613.GG90188@elvis.mu.org> References: <200205110813.g4B8Dgo23554@freefall.freebsd.org> <20020511081613.GG90188@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 11, 2002 at 01:16:13AM -0700, Alfred Perlstein wrote: > * 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? Can you be more specific? It also helps to post a simple program that demonstrates the the "bizarro" behaviour. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net 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?20020511183419.GA306>