# git rev-parse -q --verify 411019ab75278fc88cf8564f1be4f248e7820934^{commit} 411019ab75278fc88cf8564f1be4f248e7820934 already have revision, skipping fetch # git checkout -q -f -B kisskb 411019ab75278fc88cf8564f1be4f248e7820934 # git clean -qxdf # < git log -1 # commit 411019ab75278fc88cf8564f1be4f248e7820934 # Author: Aneesh Kumar K.V # Date: Sat Mar 30 11:13:45 2019 +0530 # # powerpc/mm: Fix section mismatch warning # # This patch fix the below section mismatch warnings. # # WARNING: vmlinux.o(.text+0x2d1f44): Section mismatch in reference from the function devm_memremap_pages_release() to the function .meminit.text:arch_remove_memory() # WARNING: vmlinux.o(.text+0x2d265c): Section mismatch in reference from the function devm_memremap_pages() to the function .meminit.text:arch_add_memory() # # Signed-off-by: Aneesh Kumar K.V # Signed-off-by: Michael Ellerman # < /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 411019ab75278fc88cf8564f1be4f248e7820934 # < make -s -j 8 ARCH=powerpc O=/kisskb/build/mpe_ppc64_defconfig+NO_TM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig # Added to kconfig CONFIG_PPC_TRANSACTIONAL_MEM=n # yes \n | make -s -j 8 ARCH=powerpc O=/kisskb/build/mpe_ppc64_defconfig+NO_TM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 8 ARCH=powerpc O=/kisskb/build/mpe_ppc64_defconfig+NO_TM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :1478:2: warning: #warning syscall pidfd_send_signal not implemented [-Wcpp] :1481:2: warning: #warning syscall io_uring_setup not implemented [-Wcpp] :1484:2: warning: #warning syscall io_uring_enter not implemented [-Wcpp] :1487:2: warning: #warning syscall io_uring_register not implemented [-Wcpp] In file included from /kisskb/src/include/linux/kernel.h:11:0, from /kisskb/src/arch/powerpc/mm/pgtable-radix.c:14: /kisskb/src/arch/powerpc/mm/pgtable-radix.c: In function '__map_kernel_page': /kisskb/src/include/linux/compiler.h:344:38: error: call to '__compiletime_assert_139' declared with attribute error: BUILD_BUG_ON failed: RADIX_KERN_MAP_SIZE != MAX_EA_BITS_PER_CONTEXT _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^ /kisskb/src/include/linux/compiler.h:325:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^ /kisskb/src/include/linux/compiler.h:344:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ /kisskb/src/include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) ^ /kisskb/src/arch/powerpc/mm/pgtable-radix.c:139:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(RADIX_KERN_MAP_SIZE != MAX_EA_BITS_PER_CONTEXT); ^ make[3]: *** [/kisskb/src/scripts/Makefile.build:276: arch/powerpc/mm/pgtable-radix.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:486: arch/powerpc/mm] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1051: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/net/netfilter/nf_nat_masquerade.c:15:21: warning: 'masq_refcnt6' defined but not used [-Wunused-variable] static unsigned int masq_refcnt6 __read_mostly; ^ make: *** [Makefile:169: sub-make] Error 2 Command 'make -s -j 8 ARCH=powerpc O=/kisskb/build/mpe_ppc64_defconfig+NO_TM_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/mpe_ppc64_defconfig+NO_TM_powerpc-gcc5 # Build took: 0:05:02.458896