# git rev-parse -q --verify cedd76eece11cab713330980da3fc04bd2462e86^{commit} cedd76eece11cab713330980da3fc04bd2462e86 already have revision, skipping fetch # 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-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 cedd76eece11cab713330980da3fc04bd2462e86 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_ebony_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/ebony_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_ebony_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x57fe48) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x57fe48) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.10.0-rc2-gcedd76eece11 Created: Tue Nov 24 23:19:39 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2786545 Bytes = 2721.24 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 006000c4 Completed OK # rm -rf /kisskb/build/powerpc-next_44x_ebony_defconfig_powerpc-gcc5 # Build took: 0:00:27.838575