Buildresult: powerpc-fixes/powerpc-randconfig/powerpc-gcc5 built on Mar 14 2018, 01:36
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Mar 14 2018, 01:36
Duration:
0:04:31.393097
Builder:
ka3
Revision:
powerpc/64s: Fix NULL AT_BASE_PLATFORM when using DT CPU features (
66763e9d1f6a8eda00da3a32c007b2af61412c10)
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 warnings (5)
drivers/cpufreq/powernv-cpufreq.c:1056:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=] crypto/testmgr.c:1303:1: warning: the frame size of 1104 bytes is larger than 1024 bytes [-Wframe-larger-than=] drivers/infiniband/core/cq.c:78:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] fs/jffs2/xattr.c:887:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=] include/linux/compiler.h:172:26: warning: array subscript is above array bounds [-Warray-bounds]
Full Log
# git rev-parse -q --verify 66763e9d1f6a8eda00da3a32c007b2af61412c10^{commit} 66763e9d1f6a8eda00da3a32c007b2af61412c10 already have revision, skipping fetch # git checkout -q -f -B kisskb 66763e9d1f6a8eda00da3a32c007b2af61412c10 # git clean -qxdf # git log -1 commit 66763e9d1f6a8eda00da3a32c007b2af61412c10 Author: Michael Ellerman <mpe@ellerman.id.au> Date: Tue Mar 13 15:58:11 2018 +1100 powerpc/64s: Fix NULL AT_BASE_PLATFORM when using DT CPU features When running virtualised the powerpc kernel is able to run the system in "compat mode" - which means the kernel and hardware are pretending to userspace that the CPU is an older version than it actually is. AT_BASE_PLATFORM is an AUXV entry that we export to userspace for use when we're running in that mode, which tells userspace the "platform" string for the real CPU version, as opposed to the faked version. Although we don't support compat mode when using DT CPU features, and arguably don't need to set AT_BASE_PLATFORM, the existing cputable based code always sets it even when we're running bare metal. That means the lack of AT_BASE_PLATFORM is a user-visible artifact of the fact that the kernel is using DT CPU features, which we don't want. So set it in the DT CPU features code also. This results in eg: $ LD_SHOW_AUXV=1 /bin/true | grep "AT_.*PLATFORM" AT_PLATFORM: power9 AT_BASE_PLATFORM:power9 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 66763e9d1f6a8eda00da3a32c007b2af61412c10 # < make -s -j 80 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=0x5994CE46 # 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 80 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 80 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/drivers/cpufreq/powernv-cpufreq.c: In function 'init_chip_info': /kisskb/src/drivers/cpufreq/powernv-cpufreq.c:1056:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/crypto/testmgr.c: In function '__test_skcipher': /kisskb/src/crypto/testmgr.c:1303:1: warning: the frame size of 1104 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/infiniband/core/cq.c: In function 'ib_process_cq_direct': /kisskb/src/drivers/infiniband/core/cq.c:78:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/fs/jffs2/xattr.c: In function 'jffs2_build_xattr_subsystem': /kisskb/src/fs/jffs2/xattr.c:887:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ In file included from /kisskb/src/include/linux/kernel.h:10:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/net/bridge/br_netfilter_hooks.c:17: /kisskb/src/net/bridge/br_netfilter_hooks.c: In function 'br_nf_post_routing': /kisskb/src/include/linux/compiler.h:172:26: warning: array subscript is above array bounds [-Warray-bounds] case 8: *(__u64 *)res = *(volatile __u64 *)p; break; \ ^ /kisskb/src/include/linux/compiler.h:183:2: note: in expansion of macro '__READ_ONCE_SIZE' __READ_ONCE_SIZE; ^ Completed OK # rm -rf /kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-5.3 # Build took: 0:04:31.393097
© Michael Ellerman 2006-2018.