Buildresult: powerpc-next/40x/klondike_defconfig/powerpc-gcc5 built on Apr 19, 01:31
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Apr 19, 01:31
Duration:
0:00:19.861695
Builder:
ka4
Revision:
powerpc: drop port I/O helpers for CONFIG_HAS_IOPORT=n (
3cfdbc2274139bbcc09a44f8aa18d08c0abfd51e)
Target:
powerpc-next/40x/klondike_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:
40x/klondike_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: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-stringop-overflow' [-Werror] cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:244: arch/powerpc/kernel/udbg_16550.o] Error 1 make[4]: *** [scripts/Makefile.build:485: arch/powerpc/kernel] Error 2 make[3]: *** [scripts/Makefile.build:485: arch/powerpc] Error 2 make[2]: *** [Makefile:1919: .] Error 2 make[1]: *** [Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2
No warnings found in log.
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_40x_klondike_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 40x/klondike_defconfig # < make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_40x_klondike_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_40x_klondike_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_40x_klondike_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/arch/powerpc/kernel/udbg_16550.c:9:0: /kisskb/src/arch/powerpc/kernel/udbg_16550.c: In function 'udbg_uart_in_pio': /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/arch/powerpc/kernel/udbg_16550.c:167:9: note: in expansion of macro 'inb' return inb(udbg_uart.pio_base + (reg * udbg_uart_stride)); ^ /kisskb/src/arch/powerpc/kernel/udbg_16550.c: In function 'udbg_uart_out_pio': /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/arch/powerpc/kernel/udbg_16550.c:172:2: note: in expansion of macro 'outb' outb(data, udbg_uart.pio_base + (reg * udbg_uart_stride)); ^ /kisskb/src/arch/powerpc/kernel/udbg_16550.c: At top level: cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-stringop-overflow' [-Werror] cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:244: arch/powerpc/kernel/udbg_16550.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:485: arch/powerpc/kernel] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: arch/powerpc] 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_40x_klondike_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_40x_klondike_defconfig_powerpc-gcc5 # Build took: 0:00:19.861695
© Michael Ellerman 2006-2018.