Samuel Thibault, le Wed 31 Jan 2007 00:32:17 +0100, a écrit : > Unfortunately this is not enough: oddly enough, libX11's weak definition > wins (at least in glibc 2.3.6 and 2.5.0, but not in glibc 2.2.5)... I > fail to see how weak definitions may be useful if strong definitions > can't compete. I submitted a bug report to glibc's bugzilla.
Answer from Drepper: this "feature" was fixed (understand: removed) in glibc 2.3, not only because it is bit more conforming, but also because it was needed for some other stuff. As a result, our only solution is to at last implement stubs in libc for pthread_mutex_lock & co. Samuel

