This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/19826] invalid pointer returned from __tls_get_addr with static linking


https://sourceware.org/bugzilla/show_bug.cgi?id=19826

--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Fri, 16 Sep 2016, aoliva at sourceware dot org wrote:

> How do you even get references to __tls_get_addr in a static program?  I don't
> see that the symbol is defined in any of the static libraries!  I wonder if
> it's ARM-specific, or whether the call is relaxed, after all, just not
> correctly.

See sysdeps/arm/libc-tls.c.

I don't know if this bug is the same problem as nptl/tst-cancel24-static 
failing, but that was traced back to the same commit some time ago 
<https://sourceware.org/ml/libc-alpha/2015-11/msg00529.html>, and appears 
on lots of architectures as can be seen in the release test results on the 
wiki.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]