Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#9730 - glibc: libpthread can't be linked static

Attached to Project: Arch Linux
Opened by Johannes (dongiovanni) - Saturday, 01 March 2008, 14:45 GMT
Last edited by Jan de Groot (JGC) - Monday, 10 March 2008, 18:09 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
It seems not possible to link programs static against libpthread in glibc 2.7. This error always occurs:

Making all in src
CREATE fbsplash.h
Making all in .
daemon_cmd.c: In function 'cmd_log':
daemon_cmd.c:346: warning: incompatible implicit declaration of built-in function 'strndup'
daemon_cmd.c:348: warning: incompatible implicit declaration of built-in function 'strndup'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.2.2/../../../../lib/libpthread.a(pthread_cond_timedwait.o): In function `pthread_cond_timedwait':
(.text+0xa7): undefined reference to `__vdso_clock_gettime'
collect2: ld returned 1 exit status
make[4]: *** [fbsplashctl] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


To reproduce it, you can try to compile splashutils 1.5.4.

The glibc bugtracker says, that it is already fixed in the cvs.
http://sources.redhat.com/bugzilla/show_bug.cgi?id=5531


This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 10 March 2008, 18:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in testing.

Loading...