From patchwork Thu Nov 14 11:50:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Adhemerval Zanella (Code Review)" X-Patchwork-Id: 1194774 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-107069-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gnutoolchain-gerrit.osci.io Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="saHHzG5d"; dkim-atps=neutral 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 47DKYH4P7kz9sP4 for ; Thu, 14 Nov 2019 22:50:27 +1100 (AEDT) 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=gxHRg5T7ZvJsvEcbhxHl4JYtKxJ+qhp fyCNv+hRH/uobkBMkub3rluwutLJHs4yJBvrzcwxBvXER6WylCH7nWlMrqrtO3yB J5/IxNqs2yH8W6aoPDNgYckKZ7rjM/WhTOTNgq/U2di5kfkTbtfcdZrx6fzTfJ3/ hI4X3tlGpbYs= 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=saHHz G5dVQCGiAwj4456yeJ/YbLo4CZ95tto1VRD1PG/t0f6IA1PsNZ2gaFOnrYm12uYI 3/w5xagno9jxO33RivUB5LCc2W9Y6i0JdI47t4WsDPiiM2rOkOr7fxXYkJxnuIJe TepmwG5Z0mec7wtwP2K+DPyKYhUm2ZsIvhgwQc= 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 Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 41949 invoked by uid 89); 14 Nov 2019 11:50:21 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy= 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-Disposition: inline User-Agent: Gerrit/3.0.3-76-gf8b6da0ab5 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