Buildresult: linus/m68k-allmodconfig/m68k-gcc11 built on Sep 16 2021, 11:17
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Sep 16 2021, 11:17
Duration:
0:03:55.582016
Builder:
ka7
Revision:
qnx4: avoid stringop-overread errors (
b7213ffa0e585feb1aee3e7173e965e66ee0abaa)
Target:
linus/m68k-allmodconfig/m68k-gcc11
Branch:
linus
Compiler:
m68k-gcc11
(m68k-linux-gcc (GCC) 11.1.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible errors
arch/m68k/mvme147/config.c:174:2: error: #warning check me! [-Werror=cpp] arch/m68k/mvme16x/config.c:439:2: error: #warning check me! [-Werror=cpp] cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:277: arch/m68k/mvme147/config.o] Error 1 make[2]: *** [scripts/Makefile.build:540: arch/m68k/mvme147] Error 2 cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:277: arch/m68k/mvme16x/config.o] Error 1 make[2]: *** [scripts/Makefile.build:540: arch/m68k/mvme16x] Error 2 make[1]: *** [Makefile:1868: arch/m68k] Error 2 arch/m68k/include/asm/raw_io.h:30:32: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] arch/m68k/include/asm/raw_io.h:20:19: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:277: drivers/misc/altera-stapl/altera-lpt.o] Error 1 make[3]: *** [scripts/Makefile.build:540: drivers/misc/altera-stapl] Error 2 make[2]: *** [scripts/Makefile.build:540: drivers/misc] Error 2 drivers/gpu/drm/rockchip/cdn-dp-core.c:1126:12: error: 'cdn_dp_resume' defined but not used [-Werror=unused-function] cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:277: drivers/gpu/drm/rockchip/cdn-dp-core.o] Error 1 make[4]: *** [scripts/Makefile.build:540: drivers/gpu/drm/rockchip] Error 2 make[3]: *** [scripts/Makefile.build:540: drivers/gpu/drm] Error 2 make[2]: *** [scripts/Makefile.build:540: drivers/gpu] Error 2 make[1]: *** [Makefile:1868: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2
Possible warnings (4)
arch/m68k/mvme147/config.c:174:2: error: #warning check me! [-Werror=cpp] 174 | #warning check me! arch/m68k/mvme16x/config.c:439:2: error: #warning check me! [-Werror=cpp] 439 | #warning check me!
Full Log
# git rev-parse -q --verify b7213ffa0e585feb1aee3e7173e965e66ee0abaa^{commit} b7213ffa0e585feb1aee3e7173e965e66ee0abaa already have revision, skipping fetch # git checkout -q -f -B kisskb b7213ffa0e585feb1aee3e7173e965e66ee0abaa # git clean -qxdf # < git log -1 # commit b7213ffa0e585feb1aee3e7173e965e66ee0abaa # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Wed Sep 15 13:56:37 2021 -0700 # # qnx4: avoid stringop-overread errors # # The qnx4 directory entries are 64-byte blocks that have different # contents depending on the a status byte that is in the last byte of the # block. # # In particular, a directory entry can be either a "link info" entry with # a 48-byte name and pointers to the real inode information, or an "inode # entry" with a smaller 16-byte name and the full inode information. # # But the code was written to always just treat the directory name as if # it was part of that "inode entry", and just extend the name to the # longer case if the status byte said it was a link entry. # # That work just fine and gives the right results, but now that gcc is # tracking data structure accesses much more, the code can trigger a # compiler error about using up to 48 bytes (the long name) in a structure # that only has that shorter name in it: # # fs/qnx4/dir.c: In function ‘qnx4_readdir’: # fs/qnx4/dir.c:51:32: error: ‘strnlen’ specified bound 48 exceeds source size 16 [-Werror=stringop-overread] # 51 | size = strnlen(de->di_fname, size); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # In file included from fs/qnx4/qnx4.h:3, # from fs/qnx4/dir.c:16: # include/uapi/linux/qnx4_fs.h:45:25: note: source object declared here # 45 | char di_fname[QNX4_SHORT_NAME_MAX]; # | ^~~~~~~~ # # which is because the source code doesn't really make this whole "one of # two different types" explicit. # # Fix this by introducing a very explicit union of the two types, and # basically explaining to the compiler what is really going on. # # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 b7213ffa0e585feb1aee3e7173e965e66ee0abaa # < make -s -j 32 ARCH=m68k O=/kisskb/build/linus_m68k-allmodconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 32 ARCH=m68k O=/kisskb/build/linus_m68k-allmodconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 32 ARCH=m68k O=/kisskb/build/linus_m68k-allmodconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 32 ARCH=m68k O=/kisskb/build/linus_m68k-allmodconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- /kisskb/src/arch/m68k/mvme147/config.c: In function 'mvme147_hwclk': /kisskb/src/arch/m68k/mvme147/config.c:174:2: error: #warning check me! [-Werror=cpp] 174 | #warning check me! | ^~~~~~~ /kisskb/src/arch/m68k/mvme16x/config.c: In function 'mvme16x_hwclk': /kisskb/src/arch/m68k/mvme16x/config.c:439:2: error: #warning check me! [-Werror=cpp] 439 | #warning check me! | ^~~~~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/m68k/mvme147/config.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: arch/m68k/mvme147] Error 2 make[2]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/m68k/mvme16x/config.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: arch/m68k/mvme16x] Error 2 make[1]: *** [/kisskb/src/Makefile:1868: arch/m68k] Error 2 make[1]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/m68k/include/asm/io_mm.h:25, from /kisskb/src/arch/m68k/include/asm/io.h:8, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/misc/altera-stapl/altera-lpt.c:12: /kisskb/src/drivers/misc/altera-stapl/altera-lpt.c: In function 'byteblaster_write': /kisskb/src/arch/m68k/include/asm/raw_io.h:30:32: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 30 | #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) | ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:354:72: note: in expansion of macro 'out_8' 354 | #define outb(val, port) ((port) < 1024 ? isa_rom_outb((val), (port)) : out_8((port), (val))) | ^~~~~ /kisskb/src/drivers/misc/altera-stapl/altera-lpt.c:20:9: note: in expansion of macro 'outb' 20 | outb((u8)data, (u16)(port + 0x378)); | ^~~~ /kisskb/src/drivers/misc/altera-stapl/altera-lpt.c: In function 'byteblaster_read': /kisskb/src/arch/m68k/include/asm/raw_io.h:20:19: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 20 | ({ u8 __v = (*(__force volatile u8 *) (addr)); __v; }) | ^ /kisskb/src/arch/m68k/include/asm/io_mm.h:347:62: note: in expansion of macro 'in_8' 347 | #define inb(port) ((port) < 1024 ? isa_rom_inb(port) : in_8(port)) | ^~~~ /kisskb/src/drivers/misc/altera-stapl/altera-lpt.c:26:16: note: in expansion of macro 'inb' 26 | data = inb((u16)(port + 0x378)); | ^~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/misc/altera-stapl/altera-lpt.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/misc/altera-stapl] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/misc] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/gpu/drm/rockchip/cdn-dp-core.c:1126:12: error: 'cdn_dp_resume' defined but not used [-Werror=unused-function] 1126 | static int cdn_dp_resume(struct device *dev) | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/gpu/drm/rockchip/cdn-dp-core.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/gpu/drm/rockchip] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/gpu/drm] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/gpu] Error 2 make[1]: *** [/kisskb/src/Makefile:1868: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=m68k O=/kisskb/build/linus_m68k-allmodconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_m68k-allmodconfig_m68k-gcc11 # Build took: 0:03:55.582016
© Michael Ellerman 2006-2018.