mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: kernel test robot <lkp@intel.com>, Dinh Nguyen <dinguyen@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	linux-media@vger.kernel.org,
	Michael Tretter <m.tretter@pengutronix.de>,
	Sakari Ailus <sakari.ailus@linux.intel.com>
Subject: Re: ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined!
Date: Wed, 23 Nov 2022 18:56:13 -0800	[thread overview]
Message-ID: <0a3648cd-4ff8-e72a-f7d1-72d34a7ff754@infradead.org> (raw)
In-Reply-To: <202209201648.P4wwSNCv-lkp@intel.com>

[adding NIOS2 maintainer]

On 9/20/22 01:33, kernel test robot wrote:
> Hi Randy,
> 
> First bad commit (maybe != root cause):

Yes, not related.

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   521a547ced6477c54b4b0cc206000406c221b4d6
> commit: 81e005842d0b8167c059553a1c29c36d8a7a9329 media: isl7998x: select V4L2_FWNODE to fix build error
> date:   3 months ago
> config: nios2-buildonly-randconfig-r001-20220919
> compiler: nios2-linux-gcc (GCC) 12.1.0
> 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
>         # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=81e005842d0b8167c059553a1c29c36d8a7a9329
>         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout 81e005842d0b8167c059553a1c29c36d8a7a9329
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=nios2 SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>, old ones prefixed by <<):
> 
>>> ERROR: modpost: "__divsi3_table" [lib/lz4/lz4_compress.ko] undefined!

Due to -O3 optimization in lib/lz4/Makefile:

# SPDX-License-Identifier: GPL-2.0-only
ccflags-y += -O3

obj-$(CONFIG_LZ4_COMPRESS) += lz4_compress.o
obj-$(CONFIG_LZ4HC_COMPRESS) += lz4hc_compress.o
obj-$(CONFIG_LZ4_DECOMPRESS) += lz4_decompress.o

It builds fine without -O3.
-- 
~Randy

  reply	other threads:[~2022-11-24  2:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-20  8:33 kernel test robot
2022-11-24  2:56 ` Randy Dunlap [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-13  4:37 kernel test robot
2023-04-18  4:47 kernel test robot
2023-03-11 14:03 kernel test robot
2023-02-17 14:16 kernel test robot
2022-09-30 22:31 kernel test robot
2022-08-15  2:13 kernel test robot
2022-08-15  8:13 ` Arnd Bergmann
2022-03-13  4:23 kernel test robot
2022-01-13  6:22 kernel test robot
2022-01-12 18:11 kernel test robot
2021-12-06 10:30 kernel test robot
2021-12-06 11:01 ` Arnd Bergmann
2021-12-24 12:09   ` Max Filippov
2021-08-04 20:52 kernel test robot

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=0a3648cd-4ff8-e72a-f7d1-72d34a7ff754@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=dinguyen@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=m.tretter@pengutronix.de \
    --cc=mchehab@kernel.org \
    --cc=sakari.ailus@linux.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

all inboxes | Powered by JetHome®