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 A9719C433E0 for ; Mon, 10 Aug 2020 12:21:47 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 640F520709 for ; Mon, 10 Aug 2020 12:21:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 640F520709 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4BQFSl3Qd5zDqTn for ; Mon, 10 Aug 2020 22:21:43 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=198.145.29.99; helo=mail.kernel.org; envelope-from=cmarinas@kernel.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4BQFPd3xYGzDqH2 for ; Mon, 10 Aug 2020 22:19:01 +1000 (AEST) 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 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) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Steven Rostedt , linux-kernel@vger.kernel.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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 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,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 57E0AC433DF for ; Mon, 10 Aug 2020 12:20:40 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 2391F20709 for ; Mon, 10 Aug 2020 12:20:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FC1HTx5z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2391F20709 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+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=merlin.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=eVGJjV2kGy8qNudpIdc8ys82OAV2LCze1yX+xt2NBeY=; b=FC1HTx5zDTsc4R8CWGlitdFRn cglmXjbIUi3y5ActloqSRcqH/umUGigsDVtwVdq3rAL5bagqx94znNWhtqQ0rNTXF6qnKZ44j8Ycf pVVLoBhKxC48ThX+p8rnnz/ZIGkKSAhQ+Z0zS3Rx5dqbvSw3fzQSFuWzFW63RMiW9bZC4CzQgBO/i oMMYIN7Kc8dFdKPpfbCYv6qxX49YIZ/SwS8zZwEqdNo8WkSEt1jvtTF0nDUO1o5LsAHrwVDjM19W7 6tdpFRIEaDxY2tmYMhcA9B1SyT7aC/I6MdAmt9s1A1B9yqYX5BjfkRuFJIwhWA4xz1bK8CAZgrH+c WQ5lHsmkQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k56lb-0000yL-Ez; Mon, 10 Aug 2020 12:19:03 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k56lX-0000xY-Rd for linux-arm-kernel@lists.infradead.org; Mon, 10 Aug 2020 12:19:00 +0000 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 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-Disposition: inline In-Reply-To: <20200810091730.GA3099@ltoracle> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200810_081859_998732_3AD06DEF X-CRM114-Status: GOOD ( 15.70 ) 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-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Steven Rostedt , Christophe Leroy , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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