From owner-freebsd-ports Thu Jan 25 11: 4:17 2001 Delivered-To: freebsd-ports@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 12B7437B6AD; Thu, 25 Jan 2001 11:03:59 -0800 (PST) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.1/8.11.1) with ESMTP id f0PJ3wZ26018; Thu, 25 Jan 2001 11:03:58 -0800 (PST) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.1/8.11.0) id f0PJ3qF32488; Thu, 25 Jan 2001 11:03:52 -0800 (PST) (envelope-from jdp) Date: Thu, 25 Jan 2001 11:03:52 -0800 (PST) Message-Id: <200101251903.f0PJ3qF32488@vashon.polstra.com> To: ports@freebsd.org From: John Polstra Cc: sobomax@freebsd.org Subject: Re: Strange problems with dynamic linking of libGL.so.1 from XFree86-4.0.2_5 In-Reply-To: <3A70756F.D8A7ED75@FreeBSD.org> References: <3A6C3D19.E1F56291@FreeBSD.org> <3A6FE52B.AC9970C2@FreeBSD.org> <200101251842.f0PIgTL32394@vashon.polstra.com> <3A70756F.D8A7ED75@FreeBSD.org> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <3A70756F.D8A7ED75@FreeBSD.org>, Maxim Sobolev wrote: > John Polstra wrote: > > > 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 I think your libGL must have been built with an older libgcc. If possible please try building a fresh libGL and checking again. First, check in "/usr/lib" and remove any old "libgcc_r.a" you find there. (Save a copy just in case.) That should not be used any more. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message