[linux-next:master 1776/2089] clang-11: warning: argument unused during compilation: '-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang'

4 views
Skip to first unread message

kernel test robot

unread,
Jun 17, 2020, 8:05:33 AM6/17/20
to glider, kbuil...@lists.01.org, clang-bu...@googlegroups.com, Kees Cook, Maciej Żenczykowski
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 5fcb9628fd1227a5f11d87171cb1b8b5c414d9d9
commit: f0fe00d4972a8cd4b98cc2c29758615e4d51cdfe [1776/2089] security: allow using Clang's zero initialization for stack variables
config: riscv-randconfig-r036-20200617 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 487ca07fcc75d52755c9fe2ee05bcb3b6eeeec44)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
git checkout f0fe00d4972a8cd4b98cc2c29758615e4d51cdfe
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <l...@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> clang-11: warning: argument unused during compilation: '-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang' [-Wunused-command-line-argument]
clang-11: warning: argument unused during compilation: '-pg' [-Wunused-command-line-argument]
--
>> clang-11: warning: argument unused during compilation: '-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang' [-Wunused-command-line-argument]
clang-11: warning: argument unused during compilation: '-pg' [-Wunused-command-line-argument]
clang-11: warning: argument unused during compilation: '-no-pie' [-Wunused-command-line-argument]

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuil...@lists.01.org
.config.gz
Reply all
Reply to author
Forward
0 new messages