Buildresult: powerpc-fixes/powerpc-randconfig/powerpc-gcc5 built on Apr 10 2018, 00:32
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Apr 10 2018, 00:32
Duration:
0:01:39.943108
Builder:
ka4
Revision:
powerpc/modules: Fix crashes by adding CONFIG_RELOCATABLE to vermagic (
73aca179d78eaa11604ba0783a6d8b2125fbc332)
Target:
powerpc-fixes/powerpc-randconfig/powerpc-gcc5
Branch:
powerpc-fixes
Compiler:
powerpc-gcc5
(powerpc64-linux-gcc (GCC) 5.3.0)
Config:
randconfig
(
download
)
Log:
Download original
Possible errors
(.text+0xf14): undefined reference to `.radix__flush_tlb_pwc' (.text+0xf40): undefined reference to `.radix__flush_tlb_pwc' (.text+0x22a8): undefined reference to `.radix__flush_tlb_pwc' (.text+0x253c): undefined reference to `.radix__flush_tlb_pwc' (.text+0x25b0): undefined reference to `.radix__flush_tlb_pwc' make[1]: *** [vmlinux] Error 1 make: *** [sub-make] Error 2
Possible warnings (4)
arch/powerpc/mm/tlb-radix.c:426:0: warning: "radix__flush_all_mm" redefined arch/powerpc/mm/tlb-radix.c:426:0: warning: "radix__flush_all_mm" redefined WARNING: vmlinux.o(.text+0x1a808): Section mismatch in reference from the function .setup_rfi_flush() to the function .init.text:.ppc64_bolted_size() WARNING: vmlinux.o(.text+0x1a838): Section mismatch in reference from the function .setup_rfi_flush() to the function .init.text:.memblock_alloc_base()
Full Log
# git rev-parse -q --verify 73aca179d78eaa11604ba0783a6d8b2125fbc332^{commit} 73aca179d78eaa11604ba0783a6d8b2125fbc332 already have revision, skipping fetch # git checkout -q -f -B kisskb 73aca179d78eaa11604ba0783a6d8b2125fbc332 # git clean -qxdf # < git log -1 # commit 73aca179d78eaa11604ba0783a6d8b2125fbc332 # Author: Michael Ellerman <mpe@ellerman.id.au> # Date: Mon Mar 26 19:27:01 2018 +1100 # # powerpc/modules: Fix crashes by adding CONFIG_RELOCATABLE to vermagic # # If you build the kernel with CONFIG_RELOCATABLE=n, then install the # modules, rebuild the kernel with CONFIG_RELOCATABLE=y and leave the # old modules installed, we crash something like: # # Unable to handle kernel paging request for data at address 0xd000000018d66cef # Faulting instruction address: 0xc0000000021ddd08 # Oops: Kernel access of bad area, sig: 11 [#1] # Modules linked in: x_tables autofs4 # CPU: 2 PID: 1 Comm: systemd Not tainted 4.16.0-rc6-gcc_ubuntu_le-g99fec39 #1 # ... # NIP check_version.isra.22+0x118/0x170 # Call Trace: # __ksymtab_xt_unregister_table+0x58/0xfffffffffffffcb8 [x_tables] (unreliable) # resolve_symbol+0xb4/0x150 # load_module+0x10e8/0x29a0 # SyS_finit_module+0x110/0x140 # system_call+0x58/0x6c # # This happens because since commit 71810db27c1c ("modversions: treat # symbol CRCs as 32 bit quantities"), a relocatable kernel encodes and # handles symbol CRCs differently from a non-relocatable kernel. # # Although it's possible we could try and detect this situation and # handle it, it's much more robust to simply make the state of # CONFIG_RELOCATABLE part of the module vermagic. # # Fixes: 71810db27c1c ("modversions: treat symbol CRCs as 32 bit quantities") # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 73aca179d78eaa11604ba0783a6d8b2125fbc332 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0x6E7C8CA6 # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig # yes \n | make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/mm/tlb-radix.c:426:0: warning: "radix__flush_all_mm" redefined #define radix__flush_all_mm radix__local_flush_all_mm ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/radix.h:22:0, from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:293, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:24, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:314, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/hw_irq.h:63, from /kisskb/src/arch/powerpc/include/asm/irqflags.h:12, from /kisskb/src/include/linux/irqflags.h:16, from /kisskb/src/include/linux/spinlock.h:54, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/powerpc/mm/tlb-radix.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h:44:0: note: this is the location of the previous definition #define radix__flush_all_mm(mm) radix__local_flush_all_mm(mm) ^ /kisskb/src/arch/powerpc/mm/tlb-radix.c:426:0: warning: "radix__flush_all_mm" redefined #define radix__flush_all_mm radix__local_flush_all_mm ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/radix.h:22:0, from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:293, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:24, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:314, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/hw_irq.h:63, from /kisskb/src/arch/powerpc/include/asm/irqflags.h:12, from /kisskb/src/include/linux/irqflags.h:16, from /kisskb/src/include/linux/spinlock.h:54, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/powerpc/mm/tlb-radix.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h:44:0: note: this is the location of the previous definition #define radix__flush_all_mm(mm) radix__local_flush_all_mm(mm) ^ WARNING: vmlinux.o(.text+0x1a808): Section mismatch in reference from the function .setup_rfi_flush() to the function .init.text:.ppc64_bolted_size() The function .setup_rfi_flush() references the function __init .ppc64_bolted_size(). This is often because .setup_rfi_flush lacks a __init annotation or the annotation of .ppc64_bolted_size is wrong. WARNING: vmlinux.o(.text+0x1a838): Section mismatch in reference from the function .setup_rfi_flush() to the function .init.text:.memblock_alloc_base() The function .setup_rfi_flush() references the function __init .memblock_alloc_base(). This is often because .setup_rfi_flush lacks a __init annotation or the annotation of .memblock_alloc_base is wrong. arch/powerpc/mm/hugetlbpage.o: In function `.hugetlb_free_pgd_range': (.text+0xf14): undefined reference to `.radix__flush_tlb_pwc' arch/powerpc/mm/hugetlbpage.o: In function `.hugetlb_free_pgd_range': (.text+0xf40): undefined reference to `.radix__flush_tlb_pwc' mm/memory.o: In function `.free_pgd_range': (.text+0x22a8): undefined reference to `.radix__flush_tlb_pwc' mm/memory.o: In function `.free_pgd_range': (.text+0x253c): undefined reference to `.radix__flush_tlb_pwc' mm/memory.o: In function `.free_pgd_range': (.text+0x25b0): undefined reference to `.radix__flush_tlb_pwc' /kisskb/src/Makefile:1033: recipe for target 'vmlinux' failed make[1]: *** [vmlinux] Error 1 Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-5.3 # Build took: 0:01:39.943108
© Michael Ellerman 2006-2018.