# git rev-parse -q --verify 8dcd71b45df34d9b903450fab147ee8c1e6c16b5^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/linuxppc/linux.git next-test warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify 8dcd71b45df34d9b903450fab147ee8c1e6c16b5^{commit} 8dcd71b45df34d9b903450fab147ee8c1e6c16b5 # git checkout -q -f -B kisskb 8dcd71b45df34d9b903450fab147ee8c1e6c16b5 # git clean -qxdf # < git log -1 # commit 8dcd71b45df34d9b903450fab147ee8c1e6c16b5 # Author: Nathan Chancellor # Date: Mon Nov 18 21:57:12 2019 -0700 # # powerpc/prom_init: Use -ffreestanding to avoid a reference to bcmp # # LLVM revision r374662 gives LLVM the ability to convert certain loops # into a reference to bcmp as an optimization; this breaks # prom_init_check.sh: # # CALL arch/powerpc/kernel/prom_init_check.sh # Error: External symbol 'bcmp' referenced from prom_init.c # make[2]: *** [arch/powerpc/kernel/Makefile:196: prom_init_check] Error 1 # # bcmp is defined in lib/string.c as a wrapper for memcmp so this could # be added to the whitelist. However, commit # 450e7dd4001f ("powerpc/prom_init: don't use string functions from # lib/") copied memcmp as prom_memcmp to avoid KASAN instrumentation so # having bcmp be resolved to regular memcmp would break that assumption. # Furthermore, because the compiler is the one that inserted bcmp, we # cannot provide something like prom_bcmp. # # To prevent LLVM from being clever with optimizations like this, use # -ffreestanding to tell LLVM we are not hosted so it is not free to # make transformations like this. # # Reviewed-by: Nick Desaulneris # Signed-off-by: Nathan Chancellor # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20191119045712.39633-4-natechancellor@gmail.com # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 8dcd71b45df34d9b903450fab147ee8c1e6c16b5 # < make -s -j 48 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # make -s -j 48 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- FIT description: Linux 5.4.0-rc2-g8dcd71b45df3 Created: Mon Nov 25 23:55:44 2019 Image 0 (kernel@0) Description: Linux 5.4.0-rc2-g8dcd71b45df3 Created: Mon Nov 25 23:55:44 2019 Type: Kernel Image Compression: gzip compressed Data Size: 4788473 Bytes = 4676.24 KiB = 4.57 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x808d5390 Hash algo: sha1 Hash value: bcc44b76c8f04431b64446375e4b27957e3ec17e Image 1 (fdt@boston) Description: img,boston Device Tree Created: Mon Nov 25 23:55:44 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 3793 Bytes = 3.70 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 4799f50d688573234da6e9d7701234d394759ef4 Image 2 (fdt@ni169445) Description: NI 169445 device tree Created: Mon Nov 25 23:55:44 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 1871 Bytes = 1.83 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 51b89b31605ee62038c8468c429af091dfc75ec7 Image 3 (fdt@ocelot_pcb123) Description: MSCC Ocelot PCB123 Device Tree Created: Mon Nov 25 23:55:44 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 4639 Bytes = 4.53 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 018897896b42c41c943aca35a20e4300dba250c8 Image 4 (fdt@ocelot_pcb120) Description: MSCC Ocelot PCB120 Device Tree Created: Mon Nov 25 23:55:44 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 5198 Bytes = 5.08 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 36c7bd0bd79cfc2f7dd6acda6c7996294f4967e6 Image 5 (fdt@xilfpga) Description: MIPSfpga (xilfpga) Device Tree Created: Mon Nov 25 23:55:44 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 2708 Bytes = 2.64 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 63d058b780f65e22da30f0a183433765f1807f1d Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Configuration 1 (conf@boston) Description: Boston Linux kernel Kernel: kernel@0 FDT: fdt@boston Configuration 2 (conf@ni169445) Description: NI 169445 Linux Kernel Kernel: kernel@0 FDT: fdt@ni169445 Configuration 3 (conf@ocelot_pcb123) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb123 Configuration 4 (conf@ocelot_pcb120) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb120 Configuration 5 (conf@xilfpga) Description: MIPSfpga Linux kernel Kernel: kernel@0 FDT: fdt@xilfpga Completed OK # rm -rf /kisskb/build/powerpc-next_mips-defconfig_mipsel # Build took: 0:02:05.850987