Date: Fri, 7 Apr 2006 09:10:56 -0400 (EDT) From: Daniel Eischen <deischen@freebsd.org> To: Csaba Henk <csaba-ml@creo.hu> Cc: freebsd-current@freebsd.org Subject: Re: switching threading libraries Message-ID: <Pine.GSO.4.43.0604070910310.15406-100000@sea.ntplx.net> In-Reply-To: <slrne3ck4t.18h.csaba@beastie.creo.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 7 Apr 2006, Csaba Henk wrote: > Hi! > > Compiling a threaded program foo with "-pthread", if I want to run it > like > > LD_LIBMAP=libpthread.so.2=libc_r.so foo > > then it will complain > > /libexec/ld-elf.so.1: /usr/lib/libc_r.so: version LIBTHREAD_1_0 required by foo not defined > > I know it's because symbol versioning has entered the scene... I just > wonder if there is some workaround... Some way to trasparently switch > between threading libs? Only between libthr and libpthread. libc_r doesn't have symbol versioning. -- DE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0604070910310.15406-100000>