Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1424464imm; Tue, 3 Jul 2018 10:52:02 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK9FQXK3gMPnC44pfi3L/BjWeHfapni14A/cMRdOzIwTjw60iN1RZNb4NG2AYosmBz+1VNg X-Received: by 2002:a17:902:820a:: with SMTP id x10-v6mr30876175pln.179.1530640322901; Tue, 03 Jul 2018 10:52:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530640322; cv=none; d=google.com; s=arc-20160816; b=x6tCeySCbUgrS1rq/r+UUxbpxevb3HtoFYCTDjuUPUclxhDCN84uY449QqXbOMgar/ er5i995lO5+t4zLIbc1Dd0Lj8cL84zPcFk7SfmTB5kTZ2t0yiSXyugy0kqZb/Hnn2/Jc Crk8E2I4QzLrokYMglIaT+RGeJ6WcK8KCVvK2omSEXHspvW9fdAIAFsfLeeq+WPNcNRg yDR2ideZqiyXLWVeMlCa43ZJ0Ln9iLLlQvnnmxDrDH+pZe2cFCvb/bD9xD6VDiz0Avvk 4rWiI9hjXg+QJO+bZZ64Kw4iAo0/SPug7yrCMZWRfnZNDjKkfpbYfwat7G2SB3qM7B+o azDQ== 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=my2aTcc0tDHMbOeZhHg5hVGAVQaNoJ8DpDyMqgq3xYk=; b=JeTs2lD3HECg1ci5pAVGNBtH+9EBr1xadkpHPBpYFy/XZzxZ/5gcEqF94pIuo/StRU dMWL86K8xt8BUyS2hekpWnJZrrYP6zvwI+VFYngoMbXFP9n0++RiwxkmSoKRXqtyAbUF N7wFW2T6wTC6oLxjuNpb5rhjNis2OhvTZqmv3L6NE3KoK4wdwIjoXDm9M+ZzhpJzuXlB 0vRRycoujz8wi55KpygMHuvz3OIx9cLfRrU3DLkzIowWO1s2HmhpTho0e32LXNZbSKkL RFCM9gUFY7UhC70G9UVNJqVN7S8NQMG4/d7Uz535klBQJCgwJKFiPu3KmcgSrbLSQYuW chKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=c5W5Ez42; 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 s65-v6si1446313pgb.486.2018.07.03.10.51.48; Tue, 03 Jul 2018 10:52:02 -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=c5W5Ez42; 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 S934417AbeGCRuv (ORCPT + 99 others); Tue, 3 Jul 2018 13:50:51 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:35702 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934222AbeGCRut (ORCPT ); Tue, 3 Jul 2018 13:50:49 -0400 Received: by mail-lj1-f196.google.com with SMTP id i125-v6so2230331lji.2 for ; Tue, 03 Jul 2018 10:50:49 -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=my2aTcc0tDHMbOeZhHg5hVGAVQaNoJ8DpDyMqgq3xYk=; b=c5W5Ez42H4msTNwlxG8qfA5QPng1d8uvhLsjWt0hhNo9KdD3XU+d5XjEys7y8dt7cY 2JtXqDVPQi4VMTy/kg8KNshyWiprbHf4H0bPcvwMT99GwIMk6ahwACTOQhXqzwjU+hxJ aV4TOm0vuF0mlbh2FI4s+k5JLsCLj+3rhT/uFPvMy7d7kyoWvLC5SrDRfT3Yx4tdG9Kp sbfjCC8MV0m/IHGLs91AikPBNk76Jd9gsScFLrWbGFwSV9NjCPUy2kdcvr3uUs225Ij+ /ZkFTHCdglgjFiZywHHtPfPbqtYcohRZEvT0BavUt8myrid4BXS14iuwQgoBx0sUUZmQ GYRg== 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=my2aTcc0tDHMbOeZhHg5hVGAVQaNoJ8DpDyMqgq3xYk=; b=IYG8zH/sva6Qj/X5a9WuNts3xcMdzbHwFglsTXYtVUDVq6DFO1uy03gmAr0YnnEC4v o39tlW+fvQ7crWEXM10yyhldquikgvA4t4rk0ifYgLjx0MoiEwxVyYWC3jMrMBYef35x LwFwAnjzo+AmIh8dFskuhjvW2CIghzDQmi3UwJHHMS+pYVFUl7XFSXC7DEAQzTrGwpNt 9DLs//8RP29tof4pK86ZSE2exPpg/4oFf9W3XGhCSb9DIUGvcnYi+wJ/YO+nYz7hPKfV S7qWVOoq9AeRKMek4yn7IJMLeZ6bUE65LzRRk9UC2BSwXMc6j7MiUYZ9Ai3qRuWEKrU5 aI6g== X-Gm-Message-State: APt69E1yxjSksqXa4Seh5BJgROFtrv/NDvhoz5Uf5A1j19KvKWgkOJEH y4oCFA8/mCaZipphCXp1d1cWl2sabElddMcA9sCJ4w== X-Received: by 2002:a2e:4055:: with SMTP id n82-v6mr9576023lja.99.1530640248257; Tue, 03 Jul 2018 10:50:48 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:fc1c:0:0:0:0:0 with HTTP; Tue, 3 Jul 2018 10:50:46 -0700 (PDT) X-Originating-IP: [2620:10d:c090:200::6:181c] In-Reply-To: References: <201806301538.bewm1wka%fengguang.wu@intel.com> <20180630110720.c80f060abe6d163eef78e9a6@linux-foundation.org> <20180630111210.ec9de2c2923a0c58b1357965@linux-foundation.org> From: Olof Johansson Date: Tue, 3 Jul 2018 10:50:46 -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 Hi Andrew, On Sat, Jun 30, 2018 at 1:30 PM, Olof Johansson wrote: > 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 Since this doesn't seem to be in your queue at the moment, I've applied it to our set of fixes for 4.18 in arm-soc, I'll send to Linus at end of week and it'll be in -next as of now through there. Thanks, -Olof