Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Processed (with 1 errors): Re: apvlv: FTBFS on kfreebsd-*: libdjvulibre.so: undefined reference to symbol, 'pthread_cancel@@GLIBC_2.3'

2 views
Skip to first unread message

Debian Bug Tracking System

unread,
Jun 1, 2011, 9:30:03 AM6/1/11
to
Processing commands for con...@bugs.debian.org:

> clone 621004 -1
Bug#621004: apvlv: FTBFS on kfreebsd-*: libdjvulibre.so: undefined reference to symbol 'pthread_cancel@@GLIBC_2.3'
Bug 621004 cloned as bug 628800.

> reassign -1 libdjvulibre21
Bug #628800 [src:apvlv] apvlv: FTBFS on kfreebsd-*: libdjvulibre.so: undefined reference to symbol 'pthread_cancel@@GLIBC_2.3'
Bug reassigned from package 'src:apvlv' to 'libdjvulibre21'.
Bug No longer marked as found in versions apvlv/0.1.1-1.
> retitle kfreebsd-*: libdjvulibre doesn't link against libpthread on kfreebsd
Unknown command or malformed arguments to command.

> block 621004 by -1
Bug #621004 [src:apvlv] apvlv: FTBFS on kfreebsd-*: libdjvulibre.so: undefined reference to symbol 'pthread_cancel@@GLIBC_2.3'
Was not blocked by any bugs.
Added blocking bug(s) of 621004: 628800
> thanks
Stopping processing here.

Please contact me if you need assistance.
--
621004: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621004
628800: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628800
-1: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=-1
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bugs...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Michael Biebl

unread,
Jun 1, 2011, 9:30:02 AM6/1/11
to
clone 621004 -1
reassign -1 libdjvulibre21

retitle kfreebsd-*: libdjvulibre doesn't link against libpthread on kfreebsd
block 621004 by -1
thanks

Am 01.06.2011 15:00, schrieb Michael Biebl:
> Hi KiBi,
>
> I'm currently looking at apvlv (because of the impending poppler transition)
>
> | Linking CXX executable apvlv
> | /usr/bin/ld:
> /usr/lib/gcc/x86_64-kfreebsd-gnu/4.5.2/../../../../lib/libdjvulibre.so:


> undefined reference to symbol 'pthread_cancel@@GLIBC_2.3'

> | /usr/bin/ld: note: 'pthread_cancel@@GLIBC_2.3' is defined in DSO
> //lib/libpthread.so.0 so try adding it to the linker command line
> | //lib/libpthread.so.0: could not read symbols: Invalid operation
> | collect2: ld returned 1 exit status
> | make[3]: *** [src/apvlv] Error 1
>
>
>
> To me this looks like a bug in libdjvulibre (on kbsd)
>
> Apparently it is libdjvulibre which doesn't link against libpthread (whereas it
> does on Linux), although it uses it.

on Linux:
=========

$ ldd /usr/lib/libdjvulibre.so
linux-gate.so.1 => (0xb77cb000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb75da000)
libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb75c1000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb74d1000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb74ab000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7351000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7334000)
/lib/ld-linux.so.2 (0xb77cc000)

./configure
...
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking whether pthreads work with -pthread -lpthread... yes
checking if more special flags are required for pthreads... no
checking threading model... pthread
setting THREAD_CFLAGS= -pthread -DTHREADMODEL=POSIXTHREADS
setting THREAD_LIBS= -lpthread

# on kfreebsd:
==============
christoph@myron ~
2:06 0 % ldd /usr/lib/libdjvulibre.so.21.3.0

libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00000008015f9000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x000000080181d000)
libm.so.1 => /lib/libm.so.1 (0x0000000801b27000)
libc.so.0.1 => /lib/libc.so.0.1 (0x0000000801da9000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00000008020f1000)
/lib64/ld-kfreebsd-x86-64.so.1 (0x0000000001021000)

./configure
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking if more special flags are required for pthreads... no
checking threading model... pthread
setting THREAD_CFLAGS=-pthread -DTHREADMODEL=POSIXTHREADS
setting THREAD_LIBS=

Full build log
http://people.debian.org/~christoph/djvulibre_3.5.24-3_kfreebsd-amd64.build
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

signature.asc
0 new messages