Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1258852

Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop

From Will Deacon <will.deacon@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop
Date 2015-10-29 16:10 +0100
Message-ID <qoWZX-1Pg-7@gated-at.bofh.it> (permalink)
References <qotXZ-8vm-43@gated-at.bofh.it> <qoVAS-KM-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Oct 29, 2015 at 09:35:42PM +0800, kbuild test robot wrote:
> [auto build test ERROR on arm64/for-next/core -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
> 
> url:    https://github.com/0day-ci/linux/commits/Li-Bin/recordmcount-arm64-replace-the-ignored-mcount-call-into-nop/20151028-160846
> config: arm64-allmodconfig (attached as .config)
> reproduce:
>         wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # save the attached .config to linux build tree
>         make.cross ARCH=arm64 
> 
> All errors (new ones prefixed by >>):
> 
> >> /bin/bash: line 1: 117734 Segmentation fault      ./scripts/recordmcount "arch/arm64/kernel/traps.o"
> --
> >> /bin/bash: line 1: 113824 Segmentation fault      ./scripts/recordmcount "arch/arm64/mm/fault.o"

I can reproduce this locally with an allmodconfig build. The offset
parameter to make_nop_arm64 is nuts:

  Program received signal SIGSEGV, Segmentation fault.
  make_nop_arm64 (map=0x7ffff7fef000, offset=2600547309829750784) at scripts/recordmcount.c:170
  170		if (*ptr != 0x94000000)

Both shdr->sh_offset (0x17000000000000) and relp->r_offset (0x2400000000000000)
look dodgy in the caller.

Li, can you take a look please?

Will
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] recordmcount: arm64: replace the ignored mcount call into nop Li Bin <huawei.libin@huawei.com> - 2015-10-28 09:10 +0100
  Re: [PATCH] recordmcount: arm64: replace the ignored mcount call  into nop Steven Rostedt <rostedt@goodmis.org> - 2015-10-28 09:20 +0100
    Re: [PATCH] recordmcount: arm64: replace the ignored mcount call  into nop Will Deacon <will.deacon@arm.com> - 2015-10-28 13:00 +0100
      Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into  nop AKASHI Takahiro <takahiro.akashi@linaro.org> - 2015-10-29 06:50 +0100
  Re: [PATCH] recordmcount: arm64: replace the ignored mcount call  into nop Will Deacon <will.deacon@arm.com> - 2015-10-29 16:10 +0100
    Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into  nop libin <huawei.libin@huawei.com> - 2015-10-30 07:10 +0100

csiph-web