From owner-freebsd-ports Thu Jan 25 10:51:56 2001 Delivered-To: freebsd-ports@freebsd.org Received: from blizzard.sabbo.net (ns.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id BB53537B6B0 for ; Thu, 25 Jan 2001 10:51:23 -0800 (PST) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.112]) by blizzard.sabbo.net (8.10.1/8.10.1) with ESMTP id f0PIohT27371; Thu, 25 Jan 2001 20:50:49 +0200 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.1/8.9.3) with ESMTP id f0PIoj607740; Thu, 25 Jan 2001 20:50:45 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3A70756F.D8A7ED75@FreeBSD.org> Date: Thu, 25 Jan 2001 20:50:24 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: John Polstra Cc: ports@FreeBSD.org Subject: Re: Strange problems with dynamic linking of libGL.so.1 from XFree86-4.0.2_5 References: <3A6C3D19.E1F56291@FreeBSD.org> <200101250417.f0P4HnT29626@vashon.polstra.com> <3A6FE52B.AC9970C2@FreeBSD.org> <200101251842.f0PIgTL32394@vashon.polstra.com> Content-Type: text/plain; charset=x-user-defined Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Polstra wrote: > In article <3A6FE52B.AC9970C2@FreeBSD.org>, > Maxim Sobolev wrote: > > > If you don't get the output above (including the "w" characters) > > > then libgcc is out of date. I think if you update the system to the > > > latest and then rebuild libGL it ought to work. > > > > I see exactly what you described, so probably the problem is elsewhere. > > > > max@notebook$ ls -l /usr/lib/libgcc.a /usr/X11R6/lib/libGL.so.1 > > -rwxr-xr-x 1 root wheel 435959 Jan 19 16:25 /usr/X11R6/lib/libGL.so.1* > > -r--r--r-- 1 root wheel 142544 Jan 16 19:40 /usr/lib/libgcc.a > > max@notebook$ gcc -v > > Using builtin specs. > > gcc version 2.95.3 20010101 (prerelease) > > max@notebook$ objdump --syms /usr/lib/libgcc.a | grep pthread > > 00000000 w *UND* 00000000 pthread_create > > 00000000 w *UND* 00000000 pthread_getspecific > > 00000000 w *UND* 00000000 pthread_key_delete > > 00000000 w *UND* 00000000 pthread_once > > 00000000 w *UND* 00000000 pthread_key_create > > 00000000 w *UND* 00000000 pthread_mutex_unlock > > 00000000 w *UND* 00000000 pthread_mutex_lock > > 00000000 w *UND* 00000000 pthread_mutex_trylock > > 00000000 w *UND* 00000000 pthread_setspecific > > 00000000 w *UND* 00000000 pthread_create > > 00000000 w *UND* 00000000 pthread_getspecific > > 00000000 w *UND* 00000000 pthread_key_delete > > 00000000 w *UND* 00000000 pthread_once > > 00000000 w *UND* 00000000 pthread_key_create > > 00000000 w *UND* 00000000 pthread_mutex_unlock > > 00000000 w *UND* 00000000 pthread_mutex_lock > > 00000000 w *UND* 00000000 pthread_mutex_trylock > > 00000000 w *UND* 00000000 pthread_setspecific > > max@notebook$ > > Hmm, now the question is whether libGL.so was built using this > version of libgcc. Could you please repeat that objdump command on > "/usr/X11R6/lib/libGL.so.1" (still grepping for pthread) and show me > the output? Hmm, the dates of last modification (see above) suggest that it was built using *this* version of libgcc. Nevertheless following is similar output for libGL.so.1: max@notebook$ objdump --syms /usr/X11R6/lib/libGL.so.1 | grep pthread 00000000 *UND* 00000000 pthread_getspecific 00000000 *UND* 00000000 pthread_key_create 00000000 *UND* 00000000 pthread_mutex_unlock 00000000 *UND* 00000000 pthread_self 00000000 *UND* 00000000 pthread_mutex_lock 00000000 *UND* 00000000 pthread_mutex_init 00000000 *UND* 00000000 pthread_setspecific max@notebook$ -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message