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=-5.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no 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 546A5C433DF for ; Mon, 10 Aug 2020 12:19:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 36EF720729 for ; Mon, 10 Aug 2020 12:19:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726844AbgHJMS7 (ORCPT ); Mon, 10 Aug 2020 08:18:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:50250 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726826AbgHJMS7 (ORCPT ); Mon, 10 Aug 2020 08:18:59 -0400 Received: from gaia (unknown [95.146.230.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C06D820709; Mon, 10 Aug 2020 12:18:57 +0000 (UTC) Date: Mon, 10 Aug 2020 13:18:55 +0100 From: Catalin Marinas To: Gregory Herrero Cc: Christophe Leroy , Steven Rostedt , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] recordmcount: Fix build failure on non arm64 Message-ID: <20200810121855.GD9480@gaia> References: <5ca1be21fa6ebf73203b45fd9aadd2bafb5e6b15.1597049145.git.christophe.leroy@csgroup.eu> <20200810091730.GA3099@ltoracle> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200810091730.GA3099@ltoracle> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 10, 2020 at 11:17:30AM +0200, Gregory Herrero wrote: > On Mon, Aug 10, 2020 at 08:48:22AM +0000, Christophe Leroy wrote: > > Commit ea0eada45632 leads to the following build failure on powerpc: > > > > HOSTCC scripts/recordmcount > > scripts/recordmcount.c: In function 'arm64_is_fake_mcount': > > scripts/recordmcount.c:440: error: 'R_AARCH64_CALL26' undeclared (first use in this function) > > scripts/recordmcount.c:440: error: (Each undeclared identifier is reported only once > > scripts/recordmcount.c:440: error: for each function it appears in.) > > make[2]: *** [scripts/recordmcount] Error 1 > > > > Make sure R_AARCH64_CALL26 is always defined. > > > Oops, thanks for fixing this. > > Acked-by: Gregory Herrero Thanks. I'll queue it via the arm64 tree (as I did with the previous fix) but I'll wait a bit for Steve to ack it. -- Catalin