Buildresult: powerpc-next/adder875_defconfig/powerpc-gcc5 built on Apr 19, 01:19
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Apr 19, 01:19
Duration:
0:00:24.968632
Builder:
ka4
Revision:
powerpc: drop port I/O helpers for CONFIG_HAS_IOPORT=n (
3cfdbc2274139bbcc09a44f8aa18d08c0abfd51e)
Target:
powerpc-next/adder875_defconfig/powerpc-gcc5
Branch:
powerpc-next
Compiler:
powerpc-gcc5
(powerpc64-linux-gcc (GCC) 5.5.0 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
adder875_defconfig
(
download
)
Log:
Download original
Possible errors
arch/powerpc/include/asm/io.h:695:13: error: implicit declaration of function 'inb' [-Werror=implicit-function-declaration] arch/powerpc/include/asm/io.h:698:14: error: implicit declaration of function 'outb' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make[5]: *** [scripts/Makefile.build:244: drivers/input/serio/i8042.o] Error 1 make[4]: *** [scripts/Makefile.build:485: drivers/input/serio] Error 2 make[3]: *** [scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [Makefile:1919: .] Error 2 make[1]: *** [Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2
Possible warnings (2)
cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-stringop-overflow'
Full Log
# git rev-parse -q --verify 3cfdbc2274139bbcc09a44f8aa18d08c0abfd51e^{commit} 3cfdbc2274139bbcc09a44f8aa18d08c0abfd51e already have revision, skipping fetch # git checkout -q -f -B kisskb 3cfdbc2274139bbcc09a44f8aa18d08c0abfd51e # git clean -qxdf # < git log -1 # commit 3cfdbc2274139bbcc09a44f8aa18d08c0abfd51e # Author: Arnd Bergmann <arnd@arndb.de> # Date: Tue Apr 16 17:33:01 2024 +0200 # # powerpc: drop port I/O helpers for CONFIG_HAS_IOPORT=n # # Calling inb()/outb() on powerpc when CONFIG_PCI is disabled causes # a NULL pointer dereference, which is bad for a number of reasons. # # After my patch to turn on -Werror in linux-next, this caused a # compiler-time warning with clang: # # In file included from arch/powerpc/include/asm/io.h:672: # arch/powerpc/include/asm/io-defs.h:43:1: error: performing pointer # arithmetic on a null pointer has undefined behavior # [-Werror,-Wnull-pointer-arithmetic] # 43 | DEF_PCI_AC_NORET(insb, (unsigned long p, void *b, unsigned long c), # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 44 | (p, b, c), pio, p) # | ~~~~~~~~~~~~~~~~~~ # # In this configuration, CONFIG_HAS_IOPORT is already disabled, and all # drivers that use inb()/outb() should now depend on that (some patches are # still in the process of getting marged). # # Hide all references to inb()/outb() in the powerpc code and the definitions # when HAS_IOPORT is disabled to remove the possible NULL pointer access. # The same should happin in asm-generic in the near future, but for now # the empty inb() macros are still defined to ensure the generic version # does not get pulled in. # # Signed-off-by: Arnd Bergmann <arnd@arndb.de> # Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> # Closes: https://lore.kernel.org/all/CA+G9fYtEh8zmq8k8wE-8RZwW-Qr927RLTn+KqGnq1F=ptaaNsA@mail.gmail.com # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://msgid.link/20240416153331.1617772-1-arnd@kernel.org # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 3cfdbc2274139bbcc09a44f8aa18d08c0abfd51e # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_adder875_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- adder875_defconfig # < make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_adder875_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_adder875_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_adder875_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/input/serio/i8042.c:14: /kisskb/src/drivers/input/serio/i8042-io.h: In function 'i8042_read_data': /kisskb/src/arch/powerpc/include/asm/io.h:695:13: error: implicit declaration of function 'inb' [-Werror=implicit-function-declaration] #define inb inb ^ /kisskb/src/drivers/input/serio/i8042-io.h:45:9: note: in expansion of macro 'inb' return inb(I8042_DATA_REG); ^ /kisskb/src/drivers/input/serio/i8042-io.h: In function 'i8042_write_data': /kisskb/src/arch/powerpc/include/asm/io.h:698:14: error: implicit declaration of function 'outb' [-Werror=implicit-function-declaration] #define outb outb ^ /kisskb/src/drivers/input/serio/i8042-io.h:55:2: note: in expansion of macro 'outb' outb(val, I8042_DATA_REG); ^ /kisskb/src/drivers/input/serio/i8042.c: At top level: cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-stringop-overflow' cc1: some warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:244: drivers/input/serio/i8042.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/input/serio] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:485: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/Makefile:1919: .] Error 2 make[1]: *** [/kisskb/src/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 Command 'make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_adder875_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/powerpc-next_adder875_defconfig_powerpc-gcc5 # Build took: 0:00:24.968632
© Michael Ellerman 2006-2018.