linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Philip Li <philip.li@intel.com>
To: Ira Weiny <ira.weiny@intel.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>,
	kernel test robot <lkp@intel.com>,
	"Fabio M. De Francesco" <fmdefrancesco@gmail.com>,
	<llvm@lists.linux.dev>, <kbuild-all@lists.01.org>,
	"Linux Memory Management List" <linux-mm@kvack.org>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [linux-next:master 5475/12409] s390x-linux-ld: kernel/kexec_core.c:822: undefined reference to `__tsan_memcpy'
Date: Wed, 5 Oct 2022 19:44:54 +0800	[thread overview]
Message-ID: <Yz1uNgG7iOOVzks0@rli9-MOBL1.ccr.corp.intel.com> (raw)
In-Reply-To: <YzzDXNTG4pMcke0i@iweiny-mobl>

On Tue, Oct 04, 2022 at 04:35:56PM -0700, Ira Weiny wrote:
> On Tue, Oct 04, 2022 at 04:24:54PM -0700, Nick Desaulniers wrote:
> > Sorry for the noise, please see:
> > https://lore.kernel.org/all/Yx3HnuEDyFG0+G62@dev-arch.thelio-3990X/

Sorry for late reply, as we are in vacation that the response to email is slow.

The early logic only disables __tsan_memset, we should correct the logic to for
all mem* function as mentioned in the link. We will fix this asap.

> 
> NP and thanks for letting us know!

Sorry for the false positive.

> Ira
> 
> > EOM
> > 
> > On Tue, Oct 4, 2022 at 4:18 PM Ira Weiny <ira.weiny@intel.com> wrote:
> > >
> > > On Wed, Oct 05, 2022 at 05:05:12AM +0800, kernel test robot wrote:
> > > > Hi Fabio,
> > > >
> > > > FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
> > >
> > > I don't think this is relevant.
> > >
> > > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > > > head:   4d80748d16c82a9c2c4ea5feea96e476de3cd876
> > > > commit: 948084f0f6959f602f89f679522b706a72da0285 [5475/12409] kexec: replace kmap() with kmap_local_page()
> > > > config: s390-randconfig-r035-20221003
> > > > compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
> > > > reproduce (this is a W=1 build):
> > > >         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> > > >         chmod +x ~/bin/make.cross
> > > >         # install s390 cross compiling tool for clang build
> > > >         # apt-get install binutils-s390x-linux-gnu
> > > >         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=948084f0f6959f602f89f679522b706a72da0285
> > > >         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> > > >         git fetch --no-tags linux-next master
> > > >         git checkout 948084f0f6959f602f89f679522b706a72da0285
> > > >         # save the config file
> > > >         mkdir build_dir && cp config build_dir/.config
> > > >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash
> > > >
> > > > If you fix the issue, kindly add following tag where applicable
> > > > | Reported-by: kernel test robot <lkp@intel.com>
> > > >
> > > > Note: the linux-next/master HEAD 4d80748d16c82a9c2c4ea5feea96e476de3cd876 builds fine.
> > > >       It may have been fixed somewhere.
> > > >
> > > > All errors (new ones prefixed by >>):
> > > >
> > >
> > > [snip]
> > >
> > > >    s390x-linux-ld: kernel/kexec_core.o: in function `kimage_load_normal_segment':
> > > >    kernel/kexec_core.c:814: undefined reference to `__tsan_memset'
> > > > >> s390x-linux-ld: kernel/kexec_core.c:822: undefined reference to `__tsan_memcpy'
> > > >    s390x-linux-ld: kernel/kexec_core.o: in function `_copy_from_user':
> > >
> > > I don't see __tsan_memcpy anywhere in the current linux-next tree?
> > >
> > > Ira
> > >
> > 
> > 
> > -- 
> > Thanks,
> > ~Nick Desaulniers
> 


      reply	other threads:[~2022-10-05 11:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-04 21:05 kernel test robot
     [not found] ` <Yzy/VbCd0e+K3ptN@iweiny-mobl>
2022-10-04 23:24   ` Nick Desaulniers
2022-10-04 23:35     ` Ira Weiny
2022-10-05 11:44       ` Philip Li [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=Yz1uNgG7iOOVzks0@rli9-MOBL1.ccr.corp.intel.com \
    --to=philip.li@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=fmdefrancesco@gmail.com \
    --cc=ira.weiny@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=ndesaulniers@google.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