# 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-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 cedd76eece11cab713330980da3fc04bd2462e86 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc40x_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc40x_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc40x_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc40x_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc40x_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x690434) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x690434) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-5.10.0-rc2-gcedd76eece11 Created: Wed Nov 25 00:02:26 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3201817 Bytes = 3126.77 KiB = 3.05 MiB Load Address: 00700000 Entry Point: 00701920 Image Name: Linux-5.10.0-rc2-gcedd76eece11 Created: Wed Nov 25 00:02:26 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3203456 Bytes = 3128.38 KiB = 3.06 MiB Load Address: 00700000 Entry Point: 00701ba0 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc40x_defconfig_powerpc-gcc9 # Build took: 0:01:14.574094