From patchwork Thu Oct 3 19:44:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 1992481 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Jc3zQCER; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XKMbg4yXdz1xt1 for ; Fri, 4 Oct 2024 05:45:35 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EB3033846420 for ; Thu, 3 Oct 2024 19:45:32 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-oa1-x30.google.com (mail-oa1-x30.google.com [IPv6:2001:4860:4864:20::30]) by sourceware.org (Postfix) with ESMTPS id 9CD73385DDD1 for ; Thu, 3 Oct 2024 19:45:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9CD73385DDD1 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9CD73385DDD1 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:4860:4864:20::30 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727984708; cv=none; b=lcSOorK6CUw3atnDSB+AhP/dGR6LEX/+CXXW3lx22+mZphz6mgPtz2XtGpA262YzfB65txJ1GPYWB4vlCA0K/egdvBntACypdpgJaAsqBwSHcmHMmRLPFZ+0AY3SKiZDfnYJcFmbRbiDHRiJvhVJ+6mQepizRXQueL24Jrr7PLg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727984708; c=relaxed/simple; bh=LoaAeW12M/ohscnImrpeX4DC7Yyc42PVP2Ccjd8IaaA=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=NN1xZb38/h1SsOjLcK4aaBadbWLlh522zvmlHzfxxYAAiWgw7Mr0P4kpMfCuS62VRjp44BPzgYva7HpnW+UZVdUXeah3AiPXY0i1MxMxB8wRYOIJZliEZD+27UQdcPNwYWvEibYIp78NFAKVxbBwdbhHHOmrJAXCJGpwRkkFZBc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-oa1-x30.google.com with SMTP id 586e51a60fabf-27e1f62e30eso757629fac.0 for ; Thu, 03 Oct 2024 12:45:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727984705; x=1728589505; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=jE5Ew1pokJzoK3HgCYopidQXQ09HhP6VLMA+jSHaP2A=; b=Jc3zQCERkKQLcnPN2S6S2tNP1+hpYD/UuQIQukEEP6oyIEGP10f/X2qntTyb4DP9qV yt2giDvWzSv2eIaQ1/H4PE9hAEcAkbmc1SJ623B2sJhVdBAdehtrAK4vAWwoACiwkPkt JlRM6nEk9GWlPKHsg2zbYepp/qz3ugRj/wtVyOyI4MDsrC7sP+0geKegHCD5ymseundT NmGfwOOZswF+3Y/amze+nHSrh0hg/n11Qeo86HpeFpu5t3/71nz1xTNUmiUZJpDTNtX/ 49aQas9ZRnMIsPDYyPNgBI9k6Q3s7qGDr3wXljHbzp6lxK1DbeT1Q8gA4RZVVyiC6XS6 cysA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727984705; x=1728589505; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jE5Ew1pokJzoK3HgCYopidQXQ09HhP6VLMA+jSHaP2A=; b=Ulwd4h/USCTwU48YXEX1gd2dH6MIfQXJ7mZ/ZUja7xF9/81Xd5pP/ch4jy+1ozmUAW Ktiq487ZLb1Qfj3FwVLSlWGuY7qAnMiKVhdx/ERQArYtNPNxJq05AteF9iDhmdNCsYHY j32PR7dDv7OF59pGM9bBq1xCuxPGDlqp+f2NC+YUnar7J7BDbZwbD1tu2s1XLW/lzd+j HZj+9H5dEJzIn0l4p/RsvKukGZmEdn76JbXegAP2gMoWIumbb3cDqEPyVGgDXkZHqwjo LHbfwgxc6dAVbqmlQ2YdD+q+maY0PIQcDqpSkmgZm5kgrH8hXX1zJIdPCA/eUFJbnuzQ uZnA== X-Gm-Message-State: AOJu0YyO9EiAtNnhmFyR5GpDL8GoVHbYakgP51QlmRRpUL7suePEXUm7 XGSh4t4AQW5XXLaHDQMxNSv4z9XcSrh+KwQVackpz0nyfQVINSGAfxTeQpVYiTy7sfrZKLYI0Au dJrj/4Q== X-Google-Smtp-Source: AGHT+IFKPAPqdvNjkyum5fTce4YwJwJJb4yWzu9+A5hY9g4H6baNeQ8EZQ7qeEqhXAT12tW+ny/iVw== X-Received: by 2002:a05:6871:ca27:b0:265:5e05:766c with SMTP id 586e51a60fabf-287c3a4bbc2mr137119fac.2.1727984705321; Thu, 03 Oct 2024 12:45:05 -0700 (PDT) Received: from localhost.localdomain ([139.178.84.207]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-287ab9b5c14sm651838fac.14.2024.10.03.12.45.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 12:45:04 -0700 (PDT) From: Christophe Lyon To: gcc-patches@gcc.gnu.org, richard.sandiford@arm.com, wdijkstr@arm.com, matthieu.longo@arm.com Cc: Christophe Lyon Subject: [PATCH 0/3] aarch64: Clean warnings in libgcc Date: Thu, 3 Oct 2024 19:44:47 +0000 Message-Id: <20241003194450.1052220-1-christophe.lyon@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org These patches fix several warnings which appeared when building libgcc for aarch64. * Patch 1 fixes a redefinition of macro 'L' in lse.S after a recent patch. * Patch 2 adds prototypes to avoid a warning emitted because we build with -Wmissing-prototypes. * Patch 3 adds support for -Werror in configure/Makefile, so that it will now be enabled when the top-level configure is invoked with --enable-werror, or when doing a bootstrap. The patch only affects aarch64 to avoid breaking bootstrap for other architectures. Thanks, Christophe Christophe Lyon (3): aarch64: libgcc: Cleanup warnings in lse.S aarch64: libgcc: add prototypes in cpuinfo aarch64: libgcc: Add -Werror support libgcc/Makefile.in | 1 + libgcc/config/aarch64/cpuinfo.c | 2 ++ libgcc/config/aarch64/lse.S | 4 ++++ libgcc/config/aarch64/t-aarch64 | 1 + libgcc/configure | 31 +++++++++++++++++++++++++++++++ libgcc/configure.ac | 5 +++++ 6 files changed, 44 insertions(+)