From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 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 dcvr.yhbt.net (Postfix) with ESMTPS id A15DA1F4B5 for ; Thu, 14 Nov 2019 11:50:24 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:in-reply-to:references :reply-to:mime-version:content-transfer-encoding:content-type :message-id; q=dns; s=default; b=EuxBlFIpcqxBpMIScAw4n4ci98ESNpx txH6lSFsx9ElVBCtuanhNsf4wP3lpbMJycOY8UFLF/5a8fZKrZCNM0jrf/W7KvK7 5n2suVzItgEthBcj/DNpdwC0U9EMELFRecfKVmmSSTpEn362XcqP3udYyAvowhLN PNaksMsaivy0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:in-reply-to:references :reply-to:mime-version:content-transfer-encoding:content-type :message-id; s=default; bh=tbn/3X+b/AqkCRwgJKSorzSba24=; b=aZqI1 0AMBSiqUeX2wZkdJ0cFgr4otdn3EUASKOVq5aIAQ1qCRKkjQA2P0GPLvDIe5Vbd1 ejygJQEWsLMLK5hZ0czikvpqmAJcNOat3piTmEt1i1GJhkKsqri7xUdkp9fe0VQI i1ny4mtRsIe4YcpTgGheZFBGz4svwTD+EWvBsQ= Received: (qmail 41959 invoked by alias); 14 Nov 2019 11:50:22 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 41949 invoked by uid 89); 14 Nov 2019 11:50:21 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mx1.osci.io X-Gerrit-PatchSet: 2 Date: Thu, 14 Nov 2019 06:50:16 -0500 From: "Sourceware to Gerrit sync (Code Review)" To: Florian Weimer , libc-alpha@sourceware.org Cc: Chung-Lin Tang Auto-Submitted: auto-generated X-Gerrit-MessageType: merged Subject: [pushed] nios2: Work around backend bug triggered by csu/libc-tls.c (GCC PR 92... X-Gerrit-Change-Id: If5df5b05d15f0418af821a9ac8cc0fad53437b10 X-Gerrit-Change-Number: 624 X-Gerrit-ChangeURL: X-Gerrit-Commit: c9bf28d625ad1533935d40ae94b15453d0c98508 In-Reply-To: References: Reply-To: noreply@gnutoolchain-gerrit.osci.io, fweimer@redhat.com, chunglin.tang@gmail.com, libc-alpha@sourceware.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/3.0.3-76-gf8b6da0ab5 Content-Type: text/plain; charset=UTF-8 Message-Id: <20191114115017.0816120AF6@gnutoolchain-gerrit.osci.io> Sourceware to Gerrit sync has submitted this change. Change URL: https://gnutoolchain-gerrit.osci.io/r/c/glibc/+/624 ...................................................................... nios2: Work around backend bug triggered by csu/libc-tls.c (GCC PR 92499) Change-Id: If5df5b05d15f0418af821a9ac8cc0fad53437b10 --- M sysdeps/unix/sysv/linux/nios2/Makefile 1 file changed, 9 insertions(+), 0 deletions(-) diff --git a/sysdeps/unix/sysv/linux/nios2/Makefile b/sysdeps/unix/sysv/linux/nios2/Makefile index 5688a16..9342e45 100644 --- a/sysdeps/unix/sysv/linux/nios2/Makefile +++ b/sysdeps/unix/sysv/linux/nios2/Makefile @@ -7,3 +7,12 @@ sysdep_headers += sys/cachectl.h sysdep_routines += cacheflush endif + +ifeq ($(subdir),csu) +# Work around an incorrect assumption that an object of variably +# modified type, with a small fixed size but a large variable-sized +# part (the static_slotinfo variable in libc-tls.c) is allocated in +# the small data section, not the data section where it belongs based +# on its size. See GCC PR 92499. +CFLAGS-libc-tls.c += -mgpopt=none +endif -- Gerrit-Project: glibc Gerrit-Branch: master Gerrit-Change-Id: If5df5b05d15f0418af821a9ac8cc0fad53437b10 Gerrit-Change-Number: 624 Gerrit-PatchSet: 2 Gerrit-Owner: Florian Weimer Gerrit-Reviewer: Florian Weimer Gerrit-CC: Chung-Lin Tang Gerrit-MessageType: merged