From: Alexander Potapenko <glider@google.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: kbuild test robot <lkp@intel.com>,
kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [linux-next:master 6276/7050] lib/stackdepot.c:326: undefined reference to `__irqentry_text_start'
Date: Sat, 7 Mar 2020 14:41:04 +0100 [thread overview]
Message-ID: <CAG_fn=WMbcW8AC9-jawTw097KZKmgg3=JCbZhmnQDvUxGDz3mw@mail.gmail.com> (raw)
In-Reply-To: <20200306191641.66074ffd54fbb80b2ebd040e@linux-foundation.org>
On Sat, Mar 7, 2020 at 4:16 AM Andrew Morton <akpm@linux-foundation.org> wrote:
>
> On Sat, 7 Mar 2020 02:42:14 +0800 kbuild test robot <lkp@intel.com> wrote:
>
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > head: b86a6a241b7c60ca7a6ca4fb3c0d2aedbbf2c1b6
> > commit: 2d8fce24a0fb125e4fbbd4bb546cc0f9e6122d8d [6276/7050] kasan: stackdepot: move filter_irq_stacks() to stackdepot.c
> > config: ia64-randconfig-a001-20200306 (attached as .config)
> > compiler: ia64-linux-gcc (GCC) 7.5.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 2d8fce24a0fb125e4fbbd4bb546cc0f9e6122d8d
> > # save the attached .config to linux build tree
> > GCC_VERSION=7.5.0 make.cross ARCH=ia64
> >
> > If you fix the issue, kindly add following tag
> > Reported-by: kbuild test robot <lkp@intel.com>
> >
> > All errors (new ones prefixed by >>):
> >
> > lib/stackdepot.o: In function `in_irqentry_text':
> > >> lib/stackdepot.c:326: undefined reference to `__irqentry_text_start'
> > >> lib/stackdepot.c:325: undefined reference to `__irqentry_text_end'
> > >> lib/stackdepot.c:326: undefined reference to `__softirqentry_text_start'
> > >> lib/stackdepot.c:327: undefined reference to `__softirqentry_text_end'
> > >> lib/stackdepot.c:326: undefined reference to `__irqentry_text_start'
> > >> lib/stackdepot.c:325: undefined reference to `__irqentry_text_end'
> > >> lib/stackdepot.c:326: undefined reference to `__softirqentry_text_start'
> > >> lib/stackdepot.c:327: undefined reference to `__softirqentry_text_end'
> >
>
> Thanks. This has been known about for a couple of weeks. Alexander, did
> I miss a fix?
Thanks for letting me know.
The previous bug was on a different arch, but the solution should
probably be the same everywhere: add IRQENTRY_TEXT and
SOFTIRQENTRY_TEXT to the linker scripts.
I'll look into this.
--
Alexander Potapenko
Software Engineer
Google Germany GmbH
Erika-Mann-Straße, 33
80636 München
Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
prev parent reply other threads:[~2020-03-07 13:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-06 18:42 kbuild test robot
2020-03-07 3:16 ` Andrew Morton
2020-03-07 13:41 ` Alexander Potapenko [this message]
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='CAG_fn=WMbcW8AC9-jawTw097KZKmgg3=JCbZhmnQDvUxGDz3mw@mail.gmail.com' \
--to=glider@google.com \
--cc=akpm@linux-foundation.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
/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