On Mon, Mar 15, 2010 at 1:18 AM, tom fogal <tfo...@alumni.unh.edu> wrote:
> Xavier Chantry <chantry.xav...@gmail.com> writes:
>> /bin/sh ../../../../../bin/mklib -o swrast_dri.so -noprefix -linker
>> 'gcc' -ldflags '-Wl,--no-allow-shlib-undefined' \
>>               ../../common/driverfuncs.o ../common/utils.o swrast.o swrast_sp
>> an.o
>>  ../../../../../src/mesa/libmesa.a    -ldrm   -lexpat -lm -lpthread
>> -ldl
>> mklib: Making Linux shared library:  swrast_dri.so
>> LDFLAGS : -Wl,--no-allow-shlib-undefined
>> /lib/libpthread.so.0: undefined reference to `_dl_allocate_...@glibc_private'
>> /lib/libpthread.so.0: undefined reference to
>> `_dl_get_tls_static_i...@glibc_private'
>
> These look like TLS issues.
>
> Did you provide --enable-glx-tls to configure?  Looks like you probably
> want to, for your platform.
>

I did have --enable-glx-tls
I wonder if there are some problems with my system :
$ readelf -s /lib/libpthread.so.0  | grep tls
     3: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND
_dl_allocate_tls_i...@glibc_private (11)
    29: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND
_dl_allocate_...@glibc_private (11)
    30: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND
_dl_deallocate_...@glibc_private (11)
    39: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND
__tls_get_a...@glibc_2.3 (15)
    43: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND
_dl_get_tls_static_i...@glibc_private (11)
   216: 000000000021b308     8 OBJECT  LOCAL  HIDDEN   29 __static_tls_align_m1
   274: 0000000000006390   314 FUNC    LOCAL  HIDDEN   12
__pthread_init_static_tls
   282: 0000000000010e04    12 OBJECT  LOCAL  DEFAULT   15
_thread_db_link_map_l_tls
   396: 000000000021b320     8 OBJECT  LOCAL  HIDDEN   29 __static_tls_size
   457: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND
_dl_allocate_tls_init@@GL
   552: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND
_dl_allocate_tls@@GLIBC_P
   555: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND
_dl_deallocate_tls@@GLIBC
   587: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND
__tls_get_addr@@GLIBC_2.3
   625: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND
_dl_get_tls_static_info@@

Assuming UND means undefined. This does not look too good.
I am curious to know how it looks like on other systems.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to