public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/5465] New: glibc-2.7 uses vdso symbol in pthread_cond_timedwait when !SHARED
@ 2007-12-10 1:32 vapier at gentoo dot org
2007-12-10 1:33 ` [Bug nptl/5465] " vapier at gentoo dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: vapier at gentoo dot org @ 2007-12-10 1:32 UTC (permalink / raw)
To: glibc-bugs
nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S was updated to call
clock_gettime via the VDSO if possible, but that vdso symbol is only provided
for SHARED code (see libc/sysdeps/unix/sysv/linux/x86_64/init-first.c). thus,
linking against libpthread.a and using pthread_cond_timedwait() on x86_64 will
cause a link failure (undefined __vdso_clock_gettime symbol).
the attached patch by Michal Januszewski will only use the vdso symbol when
SHARED is defined.
--
Summary: glibc-2.7 uses vdso symbol in pthread_cond_timedwait
when !SHARED
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: nptl
AssignedTo: drepper at redhat dot com
ReportedBy: vapier at gentoo dot org
CC: glibc-bugs at sources dot redhat dot com,toolchain at
gentoo dot org
GCC host triplet: x86_64-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=5465
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug nptl/5465] glibc-2.7 uses vdso symbol in pthread_cond_timedwait when !SHARED
2007-12-10 1:32 [Bug nptl/5465] New: glibc-2.7 uses vdso symbol in pthread_cond_timedwait when !SHARED vapier at gentoo dot org
@ 2007-12-10 1:33 ` vapier at gentoo dot org
2007-12-10 14:30 ` spock at gentoo dot org
2007-12-12 8:08 ` drepper at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: vapier at gentoo dot org @ 2007-12-10 1:33 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From vapier at gentoo dot org 2007-12-10 01:32 -------
Created an attachment (id=2131)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2131&action=view)
glibc-libpthread-x86-64-vdso-SHARED.patch
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5465
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug nptl/5465] glibc-2.7 uses vdso symbol in pthread_cond_timedwait when !SHARED
2007-12-10 1:32 [Bug nptl/5465] New: glibc-2.7 uses vdso symbol in pthread_cond_timedwait when !SHARED vapier at gentoo dot org
2007-12-10 1:33 ` [Bug nptl/5465] " vapier at gentoo dot org
@ 2007-12-10 14:30 ` spock at gentoo dot org
2007-12-12 8:08 ` drepper at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: spock at gentoo dot org @ 2007-12-10 14:30 UTC (permalink / raw)
To: glibc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |spock at gentoo dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=5465
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug nptl/5465] glibc-2.7 uses vdso symbol in pthread_cond_timedwait when !SHARED
2007-12-10 1:32 [Bug nptl/5465] New: glibc-2.7 uses vdso symbol in pthread_cond_timedwait when !SHARED vapier at gentoo dot org
2007-12-10 1:33 ` [Bug nptl/5465] " vapier at gentoo dot org
2007-12-10 14:30 ` spock at gentoo dot org
@ 2007-12-12 8:08 ` drepper at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2007-12-12 8:08 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2007-12-12 08:07 -------
Patch is in cvs.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=5465
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-12-12 8:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-10 1:32 [Bug nptl/5465] New: glibc-2.7 uses vdso symbol in pthread_cond_timedwait when !SHARED vapier at gentoo dot org
2007-12-10 1:33 ` [Bug nptl/5465] " vapier at gentoo dot org
2007-12-10 14:30 ` spock at gentoo dot org
2007-12-12 8:08 ` drepper at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).