mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Alexander Potapenko <glider@google.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: lib/stackdepot.c:331: undefined reference to `__irqentry_text_start'
Date: Fri, 8 May 2020 00:10:05 +0800	[thread overview]
Message-ID: <202005080001.0ikYzvnV%lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   a811c1fa0a02c062555b54651065899437bacdbe
commit: 505a0ef15f96c6c43ec719c9fc1833d98957bb39 kasan: stackdepot: move filter_irq_stacks() to stackdepot.c
date:   4 weeks ago
config: arc-randconfig-r034-20200507 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.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 505a0ef15f96c6c43ec719c9fc1833d98957bb39
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arc-elf-ld: lib/stackdepot.o: in function `filter_irq_stacks':
>> lib/stackdepot.c:331: undefined reference to `__irqentry_text_start'
>> arc-elf-ld: lib/stackdepot.c:331: undefined reference to `__irqentry_text_start'
   arc-elf-ld: lib/stackdepot.o: in function `in_irqentry_text':
>> lib/stackdepot.c:323: undefined reference to `__irqentry_text_end'
>> arc-elf-ld: lib/stackdepot.c:323: undefined reference to `__irqentry_text_end'
>> arc-elf-ld: lib/stackdepot.c:324: undefined reference to `__softirqentry_text_start'
>> arc-elf-ld: lib/stackdepot.c:324: undefined reference to `__softirqentry_text_start'
>> arc-elf-ld: lib/stackdepot.c:325: undefined reference to `__softirqentry_text_end'
>> arc-elf-ld: lib/stackdepot.c:325: undefined reference to `__softirqentry_text_end'

vim +331 lib/stackdepot.c

   320	
   321	static inline int in_irqentry_text(unsigned long ptr)
   322	{
 > 323		return (ptr >= (unsigned long)&__irqentry_text_start &&
 > 324			ptr < (unsigned long)&__irqentry_text_end) ||
 > 325			(ptr >= (unsigned long)&__softirqentry_text_start &&
   326			 ptr < (unsigned long)&__softirqentry_text_end);
   327	}
   328	
   329	unsigned int filter_irq_stacks(unsigned long *entries,
   330						     unsigned int nr_entries)
 > 331	{

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

                 reply	other threads:[~2020-05-07 16:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202005080001.0ikYzvnV%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=glider@google.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®