This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/19826] invalid pointer returned from __tls_get_addr with static linking
- From: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 20 Sep 2016 07:56:11 +0000
- Subject: [Bug libc/19826] invalid pointer returned from __tls_get_addr with static linking
- Auto-submitted: auto-generated
- References: <bug-19826-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19826
--- Comment #10 from Andreas Schwab <schwab@linux-m68k.org> ---
You can also run it on a aarch64 system, there are a few on the GCC compile
farm.
#0 _dl_allocate_tls_init (result=0xf77ff7c0) at dl-tls.c:476
#1 0x000129fc in allocate_stack (stack=<synthetic pointer>,
pdp=<synthetic pointer>, attr=<optimized out>) at allocatestack.c:584
#2 __pthread_create_2_1 (newthread=<optimized out>, attr=<optimized out>,
start_routine=<optimized out>, arg=<optimized out>) at pthread_create.c:539
#3 0x00010518 in main () at tls.c:18
sysdeps/arm/nptl/tls.h:
/* Install the dtv pointer. The pointer passed is to the element with
index -1 which contain the length. */
# define INSTALL_DTV(tcbp, dtvp) \
(((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1)
--
You are receiving this mail because:
You are on the CC list for the bug.