# 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 24 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_lite5200b_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 52xx/lite5200b_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_lite5200b_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_lite5200b_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_lite5200b_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S: Assembler messages: /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S:184: Warning: invalid register expression INFO: Uncompressed kernel (size 0x611edc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x611edc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x601900) 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: Tue Nov 24 23:26:51 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2716540 Bytes = 2652.87 KiB = 2.59 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.10.0-rc2-gcedd76eece11 Created: Tue Nov 24 23:26:51 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744952 Bytes = 2680.62 KiB = 2.62 MiB Load Address: 00700000 Entry Point: 00700284 Image Name: Linux-5.10.0-rc2-gcedd76eece11 Created: Tue Nov 24 23:26:51 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2745093 Bytes = 2680.75 KiB = 2.62 MiB Load Address: 00700000 Entry Point: 00700284 Completed OK # rm -rf /kisskb/build/powerpc-next_52xx_lite5200b_defconfig_powerpc-gcc5 # Build took: 0:01:10.390140