Buildresult: powerpc-next/mpc85xx_smp_defconfig/powerpc-gcc5 built on Nov 22 2023, 05:24
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Nov 22 2023, 05:24
Duration:
0:01:18.175861
Builder:
ka4
Revision:
powerpc: add crtsavres.o to always-y instead of extra-y (
a7eaaca7e9ec302eba2f6c275b3801e2069f09b8)
Target:
powerpc-next/mpc85xx_smp_defconfig/powerpc-gcc5
Branch:
powerpc-next
Compiler:
powerpc-gcc5
(powerpc64-linux-gcc (GCC) 5.5.0 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
mpc85xx_smp_defconfig
(
download
)
Log:
Download original
Possible warnings (2)
include/linux/err.h:28:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cc1: warning: unrecognized command line option '-Wno-shift-negative-value'
Full Log
# git rev-parse -q --verify a7eaaca7e9ec302eba2f6c275b3801e2069f09b8^{commit} a7eaaca7e9ec302eba2f6c275b3801e2069f09b8 already have revision, skipping fetch # git checkout -q -f -B kisskb a7eaaca7e9ec302eba2f6c275b3801e2069f09b8 # git clean -qxdf # < git log -1 # commit a7eaaca7e9ec302eba2f6c275b3801e2069f09b8 # Author: Masahiro Yamada <masahiroy@kernel.org> # Date: Tue Nov 21 08:23:32 2023 +0900 # # powerpc: add crtsavres.o to always-y instead of extra-y # # crtsavres.o is linked to modules. However, as explained in commit # d0e628cd817f ("kbuild: doc: clarify the difference between extra-y # and always-y"), 'make modules' does not build extra-y. # # For example, the following command fails: # # $ make ARCH=powerpc LLVM=1 KBUILD_MODPOST_WARN=1 mrproper ps3_defconfig modules # [snip] # LD [M] arch/powerpc/platforms/cell/spufs/spufs.ko # ld.lld: error: cannot open arch/powerpc/lib/crtsavres.o: No such file or directory # make[3]: *** [scripts/Makefile.modfinal:56: arch/powerpc/platforms/cell/spufs/spufs.ko] Error 1 # make[2]: *** [Makefile:1844: modules] Error 2 # make[1]: *** [/home/masahiro/workspace/linux-kbuild/Makefile:350: __build_one_by_one] Error 2 # make: *** [Makefile:234: __sub-make] Error 2 # # Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> # Fixes: baa25b571a16 ("powerpc/64: Do not link crtsavres.o in vmlinux") # Reviewed-by: Nicholas Piggin <npiggin@gmail.com> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://msgid.link/20231120232332.4100288-1-masahiroy@kernel.org # < /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 a7eaaca7e9ec302eba2f6c275b3801e2069f09b8 # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig Using /kisskb/src/arch/powerpc/configs/mpc85xx_base.config as base Merging /kisskb/src/arch/powerpc/configs/85xx-32bit.config Merging /kisskb/src/arch/powerpc/configs/85xx-smp.config Merging /kisskb/src/arch/powerpc/configs/85xx-hw.config Merging /kisskb/src/arch/powerpc/configs/fsl-emb-nonhw.config # # merged configuration written to .config (needs make) # # < make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/build_bug.h:5:0, from /kisskb/src/include/linux/container_of.h:5, from /kisskb/src/include/linux/list.h:5, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:28:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:77:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:138:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: At top level: cc1: warning: unrecognized command line option '-Wno-shift-negative-value' Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc5 # Build took: 0:01:18.175861
© Michael Ellerman 2006-2018.