This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: bug with PI mutex and static linking
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: "Warlich, Christof" <christof dot warlich at siemens dot com>
- Cc: "libc-help at sourceware dot org" <libc-help at sourceware dot org>
- Date: Thu, 11 Feb 2016 10:07:45 -0500
- Subject: Re: bug with PI mutex and static linking
- Authentication-results: sourceware.org; auth=none
- References: <6D83E89737156549AEA25EF9ED712C5D18EDE2 at DEFTHW99EK1MSX dot ww902 dot siemens dot net>
On Thu, Feb 11, 2016 at 5:03 AM, Warlich, Christof
<christof.warlich@siemens.com> wrote:
> with glibc 2.22, the following test fails on x86_64 when statically linking with EPERM when doing the pthread_mutex_unlock(). It looks like mutex->__data.__owner is not properly initialized, as it is 0 when trying to unlock.
Works fine on Fedora 23 with glibc 2.22 and GCC 5.3.
You'll need to provide more information about your problem.
Cheers,
Carlos.