From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, T_DKIMWL_WL_HIGH,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13AA5C2BCA1 for ; Fri, 7 Jun 2019 15:25:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DEDF32089E for ; Fri, 7 Jun 2019 15:25:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jpTYwHMw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DEDF32089E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zPNB3qtD/QnClCETo63LytY+68ZqJTYbV8qpWLsRhCQ=; b=jpTYwHMwXJFgfO 7BmNlV9zlcJxgYh7XkVk2GFb7Cod6yVSa5ClgU3a/OzQZHbjmd5PgnMziFW4D14EwAzkQEs+w+ZAj 2uquqzIdn3WhfBSx6ch9dHKNPgs4LYBCXX5Ugdao4PDXD+oe8jPMRAGW0WXHgOd8+NWyNkYVC03Xt WG7lrR4i/swzELiu2fXH5gjYFjx+ENFxwF9m2bnZyBpZzalI1cEcb4jVsM/+qUEaGlPlL/KQkPoxh osJRJ6YuWmUwBDw9DjRPpApl31oz9o4PUgPee/p8cabFMR+2H+3oOIrfEHzTgdTf8b51e+CAy8dDs eqAq5xEUETi5hK9HFOhw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hZGk8-0006qI-9V; Fri, 07 Jun 2019 15:25:24 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hZGk5-0006px-G1 for linux-arm-kernel@lists.infradead.org; Fri, 07 Jun 2019 15:25:22 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D8A39346; Fri, 7 Jun 2019 08:25:20 -0700 (PDT) Received: from fuggles.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D270C3F718; Fri, 7 Jun 2019 08:25:19 -0700 (PDT) Date: Fri, 7 Jun 2019 16:25:17 +0100 From: Will Deacon To: Qian Cai Subject: Re: "arm64: Silence gcc warnings about arch ABI drift" breaks clang Message-ID: <20190607152517.GC19862@fuggles.cambridge.arm.com> References: <1559920965.6132.56.camel@lca.pw> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1559920965.6132.56.camel@lca.pw> User-Agent: Mutt/1.11.1+86 (6f28e57d73f2) () X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190607_082521_582782_255592C4 X-CRM114-Status: UNSURE ( 7.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-efi@vger.kernel.org, Ard Biesheuvel , Catalin Marinas , "linux-kernel@vger.kernel.org" , Dave Martin , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Jun 07, 2019 at 11:22:45AM -0400, Qian Cai wrote: > The linux-next commit "arm64: Silence gcc warnings about arch ABI drift" [1] > breaks clang build where it screams that unknown option "-Wno-psabi" and > generates errors below, So that can be easily fixed with cc-option... > [1] https://lore.kernel.org/linux-arm-kernel/1559817223-32585-1-git-send-email-D > ave.Martin@arm.com/ > > ./drivers/firmware/efi/libstub/arm-stub.stub.o: In function > `install_memreserve_table': > ./linux/drivers/firmware/efi/libstub/arm-stub.c:73: undefined reference to > `__efistub___stack_chk_guard' > ./linux/drivers/firmware/efi/libstub/arm-stub.c:73: undefined reference to > `__efistub___stack_chk_guard' > ./linux/drivers/firmware/efi/libstub/arm-stub.c:93: undefined reference to > `__efistub___stack_chk_guard' > ./linux/drivers/firmware/efi/libstub/arm-stub.c:93: undefined reference to > `__efistub___stack_chk_guard' > ./linux/drivers/firmware/efi/libstub/arm-stub.c:94: undefined reference to > `__efistub___stack_chk_fail ... but this looks unrelated. Are you saying you don't see these errors if you revert Dave's patch? Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel