From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8453741203077412483==" MIME-Version: 1.0 From: Philip Li To: kbuild-all@lists.01.org Subject: Re: [linux-stable-rc:linux-5.4.y 2066/5257] ubsan.c:undefined reference to `__ashlti3' Date: Thu, 21 May 2020 09:22:15 +0800 Message-ID: <20200521012215.GB12021@intel.com> In-Reply-To: List-Id: --===============8453741203077412483== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Wed, May 20, 2020 at 08:34:23PM +0800, Kefeng Wang wrote: > = > On 2020/5/20 14:54, kbuild test robot wrote: > > Hi Kefeng, > > = > > It's probably a bug fix that unveils the link errors. > > = > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-st= able-rc.git linux-5.4.y > > head: cac6eb2794c85e7777fb0caac6fa75b6364d81a0 > > commit: 1865d6440fb63ad979d7034b2d7c94937bfd2200 [2066/5257] PCI: mobiv= eil: Fix csr_read()/write() build issue > > config: riscv-allyesconfig (attached as .config) > > compiler: riscv64-linux-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 1865d6440fb63ad979d7034b2d7c94937bfd2200 > > # save the attached .config to linux build tree > > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.c= ross ARCH=3Driscv > > = > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kbuild test robot > > = > > All errors (new ones prefixed by >>, old ones prefixed by <<): > > = > > riscv64-linux-ld: lib/ubsan.o: in function `.L2': > > > > ubsan.c:(.text.unlikely+0x38): undefined reference to `__ashlti3' > > > > riscv64-linux-ld: ubsan.c:(.text.unlikely+0x42): undefined referenc= e to `__ashrti3' > = > My patch is irrelevant=EF=BC=8Cit seems that the following patch fix buil= d error. thanks for the input, we will check this false positive. Sorry for the noise. > = > commit fc585d4a5cf614727f64d86550b794bcad29d5c3 > Author: Olof Johansson > Date:=C2=A0=C2=A0 Mon Dec 16 20:06:31 2019 -0800 > = > =C2=A0=C2=A0=C2=A0 riscv: Less inefficient gcc tishift helpers (and expor= t their symbols) > = > = > > --- > > 0-DAY CI Kernel Test Service, Intel Corporation > > https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org > _______________________________________________ > kbuild-all mailing list -- kbuild-all(a)lists.01.org > To unsubscribe send an email to kbuild-all-leave(a)lists.01.org --===============8453741203077412483==--