Buildresult: powerpc-next-rand/powerpc-randconfig+ppc64le/powerpc-gcc5 built on Jul 10 2018, 18:50
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Jul 10 2018, 18:50
Duration:
0:02:23.133803
Builder:
ka2
Revision:
powerpc/uaccess: Enable get_user(u64, *p) on 32-bit (
397758385ba96da48a96f82cf3521f994f3a78b3)
Target:
powerpc-next-rand/powerpc-randconfig+ppc64le/powerpc-gcc5
Branch:
powerpc-next-rand
Compiler:
powerpc-gcc5
(powerpc64le-linux-gcc (GCC) 5.2.0)
Config:
randconfig+ppc64le
(
download
)
Log:
Download original
Possible errors
collect2: error: ld returned 1 exit status make[3]: *** [arch/powerpc/kernel/vdso64/vdso64.so.dbg] Error 1 make[2]: *** [arch/powerpc/kernel/vdso64] Error 2 collect2: error: ld returned 1 exit status make[3]: *** [arch/powerpc/kernel/vdso32/vdso32.so.dbg] Error 1 make[2]: *** [arch/powerpc/kernel/vdso32] Error 2 make[1]: *** [arch/powerpc/kernel] Error 2 make: *** [sub-make] Error 2
Possible warnings (1)
WARNING: unmet direct dependencies detected for LEDS_TRIGGER_DISK
Full Log
# git rev-parse -q --verify 397758385ba96da48a96f82cf3521f994f3a78b3^{commit} 397758385ba96da48a96f82cf3521f994f3a78b3 already have revision, skipping fetch # git checkout -q -f -B kisskb 397758385ba96da48a96f82cf3521f994f3a78b3 # git clean -qxdf # < git log -1 # commit 397758385ba96da48a96f82cf3521f994f3a78b3 # Author: Michael Ellerman <mpe@ellerman.id.au> # Date: Tue Jul 10 16:20:56 2018 +1000 # # powerpc/uaccess: Enable get_user(u64, *p) on 32-bit # # Currently if you build a 32-bit powerpc kernel and use get_user() to # load a u64 value it will fail to build with eg: # # kernel/rseq.o: In function `rseq_get_rseq_cs': # kernel/rseq.c:123: undefined reference to `__get_user_bad' # # This is hitting the check in __get_user_size() that makes sure the # size we're copying doesn't exceed the size of the destination: # # #define __get_user_size(x, ptr, size, retval) # do { # retval = 0; # __chk_user_ptr(ptr); # if (size > sizeof(x)) # (x) = __get_user_bad(); # # Which doesn't immediately make sense because the size of the # destination is u64, but it's not really, because __get_user_check() # etc. internally create an unsigned long and copy into that: # # #define __get_user_check(x, ptr, size) # ({ # long __gu_err = -EFAULT; # unsigned long __gu_val = 0; # # The problem being that on 32-bit unsigned long is not big enough to # hold a u64. We can fix this with a trick from hpa in the x86 code, we # statically check the type of x and set the type of __gu_val to either # unsigned long or unsigned long long. # # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # < /opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux-gcc --version # < git log --format=%s --max-count=1 397758385ba96da48a96f82cf3521f994f3a78b3 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_randconfig+ppc64le_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- randconfig KCONFIG_SEED=0xCD3FC620 WARNING: unmet direct dependencies detected for LEDS_TRIGGER_DISK Depends on [n]: NEW_LEDS [=y] && (IDE_GD_ATA [=n] || ATA [=n]) && LEDS_TRIGGERS [=y] Selected by [y]: - ADB_PMU_LED_DISK [=y] && MACINTOSH_DRIVERS [=y] && ADB_PMU_LED [=y] && LEDS_CLASS [=y] # 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=n # Added to kconfig CONFIG_CPU_LITTLE_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_LD_HEAD_STUB_CATCH=y # Added to kconfig # Added to kconfig # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_randconfig+ppc64le_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_randconfig+ppc64le_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- /opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/../lib/gcc/powerpc64le-linux/5.2.0/../../../../powerpc64le-linux/bin/ld: unrecognised emulation mode: elf64ppc Supported emulations: elf64lppc elf32lppc elf32lppclinux elf32lppcsim collect2: error: ld returned 1 exit status /kisskb/src/arch/powerpc/kernel/vdso64/Makefile:28: recipe for target 'arch/powerpc/kernel/vdso64/vdso64.so.dbg' failed make[3]: *** [arch/powerpc/kernel/vdso64/vdso64.so.dbg] Error 1 /kisskb/src/scripts/Makefile.build:558: recipe for target 'arch/powerpc/kernel/vdso64' failed make[2]: *** [arch/powerpc/kernel/vdso64] Error 2 make[2]: *** Waiting for unfinished jobs.... /opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/../lib/gcc/powerpc64le-linux/5.2.0/../../../../powerpc64le-linux/bin/ld: unrecognised emulation mode: elf32ppclinux Supported emulations: elf64lppc elf32lppc elf32lppclinux elf32lppcsim collect2: error: ld returned 1 exit status /kisskb/src/arch/powerpc/kernel/vdso32/Makefile:42: recipe for target 'arch/powerpc/kernel/vdso32/vdso32.so.dbg' failed make[3]: *** [arch/powerpc/kernel/vdso32/vdso32.so.dbg] Error 1 /kisskb/src/scripts/Makefile.build:558: recipe for target 'arch/powerpc/kernel/vdso32' failed make[2]: *** [arch/powerpc/kernel/vdso32] Error 2 /kisskb/src/Makefile:1034: recipe for target 'arch/powerpc/kernel' failed make[1]: *** [arch/powerpc/kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_randconfig+ppc64le_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next-rand_randconfig+ppc64le_ppc64le # Build took: 0:02:23.133803
© Michael Ellerman 2006-2018.