From: Kees Cook <keescook@chromium.org>
To: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
Andrew Morton <akpm@linux-foundation.org>,
Marco Elver <elver@google.com>
Subject: Re: [linux-next:master 4186/4898] debug.c:undefined reference to `__ubsan_handle_divrem_overflow'
Date: Fri, 9 Feb 2024 22:41:44 -0800 [thread overview]
Message-ID: <202402092240.A6DFC1875B@keescook> (raw)
In-Reply-To: <202402080538.FNTaeLJO-lkp@intel.com>
On Thu, Feb 08, 2024 at 06:00:13AM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: 2ae0a045e6814c8c1d676d6153c605a65746aa29
> commit: 5084a4cd510f887a4fcc9f3386de1fbea698c7c4 [4186/4898] ubsan: reintroduce signed overflow sanitizer
> config: s390-randconfig-r063-20240207 (https://download.01.org/0day-ci/archive/20240208/202402080538.FNTaeLJO-lkp@intel.com/config)
> compiler: s390-linux-gcc (GCC) 13.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240208/202402080538.FNTaeLJO-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202402080538.FNTaeLJO-lkp@intel.com/
>
> Note: the linux-next/master HEAD 2ae0a045e6814c8c1d676d6153c605a65746aa29 builds fine.
> It may have been fixed somewhere.
>
> All errors (new ones prefixed by >>):
>
> s390-linux-ld: arch/s390/kernel/debug.o: in function `debug_output':
> >> debug.c:(.text+0x17ea): undefined reference to `__ubsan_handle_divrem_overflow'
I'm not able to reproduce these warnings. I'm using the config above and
s390x-linux-gnu-gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0
I would expect adding this to arch/s390/kernel/Makefile would fix it:
UBSAN_SANITIZE_debug.o := n
But I can't meaningfully verify the fix...
--
Kees Cook
prev parent reply other threads:[~2024-02-10 6:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-07 22:00 kernel test robot
2024-02-10 6:41 ` Kees Cook [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=202402092240.A6DFC1875B@keescook \
--to=keescook@chromium.org \
--cc=akpm@linux-foundation.org \
--cc=elver@google.com \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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