Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp2205334imm; Sat, 30 Jun 2018 13:33:02 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI2d4QCyvOzTSwOs2+v2nKj83FLy5uzGqd6YBdP0YyykgqfCKeTmQBYltjF7T93rgTQSAd/ X-Received: by 2002:a65:608c:: with SMTP id t12-v6mr17180973pgu.159.1530390781998; Sat, 30 Jun 2018 13:33:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530390781; cv=none; d=google.com; s=arc-20160816; b=g8MHU7gWv+ygg+qQkmgETdVbafLGuDOgoIMMF00eOAnz8MiHMYQNyJiwTvQJ2YuMs+ IP/PFY8qF9IaCFCbflWURZ4vO6uhNWe/kiU33T/rMKiyB2Z3XKdx4JcUbbNsUkBqM/og hm4KYH3oD3G5QYWFP7HDDegy4XXu7jzrhblNb6gTQGIR7qrs7bSqpolTdLqUUWrT17I7 xTF5rycJKhbjEMc+2J88LqDLotHwDukIlR2DM3UWHanNdtJBcplFzEEzneHvJnC7pHJS UJBSZ4GRYTB8wPN6cI+VwM51hdj2q/g88cvHkdjWt+KliEr5hIXliEHXNmFT1Fr2Fnbe nERQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=XApls+yFiRcSRoODByZDSavN1B0ZmkhrbekUFj5X4MQ=; b=ezAjnAfAZ544Bwo2k+oFUD/fRzB1ikPC6J70DwwSd4o7ujd7rcv1CeyNY1H/slUGmh PdgiasjtZGC3+5WvJ7T9XEOccK64iO0P0GCFlqYsa1Krd5tr7+108PdnqrA4TnP2K2jr thitn05F+oJOltjD/7K/0ZL/08pabrGVecBfHkM21ejLvqEeI5ooaKtdttEy5mP9Dwqr RHQoNHi+NdFzUDzaABSduDYsBy2snGkHIsci6t1AHxaHmtXsnq+MHGwOE+5UJxE4upej bKrZqBfkT7sqpnlVfOUKK57koL44ogp0xNiluWx+vqMSgFHVjcUEakxblJ1bRgc7cuXt JfUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=UmK2W6Xw; 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 1-v6si12238644plo.20.2018.06.30.13.32.45; Sat, 30 Jun 2018 13:33:01 -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; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=UmK2W6Xw; 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 S1751702AbeF3UaR (ORCPT + 99 others); Sat, 30 Jun 2018 16:30:17 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:46125 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751466AbeF3UaN (ORCPT ); Sat, 30 Jun 2018 16:30:13 -0400 Received: by mail-lj1-f194.google.com with SMTP id u6-v6so9792815lju.13 for ; Sat, 30 Jun 2018 13:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XApls+yFiRcSRoODByZDSavN1B0ZmkhrbekUFj5X4MQ=; b=UmK2W6XwsUfLDJgrv7qfYgflxPaPHKCdNFjI4kU347v1iOJGVyX0GO4B2S5Cqix4RS iIjcjb3Nx8vVt37K35OuIMCcSpTzRCfKv8E9aOHM5MMZ2MGEoiaEsKtWFAl9DF76VL4c uinFCMkbKwM2U+1x+rD1CQuRGtJ67EJjYhG1mhw+70t40mGi5ZE+OJoF67c7w2oPgqNf QUmFv3YuchtR2W6L768sr7Olt0NHNg/0anTssi1A6So7ircLsYG2jlh7LDfIjgn3IRzd HsbBZPUnGAhTKXGVRV+0bHhUDnDNtqWy5AjAF8bSE7UYobBnvhkr7Qlrhb7CDAitRtIj DvgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XApls+yFiRcSRoODByZDSavN1B0ZmkhrbekUFj5X4MQ=; b=TB4UNDpweVl5yV8x7SU7EyaqikoAka7Z+yTVbPZmikZORVzn5LE8ybWGezJe5fDYTl ho2FMFPOVvw1zcT9CIolHMlNLMNp+DEPDX2cKXmlwjUA/80vYVRKrWptA2EZ6yFoMOyZ utdbIkduHtcYYskum+8Xnmf4nCYzc/S+Tt5IGzqo4Kpg+VL+lzuBMGoWbzr3Q2UmZEjZ CgCvA2TQ8gj05u1lZ+iZLNCOVoCbYt2b5Ri5cFQILrFzZx/FZvTm3mg5W632sleeFInM Z8B6nF/mtmbEiP+oHLAL241wmntVKcb/yWxO/hDx4/oqddLiEwP58OBVuqVXKCdZWKK9 tUUg== X-Gm-Message-State: APt69E3HR7otFiCz9ttVVnaU66CIAQBHTDjl6OglO8R+k/Sz2nt0DT7t 4pJcp1UQeyw+/63ayPOO3S86S22+OFF9+5fDyzUy/w== X-Received: by 2002:a2e:4055:: with SMTP id n82-v6mr2138498lja.99.1530390612400; Sat, 30 Jun 2018 13:30:12 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:fc1c:0:0:0:0:0 with HTTP; Sat, 30 Jun 2018 13:30:11 -0700 (PDT) X-Originating-IP: [99.152.116.91] In-Reply-To: <20180630111210.ec9de2c2923a0c58b1357965@linux-foundation.org> References: <201806301538.bewm1wka%fengguang.wu@intel.com> <20180630110720.c80f060abe6d163eef78e9a6@linux-foundation.org> <20180630111210.ec9de2c2923a0c58b1357965@linux-foundation.org> From: Olof Johansson Date: Sat, 30 Jun 2018 13:30:11 -0700 Message-ID: Subject: Re: /tmp/cctnQ1CM.s:35: Error: .err encountered To: Andrew Morton Cc: Dmitry Vyukov , kbuild test robot , kbuild-all@01.org, LKML , Linux Memory Management List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 30, 2018 at 11:12 AM, Andrew Morton wrote: > On Sat, 30 Jun 2018 11:07:20 -0700 Andrew Morton wrote: > >> On Sat, 30 Jun 2018 12:27:09 +0200 Dmitry Vyukov wrote: >> >> > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> > > head: 1904148a361a07fb2d7cba1261d1d2c2f33c8d2e >> > > commit: 758517202bd2e427664857c9f2aa59da36848aca arm: port KCOV to arm >> > > date: 2 weeks ago >> > > config: arm-allmodconfig (attached as .config) >> > > compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 >> > > reproduce: >> > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross >> > > chmod +x ~/bin/make.cross >> > > git checkout 758517202bd2e427664857c9f2aa59da36848aca >> > > # save the attached .config to linux build tree >> > > GCC_VERSION=7.2.0 make.cross ARCH=arm >> > > >> > > All errors (new ones prefixed by >>): >> > > >> > > /tmp/cctnQ1CM.s: Assembler messages: >> > >>> /tmp/cctnQ1CM.s:35: Error: .err encountered >> > > /tmp/cctnQ1CM.s:36: Error: .err encountered >> > > /tmp/cctnQ1CM.s:37: Error: .err encountered >> > >> > Hi kbuild test robot, >> > >> > The fix was mailed more than a month ago, but still not merged into >> > the tree. That's linux... >> >> That was a rather unhelpful email. >> >> I've just scanned all your lkml emails since the start of May and >> cannot find anything which looks like a fix for this issue. >> >> Please resend. About three weks ago :( > > OK, with a bi of amazing sleuthing I found this from Arnd, which is what > I presume you're referring to? > > > > From: Arnd Bergmann > Subject: ARM: disable KCOV for trusted foundations code > > The ARM trusted foundations code is currently broken in linux-next when > CONFIG_KCOV_INSTRUMENT_ALL is set: > > /tmp/ccHdQsCI.s: Assembler messages: > /tmp/ccHdQsCI.s:37: Error: .err encountered > /tmp/ccHdQsCI.s:38: Error: .err encountered > /tmp/ccHdQsCI.s:39: Error: .err encountered > scripts/Makefile.build:311: recipe for target 'arch/arm/firmware/trusted_foundations.o' failed > > I could not find a function attribute that lets me disable > -fsanitize-coverage=trace-pc for just one function, so this turns it off > for the entire file instead. > > Link: http://lkml.kernel.org/r/20180529103636.1535457-1-arnd@arndb.de > Fixes: 758517202bd2e4 ("arm: port KCOV to arm") > Signed-off-by: Arnd Bergmann > Cc: Dmitry Vyukov > Cc: Mark Rutland > Signed-off-by: Andrew Morton Solves it on my builder at least. Would be good to get this in. Acked-by: Olof Johansson -Olof