[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202305301639.C19C2BE38@keescook>
Date: Tue, 30 May 2023 16:40:21 -0700
From: Kees Cook <keescook@...omium.org>
To: kernel test robot <lkp@...el.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: undefined reference to `ftrace_likely_update'
On Mon, May 22, 2023 at 01:01:30PM +0800, kernel test robot wrote:
> Hi Kees,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 44c026a73be8038f03dbdeef028b642880cf1511
> commit: 54d9469bc515dc5fcbc20eecbe19cea868b70d68 fortify: Add run-time WARN for cross-field memcpy()
The warning below does not seem to be due to this commit.
> date: 9 months ago
> config: s390-randconfig-r025-20230521
> compiler: s390-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=54d9469bc515dc5fcbc20eecbe19cea868b70d68
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout 54d9469bc515dc5fcbc20eecbe19cea868b70d68
> # 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=s390 olddefconfig
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 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@...el.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202305221244.L4XDdQ1Q-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> s390-linux-ld: arch/s390/purgatory/purgatory: in function `sha256_update':
> >> (.text+0x248c): undefined reference to `ftrace_likely_update'
> >> s390-linux-ld: (.text+0x2984): undefined reference to `ftrace_likely_update'
-Kees
--
Kees Cook
Powered by blists - more mailing lists