# git rev-parse -q --verify eb761a1760bf30cf64e98ee8d914866e62ec9e8a^{commit} eb761a1760bf30cf64e98ee8d914866e62ec9e8a already have revision, skipping fetch # git checkout -q -f -B kisskb eb761a1760bf30cf64e98ee8d914866e62ec9e8a # git clean -qxdf # < git log -1 # commit eb761a1760bf30cf64e98ee8d914866e62ec9e8a # Author: Nicholas Piggin # Date: Wed Nov 16 14:39:53 2022 +1000 # # powerpc: Fix writable sections being moved into the rodata region # # .data.rel.ro* catches .data.rel.root_cpuacct, and the kernel crashes on # a store in css_clear_dir. At least we know read-only data protection is # working... # # Fixes: b6adc6d6d3272 ("powerpc/build: move .data.rel.ro, .sdata2 to read-only") # Signed-off-by: Nicholas Piggin # Reviewed-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20221116043954.3307852-1-npiggin@gmail.com # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 eb761a1760bf30cf64e98ee8d914866e62ec9e8a # < make -s -j 160 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- defconfig # < make -s -j 160 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 160 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 160 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] WARNING: modpost: EXPORT symbol "_mcount" [vmlinux] version generation failed, symbol will not be versioned. Is "_mcount" prototyped in ? kernel: arch/sparc/boot/image is ready kernel: arch/sparc/boot/zImage is ready Completed OK # rm -rf /kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64-gcc5 # Build took: 0:01:21.418562