Date: Mon, 15 Sep 2003 19:43:26 +0400 (MSD) From: Maxim Konovalov <maxim@macomnet.ru> To: deischen@FreeBSD.org Cc: threads@FreeBSD.org Subject: Re: libthr/libkse and Mozilla Firebird Message-ID: <20030915194038.V89627@news1.macomnet.ru> In-Reply-To: <Pine.GSO.4.10.10309151131360.23839-100000@pcnet5.pcnet.com> References: <Pine.GSO.4.10.10309151131360.23839-100000@pcnet5.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 15 Sep 2003, 11:36-0400, Daniel Eischen wrote: > On Mon, 15 Sep 2003, Maxim Konovalov wrote: > > > On Mon, 15 Sep 2003, 11:16-0400, Daniel Eischen wrote: > > > > > On Mon, 15 Sep 2003, Maxim Konovalov wrote: > > > > I can reproduce the same behaviour on my laptop and yesterday current > > > > without nvidia hardware so it is not nvidia related. > > > > > > How are you configuring libmap.conf? With default mappings or > > > constrained mappings? > > > > $ cat /etc/libmap.conf > > libc_r.so.5 libkse.so.1 > > $ > > > > > Have you built any of your ports with the version of gcc > > > that had -pthread removed? > > > > I built it way before -pthread removal story. > > > > > Does libc appear before libc_r (or libkse when libmap'd) in 'ldd > > > <executable/library>'? > > > > $ ldd /usr/X11R6/lib/firebird/lib/mozilla-1.5a/MozillaFirebird-bin > > /usr/X11R6/lib/firebird/lib/mozilla-1.5a/MozillaFirebird-bin: > > libmozjs.so => not found (0x0) > > libxpcom.so => not found (0x0) > > libplds4.so => /usr/local/lib/libplds4.so (0x48089000) > > libplc4.so => /usr/local/lib/libplc4.so (0x480b1000) > > libnspr4.so => /usr/local/lib/libnspr4.so (0x480da000) > > libgtk12.so.2 => /usr/X11R6/lib/libgtk12.so.2 (0x4810a000) > > libgdk12.so.2 => /usr/X11R6/lib/libgdk12.so.2 (0x4826e000) > > libgmodule12.so.3 => /usr/local/lib/libgmodule12.so.3 (0x482a6000) > > libglib12.so.3 => /usr/local/lib/libglib12.so.3 (0x482a9000) > > libintl.so.4 => /usr/local/lib/libintl.so.4 (0x482d0000) > > libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x482d9000) > > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x482e7000) > > libm.so.2 => /lib/libm.so.2 (0x483ad000) > > libc_r.so.5 => /usr/lib/libc_r.so.5 (0x483c6000) > ^^^^^^^^^^^^^^^^^^^^ > > libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x483ea000) > > libc.so.5 => /lib/libc.so.5 (0x484a6000) > > libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x48580000) > > Is this from the same system that currently has libc_r mapped > to libkse? On my system, if I map libc_r to libkse, I get the > following: > > -bash-2.05b$ ldd /usr/X11R6/lib/mozilla/mozilla-bin > /usr/X11R6/lib/mozilla/mozilla-bin: > libmozjs.so => not found (0x0) > libplds4.so => not found (0x0) > libplc4.so => not found (0x0) > libnspr4.so => not found (0x0) > libgtk12.so.2 => /usr/X11R6/lib/libgtk12.so.2 (0x280a7000) > libgdk12.so.2 => /usr/X11R6/lib/libgdk12.so.2 (0x281c8000) > libgmodule12.so.3 => /usr/local/lib/libgmodule12.so.3 (0x281fb000) > libglib12.so.3 => /usr/local/lib/libglib12.so.3 (0x281fe000) > libintl.so.4 => /usr/local/lib/libintl.so.4 (0x2821f000) > libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x28227000) > libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x2822f000) > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x2823c000) > libm.so.2 => /lib/libm.so.2 (0x282f6000) > libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x2830e000) > libc_r.so.5 => /usr/lib/libkse.so.1 (0x283c0000) > ^^^^^^^^^^^^^^^^^^^^ > libc.so.5 => /lib/libc.so.5 (0x283e2000) > libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x284aa000) > > I assume that you have built rtld-elf with WITH_LIBMAP=yes, so > something seems screwy. yes, there is WITH_LIBMAP=yes in my /etc/make.conf and there are at least four MozillaFirebird-bin threads in ps axH output. and yes, I issued ldd with commented out libmap.conf. Now it shows: ... libc_r.so.5 => /usr/lib/libkse.so.1 (0x483c6000) libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x483ea000) libc.so.5 => /lib/libc.so.5 (0x484a6000) ... -- Maxim Konovalov, maxim@macomnet.ru, maxim@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030915194038.V89627>