# 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-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 cedd76eece11cab713330980da3fc04bd2462e86 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/mpc85xx_cds_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- cc1: fatal error: opening output file arch/powerpc/boot/dts/fsl/.mpc8541cds.dtb.dts.tmp: No such file or directory compilation terminated. make[2]: *** [scripts/Makefile.lib:326: arch/powerpc/boot/dts/fsl/mpc8541cds.dtb] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [arch/powerpc/Makefile:295: zImage] Error 2 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-gcc4.9 # Build took: 0:00:45.245889