Buildresult: powerpc-next-rand/powerpc-randconfig/powerpc-gcc9 built on Aug 5 2020, 05:16
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Aug 5 2020, 05:16
Duration:
0:03:20.667093
Builder:
ka1
Revision:
powerpc: Fix circular dependency between percpu.h and mmu.h (
0c83b277ada72b585e6a3e52b067669df15bcedb)
Target:
powerpc-next-rand/powerpc-randconfig/powerpc-gcc9
Branch:
powerpc-next-rand
Compiler:
powerpc-gcc9
(powerpc64-linux-gcc (GCC) 9.2.0 / GNU ld (GNU Binutils) 2.32)
Config:
randconfig
(
download
)
Log:
Download original
Possible warnings (6)
.config:4618:warning: override: reassigning to symbol STANDALONE .config:4624:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:4625:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:4628:warning: override: reassigning to symbol LD_HEAD_STUB_CATCH drivers/md/dm-writecache.c:313:1: warning: no return statement in function returning non-void [-Wreturn-type] WARNING: 4 bad relocations
Full Log
# git rev-parse -q --verify 0c83b277ada72b585e6a3e52b067669df15bcedb^{commit} 0c83b277ada72b585e6a3e52b067669df15bcedb already have revision, skipping fetch # git checkout -q -f -B kisskb 0c83b277ada72b585e6a3e52b067669df15bcedb # git clean -qxdf # < git log -1 # commit 0c83b277ada72b585e6a3e52b067669df15bcedb # Author: Michael Ellerman <mpe@ellerman.id.au> # Date: Tue Aug 4 22:44:06 2020 +1000 # # powerpc: Fix circular dependency between percpu.h and mmu.h # # Recently random.h started including percpu.h (see commit # f227e3ec3b5c ("random32: update the net random state on interrupt and # activity")), which broke corenet64_smp_defconfig: # # In file included from /linux/arch/powerpc/include/asm/paca.h:18, # from /linux/arch/powerpc/include/asm/percpu.h:13, # from /linux/include/linux/random.h:14, # from /linux/lib/uuid.c:14: # /linux/arch/powerpc/include/asm/mmu.h:139:22: error: unknown type name 'next_tlbcam_idx' # 139 | DECLARE_PER_CPU(int, next_tlbcam_idx); # # This is due to a circular header dependency: # asm/mmu.h includes asm/percpu.h, which includes asm/paca.h, which # includes asm/mmu.h # # Which means DECLARE_PER_CPU() isn't defined when mmu.h needs it. # # We can fix it by moving the include of paca.h below the include of # asm-generic/percpu.h. # # This moves the include of paca.h out of the #ifdef __powerpc64__, but # that is OK because paca.h is almost entirely inside #ifdef # CONFIG_PPC64 anyway. # # It also moves the include of paca.h out of the #ifdef CONFIG_SMP, # which could possibly break something, but seems to have no ill # effects. # # Fixes: f227e3ec3b5c ("random32: update the net random state on interrupt and activity") # Cc: stable@vger.kernel.org # v5.8 # Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/20200804130558.292328-1-mpe@ellerman.id.au # < /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 0c83b277ada72b585e6a3e52b067669df15bcedb # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0xF1F6646A # 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 CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_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-next-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4618:warning: override: reassigning to symbol STANDALONE .config:4624:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:4625:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:4628:warning: override: reassigning to symbol LD_HEAD_STUB_CATCH # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/md/dm-writecache.c: In function 'persistent_memory_claim': /kisskb/src/drivers/md/dm-writecache.c:313:1: warning: no return statement in function returning non-void [-Wreturn-type] 313 | } | ^ WARNING: 4 bad relocations c000000000018c02 R_PPC64_ADDR16_HIGHEST .head.text+0x0000000000018c1c c000000000018c06 R_PPC64_ADDR16_HIGH .head.text+0x0000000000018c1c c000000000018c0a R_PPC64_ADDR16_HIGHER .head.text+0x0000000000018c1c c000000000018c0e R_PPC64_ADDR16_LO .head.text+0x0000000000018c1c INFO: Uncompressed kernel (size 0x133d340) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1400000) Image Name: Linux-5.8.0-rc2+ Created: Wed Aug 5 05:19:26 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6546250 Bytes = 6392.82 KiB = 6.24 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc9 # Build took: 0:03:20.667093
© Michael Ellerman 2006-2018.