From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86439 invoked by alias); 26 Feb 2018 21:05:16 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 82019 invoked by uid 89); 26 Feb 2018 21:04:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=-11.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=hugo, 8:z=c3, 8:en?= X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-it0-f66.google.com Received: from mail-it0-f66.google.com (HELO mail-it0-f66.google.com) (209.85.214.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 26 Feb 2018 21:04:44 +0000 Received: by mail-it0-f66.google.com with SMTP id w19so9114953ite.0; Mon, 26 Feb 2018 13:04:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=SLqHbDstRV2FwzdWfrtOTHcG2WwwcxT/Ant+0BrIQuQ=; b=Vj/Gh1/lXBoloGdRUNW1L64opL5d7hyYyYYldaqECZBzHiEVcdS/nPeqDG2foY539F sT9X8tdT4YJsP0oBLhfBNmgLXrYF6i+MJ2q/zc3AZNyhxplBvsvCx99/iTujuBJSaB17 zPlyCll3mhg9xmUi+/+KIIX8i46+1Aq6jJbkXgjn4ULJn/86Hzs74oVvQSQs2mKy20aV VQ8/cF/RjqW/PF+mesLL/d4fMVOrfXH5B5OHtwXceBWmm9kGtinskuhr78cQZcCxWOoM 5wWXVsjtlFCHq911cnmEysID4XZeuKauKccARaUnTgBVLcxN+DR3jN3LU3wLyEeMtu7+ nSZQ== X-Gm-Message-State: APf1xPC1CVcLUD7FnB5ZTyRl3DoJkaEtgoDhFDdqTxoEdG6hiukQfbg+ dGcG/39Ivyy93YXq43ayT5qNzGNHYoyggIApzIcgnZdP X-Google-Smtp-Source: AG47ELvihUHjdIylC32jKX+vPMMe9852QqP2XymJz/pu6tpYy1vkB0bVF9yrP4Lzh1993F9D0NlunoRGBr8/GmZ+b4E= X-Received: by 10.36.0.130 with SMTP id 124mr13655132ita.91.1519679082765; Mon, 26 Feb 2018 13:04:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.50.83 with HTTP; Mon, 26 Feb 2018 13:04:41 -0800 (PST) In-Reply-To: <1519030763.2942755.1275455464.4F3B5B67@webmail.messagingengine.com> References: <1519030763.2942755.1275455464.4F3B5B67@webmail.messagingengine.com> From: Jonathan Wakely Date: Mon, 26 Feb 2018 21:05:00 -0000 Message-ID: Subject: Re: [PATCH] libstdc++-v3: Check for TLS support on mingw To: =?UTF-8?Q?Hugo_Beauz=C3=A9e=2DLuyssen?= Cc: gcc-patches , "libstdc++" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2018-02/txt/msg01464.txt.bz2 Apologies if you get this mail multiple times, I'm having some trouble sending mail to @gcc.gnu.org lists. On 19/02/18 09:59 +0100, Hugo Beauz=C3=A9e-Luyssen wrote: > libstdc++-v3: Check for TLS support on mingw > > 2018-02-16 Hugo Beauz=C3=A9e-Luyssen > > * crossconfig.m4: Check for TLS support on mignw Typo "minwg" > * configure: regenerate > > Index: libstdc++-v3/crossconfig.m4 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- libstdc++-v3/crossconfig.m4 (revision 257730) > +++ libstdc++-v3/crossconfig.m4 (working copy) > @@ -197,6 +197,7 @@ case "${host}" in > GLIBCXX_CHECK_LINKER_FEATURES > GLIBCXX_CHECK_MATH_SUPPORT > GLIBCXX_CHECK_STDLIB_SUPPORT > + GCC_CHECK_TLS > ;; > *-netbsd*) > SECTION_FLAGS=3D'-ffunction-sections -fdata-sections' Hi, thanks for the patch. I don't think we can apply it now, as the GCC trunk is only open for regression fixes until GCC 8 is released. How was this tested? Will it work for all versions of mingw that we support? Is TLS enabled for native builds? (If so we definitely need this, because otherwise mingw cross-compilers are not ABI compatibnle with native ones).