# git gc # git rev-parse -q --verify cedd76eece11cab713330980da3fc04bd2462e86^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/linuxppc/linux.git next-test # git rev-parse -q --verify cedd76eece11cab713330980da3fc04bd2462e86^{commit} cedd76eece11cab713330980da3fc04bd2462e86 # git checkout -q -f -B kisskb cedd76eece11cab713330980da3fc04bd2462e86 # git clean -qxdf # < git log -1 # commit cedd76eece11cab713330980da3fc04bd2462e86 # Author: Bill Wendling # Date: Fri Nov 20 14:40:34 2020 -0800 # # powerpc: Work around inline asm issues in alternate feature sections # # The clang toolchain treats inline assembly a bit differently than # straight assembly code. In particular, inline assembly doesn't have # the complete context available to resolve expressions. This is # intentional to avoid divergence in the resulting assembly code. # # We can work around this issue by borrowing a workaround done for ARM, # i.e. not directly testing the labels themselves, but by moving the # current output pointer by a value that should always be zero. If this # value is not null, then we will trigger a backward move, which is # explicitly forbidden. # # Signed-off-by: Bill Wendling # [mpe: Put it in a macro and only do the workaround for clang] # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20201120224034.191382-4-morbo@google.com # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 cedd76eece11cab713330980da3fc04bd2462e86 # < make -s -j 24 ARCH=x86_64 O=/kisskb/build/powerpc-next_x86_64-allnoconfig_x86_64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux- allnoconfig # < make -s -j 24 ARCH=x86_64 O=/kisskb/build/powerpc-next_x86_64-allnoconfig_x86_64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 24 ARCH=x86_64 O=/kisskb/build/powerpc-next_x86_64-allnoconfig_x86_64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 24 ARCH=x86_64 O=/kisskb/build/powerpc-next_x86_64-allnoconfig_x86_64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/powerpc-next_x86_64-allnoconfig_x86_64-gcc4.9 # Build took: 0:04:58.141100