This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
AW: bug with PI mutex and static linking
- From: "Warlich, Christof" <christof dot warlich at siemens dot com>
- To: "Carlos O'Donell" <carlos at systemhalted dot org>, "Sudler, Simon" <simon dot sudler at siemens dot com>
- Cc: "libc-help at sourceware dot org" <libc-help at sourceware dot org>
- Date: Thu, 11 Feb 2016 15:48:36 +0000
- Subject: AW: bug with PI mutex and static linking
- Authentication-results: sourceware.org; auth=none
- References: <6D83E89737156549AEA25EF9ED712C5D18EDE2 at DEFTHW99EK1MSX dot ww902 dot siemens dot net> <CAE2sS1gnYZDc0uwx+W2xY+f7SH=i1cFF7o==EUyF9SNXWWqHzA at mail dot gmail dot com>
Carlos wrote:
> Works fine on Fedora 23 with glibc 2.22 and GCC 5.3.
Many thanks for that (rather unexpected) feedback. We also use GCC 5.3.
> You'll need to provide more information about your problem.
We are running Ubuntu 14.04 with self-built cross-toolchains for various architectures, amongst them x86_64.
Assuming you haven't missed to do a _static_ build to reproduce the issue, the problem seems to most
likely be with our toolchain build. So at least we now know where to start searching :-).
Cheers,
Chris
-----UrsprÃngliche Nachricht-----
Von: Carlos O'Donell [mailto:carlos@systemhalted.org]
Gesendet: Donnerstag, 11. Februar 2016 16:08
An: Warlich, Christof
Cc: libc-help@sourceware.org
Betreff: Re: bug with PI mutex and static linking
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.