Date: Tue, 23 Jan 2001 12:53:13 +0200 (EET) From: <rssh@gvinpin.grad.kiev.ua> To: Daniel Eischen <eischen@vigrid.com> Cc: ports@FreeBSD.ORG Subject: Re: HEADS UP: -pthread is going to break under -current soo Message-ID: <Pine.LNX.4.04.10101231251350.26372-100000@gvinpin.grad.kiev.ua> In-Reply-To: <3A6CA399.7F8B801E@vigrid.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Can I ask you to post aprropriative __FreeBSD__ macro value, for checking in autoconf macros ? On Mon, 22 Jan 2001, Daniel Eischen wrote: > In a couple of days, I'll be committing changes to libc and libc_r > to allow them to be linked together via -lc_r. libc_r will only > contain the thread functions and will not contain any libc functions > as it does currently. We currently use -pthread as a non-standard > hack to link to libc_r and to prevent linking to libc. After I > commit these changes, using -pthread will not work; it will produce > an executable that is only linked to libc_r but which also needs to > be linked to libc. This also means that all (shared) threaded apps > will need to be recompiled under -current. > > I'll bump OSVERSION after I make this change. All ports that use > FreeBSD native threads will have to link with -lc_r under -current. > Perhaps a knob in bsd.port.mk, THREADS_LIB or something, could be > added and automatically set depending on OSVERSION. > > -- > Dan Eischen > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.04.10101231251350.26372-100000>