From patchwork Fri Jan 29 10:53:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 575569 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id E0B07140556 for ; Fri, 29 Jan 2016 21:53:36 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=dnaMvsZl; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=KnJEjv2QaQ8ugouCHl8R8cET98cDOGz4fRlchx+ni+fwsI4Zq7gWR KwO+m9XVhG2MiGCknKm/HiQV38SB0GnWQngSSReASs8okKjg+PbO1UfaR30/bsws 2Ce87bnOejlNEcBfbgmH5VlCCLey9dPXxFwQ+sJl75FtcO7zt8/YLU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=rSTeNh8U1bwpkoKsaUJDur1Uz6c=; b=dnaMvsZlg8B+FDwcHole 0KVTVWjZOL1xotRt7BTrpdXuoicDe8wcu8rDLw3Lj2aXl63fcFVcBV4kVFGTUOTk a9mmzn8wHtOPP24rgOsZMp7BXUKdsrvY3xYt0Fp+XlRS28pMOkP+DpGF900nurM3 qy9yFuUD4P9FIdpAPAb6bAE= Received: (qmail 13078 invoked by alias); 29 Jan 2016 10:53:29 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 13057 invoked by uid 89); 29 Jan 2016 10:53:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 29 Jan 2016 10:53:27 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 817A43F3CE; Fri, 29 Jan 2016 10:53:26 +0000 (UTC) Received: from localhost (ovpn-116-36.ams2.redhat.com [10.36.116.36]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0TArPdP009379; Fri, 29 Jan 2016 05:53:26 -0500 Date: Fri, 29 Jan 2016 10:53:25 +0000 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [patch] libstdc++/69506 Fix Cygwin bootstrap error due to TM symbols Message-ID: <20160129105325.GA25169@redhat.com> MIME-Version: 1.0 Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.5.24 (2015-08-30) Another target that doesn't have the necessary weak ref support for the TM-aware exception-handling. Bootrapped successfully by the reporter, committed to trunk. commit b7e2e38ab1d938ee19280eba11ed3643a140f86d Author: Jonathan Wakely Date: Fri Jan 29 10:38:45 2016 +0000 Fix Cygwin bootstrap error due to TM symbols PR libstdc++/69506 * config/os/newlib/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define. diff --git a/libstdc++-v3/config/os/newlib/os_defines.h b/libstdc++-v3/config/os/newlib/os_defines.h index 4a09dd1..2a87e74 100644 --- a/libstdc++-v3/config/os/newlib/os_defines.h +++ b/libstdc++-v3/config/os/newlib/os_defines.h @@ -53,6 +53,9 @@ // their dtors are called #define _GLIBCXX_THREAD_ATEXIT_WIN32 1 +// See libstdc++/69506 +#define _GLIBCXX_USE_WEAK_REF 0 + #endif #endif