lkml.org 
[lkml]   [2016]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -mm] ubsan, x86: disable alignemnt checks for arch/x86/*
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: m68k-allyesconfig (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=m68k

All warnings (new ones prefixed by >>):

>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-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'
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-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'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-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'
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-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'
drivers/tty/serial/ifx6x60.c: In function 'ifx_spi_complete':
drivers/tty/serial/ifx6x60.c:715:8: warning: 'more' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (more)
^
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-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'
drivers/media/dvb-frontends/drx39xyj/drxj.c: In function 'drx39xxj_read_status':
drivers/media/dvb-frontends/drx39xyj/drxj.c:10737:33: warning: 'mer' may be used uninitialized in this function [-Wmaybe-uninitialized]
p->cnr.stat[0].svalue = mer * 100;
^
drivers/media/dvb-frontends/drx39xyj/drxj.c:10670:6: note: 'mer' was declared here
u16 mer, strength = 0;
^
drivers/media/dvb-frontends/drx39xyj/drxj.c:10728:38: warning: 'ber' may be used uninitialized in this function [-Wmaybe-uninitialized]
p->post_bit_error.stat[0].uvalue += ber;
^
drivers/media/dvb-frontends/drx39xyj/drxj.c:10669:6: note: 'ber' was declared here
u32 ber, cnt, err, pkt;
^
drivers/media/dvb-frontends/drx39xyj/drxj.c:10705:35: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized]
p->block_error.stat[0].uvalue += err;
^
drivers/media/dvb-frontends/drx39xyj/drxj.c:10669:16: note: 'err' was declared here
u32 ber, cnt, err, pkt;
^
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-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'
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-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'
drivers/video/backlight/adp8860_bl.c: In function 'adp8860_bl_ambient_light_level_show':
drivers/video/backlight/adp8860_bl.c:579:10: warning: 'ret_val' may be used uninitialized in this function [-Wmaybe-uninitialized]
ret_val += (reg_val & 0x1F) << 8;
^
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-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'
drivers/w1/slaves/w1_therm.c: In function 'w1_slave_show':
drivers/w1/slaves/w1_therm.c:313:7: warning: 'crc' may be used uninitialized in this function [-Wmaybe-uninitialized]
c -= snprintf(buf + PAGE_SIZE - c, c, ": crc=%02x %s\n",
^
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-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 include/linux/printk.h:287:0,
from include/linux/kernel.h:13,
from include/linux/list.h:8,
from include/linux/module.h:9,
from drivers/net/ethernet/amd/xgbe/xgbe-mdio.c:117:
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c: In function 'xgbe_serdes_complete_ratechange':
include/linux/dynamic_debug.h:94:3: warning: 'status' may be used uninitialized in this function [-Wmaybe-uninitialized]
__dynamic_netdev_dbg(&descriptor, dev, fmt, \
^
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c:172:6: note: 'status' was declared here
u16 status;
^
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-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'
drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c: In function 'xgene_sgmac_init':
drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c:256:34: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (!(data & AUTO_NEG_COMPLETE) || !(data & LINK_STATUS))
^
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-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'
drivers/net/wireless/ath/ath6kl/init.c: In function '__ath6kl_init_hw_start':
drivers/net/wireless/ath/ath6kl/init.c:1249:3: warning: 'board_ext_address' may be used uninitialized in this function [-Wmaybe-uninitialized]
ath6kl_dbg(ATH6KL_DBG_BOOT,
^
drivers/net/wireless/ath/ath6kl/init.c:1193:21: note: 'board_ext_address' was declared here
u32 board_address, board_ext_address, param;
^
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-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'
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-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'
drivers/net/ethernet/hisilicon/hns/hns_enet.c: In function 'hns_nic_rx_poll_one':
drivers/net/ethernet/hisilicon/hns/hns_enet.c:756:12: warning: 'bnum' may be used uninitialized in this function [-Wmaybe-uninitialized]
recv_bds += bnum;
^
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-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/core/dev.c: In function 'validate_xmit_skb_list':
net/core/dev.c:2984:15: warning: 'tail' may be used uninitialized in this function [-Wmaybe-uninitialized]
tail->next = skb;
^
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-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'
..

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2016-02-01 21:41    [W:0.680 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site