Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2001 10:42:29 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        ports@freebsd.org
Cc:        sobomax@freebsd.org
Subject:   Re: Strange problems with dynamic linking of libGL.so.1 from  XFree86-4.0.2_5
Message-ID:  <200101251842.f0PIgTL32394@vashon.polstra.com>
In-Reply-To: <3A6FE52B.AC9970C2@FreeBSD.org>
References:  <3A6C3D19.E1F56291@FreeBSD.org> <200101250417.f0P4HnT29626@vashon.polstra.com> <3A6FE52B.AC9970C2@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <3A6FE52B.AC9970C2@FreeBSD.org>,
Maxim Sobolev  <sobomax@FreeBSD.ORG> 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?

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101251842.f0PIgTL32394>