[libphobos] Work around Solaris ld bug linking __tls_get_addr on 64-bit x86
Sat Apr 13 18:48:00 GMT 2019
On Tue, 9 Apr 2019 at 21:36, Rainer Orth <firstname.lastname@example.org> wrote:
> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
> > Here's the patch I mentioned in
> > https://gcc.gnu.org/ml/gcc-patches/2019-01/msg01661.html
> > to work around an amd64 Solaris ld bug. I'm just posting it for
> > reference now: until it's clear if a fix will make it into Solaris 11.5
> > or not, there's no point in applying it yet.
> > Still, review comments are appreciated.
> With the revised patch for non-dlpi_tls_modid versions of Solaris
> __tls_get_addr will always be called and thus this workaround is needed
> unconditionally, even should the ld bug be fixed in Solaris 11.5.
> This revision adjusts the patch accordingly and was tested together with
> the other one on Solaris 11./x86.
> Ok for mainline?
More information about the Gcc-patches