[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202208210645.72NkUj0g-lkp@intel.com>
Date: Sun, 21 Aug 2022 06:50:26 +0800
From: kernel test robot <lkp@...el.com>
To: Nick Desaulniers <ndesaulniers@...gle.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Sasha Levin <sashal@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: [linux-stable-rc:queue/4.14 13/175] Makefile:877: *** Recursive
variable 'LDFLAGS' references itself (eventually). Stop.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git queue/4.14
head: ed8a2f4d20af62ebd64e4092d988d4ae6b54657c
commit: 17c47886b521ae64a733f41364def799797e45ef [13/175] Makefile: link with -z noexecstack --no-warn-rwx-segments
config: arc-randconfig-r043-20220821 (https://download.01.org/0day-ci/archive/20220821/202208210645.72NkUj0g-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 7.5.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/stable/linux-stable-rc.git/commit/?id=17c47886b521ae64a733f41364def799797e45ef
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc queue/4.14
git checkout 17c47886b521ae64a733f41364def799797e45ef
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> Makefile:877: *** Recursive variable 'LDFLAGS' references itself (eventually). Stop.
vim +/LDFLAGS +877 Makefile
875
876 LDFLAGS += -z noexecstack
> 877 LDFLAGS += $(call ld-option,--no-warn-rwx-segments)
878
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists