Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1068823ybp; Wed, 9 Oct 2019 08:23:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqxSyZ1hu0gSSM5kwYK5L8D0mRP6AkRQFeAx5ECt/QrCxkcgoV4VWhAXG+kE7uWnIhT5TWOt X-Received: by 2002:a17:906:d7ab:: with SMTP id pk11mr3420874ejb.283.1570634638686; Wed, 09 Oct 2019 08:23:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570634638; cv=none; d=google.com; s=arc-20160816; b=WTDNR/Bgpon2oHCHX4yOOFcrE4ZnLxxpWo4U3fJ7DjglfNBy9H24lCP4ZL0FBChejb A9vzGbIgK2i89xFcpxfa/Y1QadALXT1MZK2Vt0+6tprkNuxKXlA5VUM/M4q9WdynHj56 1hi3lkvJ48YB7+wTyAaU4BtMdIvx2b7XENPJaGBTfNJIHKSfazgpByLVzQAYy72f1OPq C+2n1f6WL2AMoLmoJejfb3qz1bGyCfXhQyMlH3TkEpR41e/3n0r7GS8kfC2bRGNSlEm1 4MJTd4Oo5/v0Sjn2OTOvSMe8V8I3zNM3IzxG+BV5W5YmcD4h42lf0pWrY87k1/hspvEg dRkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=TJA3GPwGiudAyMHHsWhU877ZS+JrRkBVRBlc6cN5R5E=; b=VkTc3HNjeYspM1XTsXTEon2WZiIVxze2ankYFF9Gr8npEaUhcPilj5Vl4vtziJpN5v IXMNYZBqdAqg9ZVO1SLup8axBgoS3chpm1YzLjWGkyAbtwCMHv6Gd8/bWxa7g0S3lvPy kjUDuuOMEyIHqQ68oy1uvnGZf/fMdbISaxU/AvvAFUFgq6jemOagnz11JdNkxXVmK4+X PIYHYaornRtuZbG9VuFQSXPXGtzajF8RX0+wcw4DUEhwlXgoU4ib4bWb/9kJFiJmhG5q 344Ac9Xh2WbSKjJx/RebgUXMCHpkkI8BKXXQl74MyDSFxZhnhl65uxaYR5iujbYW+mJw Iw4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v8si1642179edi.22.2019.10.09.08.23.34; Wed, 09 Oct 2019 08:23:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731616AbfJIPWW (ORCPT + 99 others); Wed, 9 Oct 2019 11:22:22 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:42699 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730674AbfJIPWW (ORCPT ); Wed, 9 Oct 2019 11:22:22 -0400 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iIDn9-0000BE-3A; Wed, 09 Oct 2019 17:22:19 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1iIDn8-0004d5-10; Wed, 09 Oct 2019 17:22:18 +0200 Date: Wed, 9 Oct 2019 17:22:18 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Steven Rostedt Cc: Matt Helsley , LKML , Ingo Molnar , kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 4/8] recordmcount: Rewrite error/success handling Message-ID: <20191009152217.whklst5vwrwvsjc4@pengutronix.de> References: <8ba8633d4afe444931f363c8d924bf9565b89a86.1564596289.git.mhelsley@vmware.com> <20191009104626.f3hy5dcehdfagxto@pengutronix.de> <20191009110538.5909fec6@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191009110538.5909fec6@gandalf.local.home> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 09, 2019 at 11:05:38AM -0400, Steven Rostedt wrote: > On Wed, 9 Oct 2019 12:46:26 +0200 > Uwe Kleine-K?nig wrote: > > > > uwe@taurus:~/arietta/kbuild$ ./scripts/recordmcount "arch/arm/crypto/aes-cipher-glue.o" > > arch/arm/crypto/aes-cipher-glue.o: failed > > Thanks for the report. > > > > > I didn't debug this further, if you have problems reproducing or need more > > infos tell me. The defconfig I'm using is attached. > > > > Does this fix it for you? > > -- Steve > > diff --git a/scripts/recordmcount.h b/scripts/recordmcount.h > index 3796eb37fb12..6dbec46b7703 100644 > --- a/scripts/recordmcount.h > +++ b/scripts/recordmcount.h > @@ -389,11 +389,8 @@ static int nop_mcount(Elf_Shdr const *const relhdr, > mcountsym = get_mcountsym(sym0, relp, str0); > > if (mcountsym == Elf_r_sym(relp) && !is_fake_mcount(relp)) { > - if (make_nop) { > + if (make_nop) > ret = make_nop((void *)ehdr, _w(shdr->sh_offset) + _w(relp->r_offset)); > - if (ret < 0) > - return -1; > - } Yes, this patch fixes building for me. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |