# git rev-parse -q --verify 5990cdee689c6885b27c6d969a3d58b09002b0bc^{commit} 5990cdee689c6885b27c6d969a3d58b09002b0bc already have revision, skipping fetch # git checkout -q -f -B kisskb 5990cdee689c6885b27c6d969a3d58b09002b0bc # git clean -qxdf # < git log -1 # commit 5990cdee689c6885b27c6d969a3d58b09002b0bc # Author: Nathan Chancellor # Date: Mon Apr 13 12:50:42 2020 -0700 # # lib/mpi: Fix building for powerpc with clang # # 0day reports over and over on an powerpc randconfig with clang: # # lib/mpi/generic_mpih-mul1.c:37:13: error: invalid use of a cast in a # inline asm context requiring an l-value: remove the cast or build with # -fheinous-gnu-extensions # # Remove the superfluous casts, which have been done previously for x86 # and arm32 in commit dea632cadd12 ("lib/mpi: fix build with clang") and # commit 7b7c1df2883d ("lib/mpi/longlong.h: fix building with 32-bit # x86"). # # Reported-by: kbuild test robot # Signed-off-by: Nathan Chancellor # Acked-by: Herbert Xu # Signed-off-by: Michael Ellerman # Link: https://github.com/ClangBuiltLinux/linux/issues/991 # Link: https://lore.kernel.org/r/20200413195041.24064-1-natechancellor@gmail.com # < /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 5990cdee689c6885b27c6d969a3d58b09002b0bc # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64le_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/kernel/trace/ftrace.c: In function 'pid_open': /kisskb/src/kernel/trace/ftrace.c:7166:6: warning: 'seq_ops' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = seq_open(file, seq_ops); ^ /kisskb/src/kernel/trace/ftrace.c: In function 'pid_write': /kisskb/src/kernel/trace/ftrace.c:7244:8: warning: 'filtered_pids' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = trace_pid_write(filtered_pids, &pid_list, ubuf, cnt); ^ /kisskb/src/kernel/trace/ftrace.c:7261:22: warning: 'other_pids' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if (pid_list && !other_pids) { ^ WARNING: modpost: vmlinux.o(.text.unlikely+0x2b0): Section mismatch in reference from the function early_init_mmu() to the function .init.text:radix__early_init_mmu() The function early_init_mmu() references the function __init radix__early_init_mmu(). This is often because early_init_mmu lacks a __init annotation or the annotation of radix__early_init_mmu is wrong. WARNING: modpost: vmlinux.o(.text.unlikely+0x2bc): Section mismatch in reference from the function early_init_mmu() to the function .init.text:hash__early_init_mmu() The function early_init_mmu() references the function __init hash__early_init_mmu(). This is often because early_init_mmu lacks a __init annotation or the annotation of hash__early_init_mmu is wrong. Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc64le_defconfig_powerpc-gcc5 # Build took: 0:03:50.849011