# 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-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 5990cdee689c6885b27c6d969a3d58b09002b0bc # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_HUGETLB+4K_PAGES_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig # Added to kconfig CONFIG_PPC_64K_PAGES=n # Added to kconfig CONFIG_PPC_4K_PAGES=y # Added to kconfig CONFIG_HUGETLBFS=n # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_HUGETLB+4K_PAGES_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_HUGETLB+4K_PAGES_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4310:warning: override: reassigning to symbol PPC_4K_PAGES # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_HUGETLB+4K_PAGES_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc64_defconfig+NO_HUGETLB+4K_PAGES_powerpc-gcc9 # Build took: 0:03:43.047194