Buildresult: linus/sun3_defconfig/m68k-gcc8 built on Jan 10 2023, 16:06
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Jan 10 2023, 16:06
Duration:
0:02:31.128180
Builder:
alpine2
Revision:
gcc: disable -Warray-bounds for gcc-11 too (
5a41237ad1d4b62008f93163af1d9b1da90729d8)
Target:
linus/sun3_defconfig/m68k-gcc8
Branch:
linus
Compiler:
m68k-gcc8
(m68k-linux-gcc (GCC) 8.5.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
sun3_defconfig
(
download
)
Log:
Download original
Possible warnings (1)
drivers/net/ethernet/i825xx/sun3_82586.c:989:108: warning: array subscript 1 is above array bounds of 'volatile struct transmit_cmd_struct *[1]' [-Warray-bounds]
Full Log
# git rev-parse -q --verify 5a41237ad1d4b62008f93163af1d9b1da90729d8^{commit} 5a41237ad1d4b62008f93163af1d9b1da90729d8 already have revision, skipping fetch # git checkout -q -f -B kisskb 5a41237ad1d4b62008f93163af1d9b1da90729d8 # git clean -qxdf # < git log -1 # commit 5a41237ad1d4b62008f93163af1d9b1da90729d8 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Mon Jan 9 17:04:49 2023 -0600 # # gcc: disable -Warray-bounds for gcc-11 too # # We had already disabled this warning for gcc-12 due to bugs in the value # range analysis, but it turns out we end up having some similar problems # with gcc-11.3 too, so let's disable it there too. # # Older gcc versions end up being increasingly less relevant, and # hopefully clang and newer version of gcc (ie gcc-13) end up working # reliably enough that we still get the build coverage even when we # disable this for some versions. # # Link: https://lore.kernel.org/all/20221227002941.GA2691687@roeck-us.net/ # Link: https://lore.kernel.org/all/D8BDBF66-E44C-45D4-9758-BAAA4F0C1998@kernel.org/ # Cc: Kees Cook <kees@kernel.org> # Cc: Vlastimil Babka <vbabka@suse.cz> # Cc: Guenter Roeck <linux@roeck-us.net> # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 5a41237ad1d4b62008f93163af1d9b1da90729d8 # < make -s -j 160 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- sun3_defconfig # < make -s -j 160 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 160 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 160 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- In file included from /kisskb/src/include/linux/swab.h:5, from /kisskb/src/include/uapi/linux/byteorder/big_endian.h:14, from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/m68k/include/uapi/asm/byteorder.h:5, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/m68k/include/asm/bitops.h:545, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:31: /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c: In function 'sun3_82586_timeout': /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:989:108: warning: array subscript 1 is above array bounds of 'volatile struct transmit_cmd_struct *[1]' [-Warray-bounds] printk("%s: command-stats: %04x %04x\n",dev->name,swab16(p->xmit_cmds[0]->cmd_status),swab16(p->xmit_cmds[1]->cmd_status)); ~~~~~~~~~~~~^~~ /kisskb/src/include/uapi/linux/swab.h:107:12: note: in definition of macro '__swab16' __fswab16(x)) ^ /kisskb/src/include/linux/printk.h:457:26: note: in expansion of macro 'printk_index_wrap' #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:989:3: note: in expansion of macro 'printk' printk("%s: command-stats: %04x %04x\n",dev->name,swab16(p->xmit_cmds[0]->cmd_status),swab16(p->xmit_cmds[1]->cmd_status)); ^~~~~~ Completed OK # rm -rf /kisskb/build/linus_sun3_defconfig_m68k-gcc8 # Build took: 0:02:31.128180
© Michael Ellerman 2006-2018.