# git rev-parse -q --verify dd3a44c06f7b4f14e90065bf05d62c255b20005f^{commit} dd3a44c06f7b4f14e90065bf05d62c255b20005f already have revision, skipping fetch # git checkout -q -f -B kisskb dd3a44c06f7b4f14e90065bf05d62c255b20005f # git clean -qxdf # < git log -1 # commit dd3a44c06f7b4f14e90065bf05d62c255b20005f # Author: Michael Ellerman # Date: Tue Jan 19 15:18:00 2021 +1100 # # selftests/powerpc: Only test lwm/stmw on big endian # # Newer binutils (>= 2.36) refuse to assemble lmw/stmw when building in # little endian mode. That breaks compilation of our alignment handler # test: # # /tmp/cco4l14N.s: Assembler messages: # /tmp/cco4l14N.s:1440: Error: `lmw' invalid when little-endian # /tmp/cco4l14N.s:1814: Error: `stmw' invalid when little-endian # make[2]: *** [../../lib.mk:139: /output/kselftest/powerpc/alignment/alignment_handler] Error 1 # # These tests do pass on little endian machines, as the kernel will # still emulate those instructions even when running little # endian (which is arguably a kernel bug). # # But we don't really need to test that case, so ifdef those # instructions out to get the alignment test building again. # # Reported-by: Libor Pechacek # Signed-off-by: Michael Ellerman # Tested-by: Libor Pechacek # Link: https://lore.kernel.org/r/20210119041800.3093047-1-mpe@ellerman.id.au # < /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 dd3a44c06f7b4f14e90065bf05d62c255b20005f # < make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc40x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc40x_defconfig # < make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc40x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc40x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc40x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x5de668) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5de668) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.11.0-rc2-gdd3a44c06f7b Created: Wed Jan 20 16:05:53 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2971056 Bytes = 2901.42 KiB = 2.83 MiB Load Address: 00600000 Entry Point: 006017dc Image Name: Linux-5.11.0-rc2-gdd3a44c06f7b Created: Wed Jan 20 16:05:53 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2971602 Bytes = 2901.96 KiB = 2.83 MiB Load Address: 00600000 Entry Point: 00601a18 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc40x_defconfig_powerpc-gcc5 # Build took: 0:01:09.984537