# git rev-parse -q --verify ce9a7e6528a3564a1c6f7851771ad15e44a865d5^{commit} ce9a7e6528a3564a1c6f7851771ad15e44a865d5 already have revision, skipping fetch # git checkout -q -f -B kisskb ce9a7e6528a3564a1c6f7851771ad15e44a865d5 # git clean -qxdf # < git log -1 # commit ce9a7e6528a3564a1c6f7851771ad15e44a865d5 # Author: Michael Ellerman # Date: Mon Jul 22 22:26:56 2019 +1000 # # powerpc: Wire up clone3 syscall # # Wire up the new clone3 syscall added in commit 7f192e3cd316 ("fork: # add clone3"). # # This requires a ppc_clone3 wrapper, in order to save the non-volatile # GPRs before calling into the generic syscall code. Otherwise we hit # the BUG_ON in CHECK_FULL_REGS in copy_thread(). # # Lightly tested using Christian's test code on a Power8 LE VM. # # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20190722132231.10169-1-mpe@ellerman.id.au # < /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 ce9a7e6528a3564a1c6f7851771ad15e44a865d5 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pq2fads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pq2fads_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pq2fads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/head_32.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_32.S:927: Warning: invalid register expression /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1651:6: note: 'oldval' was declared here int oldval, ret; ^ INFO: Uncompressed kernel (size 0x581368) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x570cf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.2.0-gce9a7e6528a3 Created: Wed Jul 24 00:31:54 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2863175 Bytes = 2796.07 KiB = 2.73 MiB Load Address: 00600000 Entry Point: 00600894 Image Name: Linux-5.2.0-gce9a7e6528a3 Created: Wed Jul 24 00:31:55 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2832684 Bytes = 2766.29 KiB = 2.70 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-fixes_pq2fads_defconfig_powerpc-gcc5 # Build took: 0:00:34.052722