linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* /tmp/cctnQ1CM.s:35: Error: .err encountered
@ 2018-06-30  7:15 kbuild test robot
  2018-06-30 10:27 ` Dmitry Vyukov
  0 siblings, 1 reply; 8+ messages in thread
From: kbuild test robot @ 2018-06-30  7:15 UTC (permalink / raw)
  To: Dmitry Vyukov
  Cc: kbuild-all, linux-kernel, Andrew Morton, Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 1074 bytes --]

Hi Dmitry,

FYI, the error/warning still remains.

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

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 66131 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: /tmp/cctnQ1CM.s:35: Error: .err encountered
  2018-06-30  7:15 /tmp/cctnQ1CM.s:35: Error: .err encountered kbuild test robot
@ 2018-06-30 10:27 ` Dmitry Vyukov
  2018-06-30 18:07   ` Andrew Morton
  0 siblings, 1 reply; 8+ messages in thread
From: Dmitry Vyukov @ 2018-06-30 10:27 UTC (permalink / raw)
  To: kbuild test robot
  Cc: kbuild-all, LKML, Andrew Morton, Linux Memory Management List

On Sat, Jun 30, 2018 at 9:15 AM, kbuild test robot <lkp@intel.com> wrote:
> Hi Dmitry,
>
> FYI, the error/warning still remains.
>
> 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...

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: /tmp/cctnQ1CM.s:35: Error: .err encountered
  2018-06-30 10:27 ` Dmitry Vyukov
@ 2018-06-30 18:07   ` Andrew Morton
  2018-06-30 18:12     ` Andrew Morton
  2018-07-02  8:11     ` Dmitry Vyukov
  0 siblings, 2 replies; 8+ messages in thread
From: Andrew Morton @ 2018-06-30 18:07 UTC (permalink / raw)
  To: Dmitry Vyukov
  Cc: kbuild test robot, kbuild-all, LKML, Linux Memory Management List

On Sat, 30 Jun 2018 12:27:09 +0200 Dmitry Vyukov <dvyukov@google.com> 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 :(

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: /tmp/cctnQ1CM.s:35: Error: .err encountered
  2018-06-30 18:07   ` Andrew Morton
@ 2018-06-30 18:12     ` Andrew Morton
  2018-06-30 20:30       ` Olof Johansson
  2018-07-02  8:11     ` Dmitry Vyukov
  1 sibling, 1 reply; 8+ messages in thread
From: Andrew Morton @ 2018-06-30 18:12 UTC (permalink / raw)
  To: Dmitry Vyukov, kbuild test robot, kbuild-all, LKML,
	Linux Memory Management List

On Sat, 30 Jun 2018 11:07:20 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:

> On Sat, 30 Jun 2018 12:27:09 +0200 Dmitry Vyukov <dvyukov@google.com> 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 <arnd@arndb.de>
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 <arnd@arndb.de>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---


diff -puN arch/arm/firmware/Makefile~arm-disable-kcov-for-trusted-foundations-code arch/arm/firmware/Makefile
--- a/arch/arm/firmware/Makefile~arm-disable-kcov-for-trusted-foundations-code
+++ a/arch/arm/firmware/Makefile
@@ -1 +1,4 @@
 obj-$(CONFIG_TRUSTED_FOUNDATIONS)	+= trusted_foundations.o
+
+# tf_generic_smc() fails to build with -fsanitize-coverage=trace-pc
+KCOV_INSTRUMENT                := n
_

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: /tmp/cctnQ1CM.s:35: Error: .err encountered
  2018-06-30 18:12     ` Andrew Morton
@ 2018-06-30 20:30       ` Olof Johansson
  2018-07-03 17:50         ` Olof Johansson
  0 siblings, 1 reply; 8+ messages in thread
From: Olof Johansson @ 2018-06-30 20:30 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Dmitry Vyukov, kbuild test robot, kbuild-all, LKML,
	Linux Memory Management List

On Sat, Jun 30, 2018 at 11:12 AM, Andrew Morton
<akpm@linux-foundation.org> wrote:
> On Sat, 30 Jun 2018 11:07:20 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:
>
>> On Sat, 30 Jun 2018 12:27:09 +0200 Dmitry Vyukov <dvyukov@google.com> 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 <arnd@arndb.de>
> 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 <arnd@arndb.de>
> Cc: Dmitry Vyukov <dvyukov@google.com>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Solves it on my builder at least. Would be good to get this in.

