NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/50277: rtld relocation bug with thread local storage



The following reply was made to PR toolchain/50277; it has been noted by GNATS.

From: Matt Thomas <matt%3am-software.com@localhost>
To: gnats-bugs%NetBSD.org@localhost,
 tnn%netbsd.org@localhost
Cc: toolchain-manager%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost
Subject: Re: toolchain/50277: rtld relocation bug with thread local storage
Date: Fri, 25 Sep 2015 23:06:08 -0700

 > On Sep 25, 2015, at 7:40 PM, tnn%netbsd.org@localhost wrote:
 >=20
 >> Number:         50277
 >> Category:       toolchain
 >> Synopsis:       rtld relocation bug with thread local storage
 >> Confidential:   no
 >> Severity:       non-critical
 >> Priority:       medium
 >> Responsible:    toolchain-manager
 >> State:          open
 >> Class:          sw-bug
 >> Submitter-Id:   net
 >> Arrival-Date:   Sat Sep 26 02:40:00 +0000 2015
 >> Originator:     Tobias Nygren
 >> Release:        7.99.21
 >> Organization:
 >> Environment:
 > x86_64
 >> Description:
 >=20
 > =3D=3D=3D=3D=3D=3D=3D shlib2.c =3D=3D=3D=3D=3D=3D=3D
 >=20
 > __thread int mysym __attribute__((tls_model("initial-exec"))) =3D 0;
 > int* func2() { return &mysym; }
 >=20
 
 I believe initial-exec is only valid for static programs, not one using =
 shared libraries.=
 


Home | Main Index | Thread Index | Old Index