Re: [PATCH -mm] ubsan, x86: disable alignemnt checks for arch/x86/*
From: kbuild test robot
Date: Mon Feb 01 2016 - 14:10:12 EST
Hi Andrey,
[auto build test WARNING on next-20160201]
[cannot apply to kbuild/for-next kbuild/rc-fixes v4.5-rc2 v4.5-rc1 v4.4-rc8 v4.5-rc2]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Andrey-Ryabinin/ubsan-x86-disable-alignemnt-checks-for-arch-x86/20160202-010948
config: arm-allmodconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm
All warnings (new ones prefixed by >>):
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
--
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
--
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
net/mac80211/tx.c: In function 'ieee80211_build_hdr':
net/mac80211/tx.c:2070:27: warning: 'chanctx_conf' may be used uninitialized in this function [-Wmaybe-uninitialized]
band = chanctx_conf->def.chan->band;
^
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
--
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
In file included from net/mac80211/ieee80211_i.h:35:0,
from net/mac80211/mlme.c:29:
net/mac80211/mlme.c: In function 'ieee80211_rx_mgmt_beacon':
net/mac80211/debug.h:93:2: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wmaybe-uninitialized]
__sdata_dbg(print, "%s: " fmt, (sdata)->name, ##__VA_ARGS__)
^
net/mac80211/mlme.c:1321:6: note: 'pwr_level_cisco' was declared here
int pwr_level_cisco, pwr_level_80211h;
^
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
--
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
--
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> arm-unknown-linux-gnueabi-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data