Acked-by: Olof Johansson <olof@lixom.net>


-Olof

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: /tmp/cctnQ1CM.s:35: Error: .err encountered
  2018-06-30 18:07   ` Andrew Morton
  2018-06-30 18:12     ` Andrew Morton
@ 2018-07-02  8:11     ` Dmitry Vyukov
  1 sibling, 0 replies; 8+ messages in thread
From: Dmitry Vyukov @ 2018-07-02  8:11 UTC (permalink / raw)
  To: Andrew Morton
  Cc: kbuild test robot, kbuild-all, LKML, Linux Memory Management List

On Sat, Jun 30, 2018 at 8:07 PM, Andrew Morton
<akpm@linux-foundation.org> wrote:
> On Sat, 30 Jun 2018 12:27:09 +0200 Dmitry Vyukov <dvyukov@google.com> 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 :(


Sorry. I am just frustrated by kernel development process.

Bugs are untracked and get lost. Patches are untracked and get lost.
State of patches is nontransparent for most people, including author
(sic!). I've just got a reply on another patch along the lines of "oh,
I've already merged some unspecified version of this patch, so please
resent all changes since that unspecified version in a separate patch"
(what?). It's unclear what is the designated tree and who is the
designated responsible merger. Merging a build fixing patch takes
months (!) whereas most other modern project processes today are
capable of merging such changes into (the single head) tree within an
hour provided only a single maintainer from a group is around, and
they simply need to click a button because all tests, style and
mergability checks have already run by that time. Resending patches
thing should not exist unless the patch needs to be updated, condition
which is detectable automatically.

Andrew, none of this is related to you personally. That's the process
we have today, and I understand you are doing your best.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: /tmp/cctnQ1CM.s:35: Error: .err encountered
  2018-06-30 20:30       ` Olof Johansson
@ 2018-07-03 17:50         ` Olof Johansson
  2018-07-03 18:30           ` Andrew Morton
  0 siblings, 1 reply; 8+ messages in thread
From: Olof Johansson @ 2018-07-03 17:50 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Dmitry Vyukov, kbuild test robot, kbuild-all, LKML,
	Linux Memory Management List

Hi Andrew,

On Sat, Jun 30, 2018 at 1:30 PM, Olof Johansson <olof@lixom.net> wrote:
> On Sat, Jun 30, 2018 at 11:12 AM, Andrew Morton
> <akpm@linux-foundation.org> wrote:
>> On Sat, 30 Jun 2018 11:07:20 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:
>>
>>> On Sat, 30 Jun 2018 12:27:09 +0200 Dmitry Vyukov <dvyukov@google.com> 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 <arnd@arndb.de>
>> 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 <arnd@arndb.de>
>> Cc: Dmitry Vyukov <dvyukov@google.com>
>> Cc: Mark Rutland <mark.rutland@arm.com>
>> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
>
> Solves it on my builder at least. Would be good to get this in.
>
> Acked-by: Olof Johansson <olof@lixom.net>

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: /tmp/cctnQ1CM.s:35: Error: .err encountered
  2018-07-03 17:50         ` Olof Johansson
@ 2018-07-03 18:30           ` Andrew Morton
  0 siblings, 0 replies; 8+ messages in thread
From: Andrew Morton @ 2018-07-03 18:30 UTC (permalink / raw)
  To: Olof Johansson
  Cc: Dmitry Vyukov, kbuild test robot, kbuild-all, LKML,
	Linux Memory Management List

On Tue, 3 Jul 2018 10:50:46 -0700 Olof Johansson <olof@lixom.net> wrote:

> > Solves it on my builder at least. Would be good to get this in.
> >
> > Acked-by: Olof Johansson <olof@lixom.net>
> 
> 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.

I queued it on June 30:

http://ozlabs.org/~akpm/mmots/broken-out/arm-disable-kcov-for-trusted-foundations-code.patch

but whatever.  If it turns up in -next I drop my copy.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-07-03 18:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-30  7:15 /tmp/cctnQ1CM.s:35: Error: .err encountered kbuild test robot
2018-06-30 10:27 ` Dmitry Vyukov
2018-06-30 18:07   ` Andrew Morton
2018-06-30 18:12     ` Andrew Morton
2018-06-30 20:30       ` Olof Johansson
2018-07-03 17:50         ` Olof Johansson
2018-07-03 18:30           ` Andrew Morton
2018-07-02  8:11     ` Dmitry Vyukov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox