# git rev-parse -q --verify ff69279a44e9ba876466b7d3ab84d6dbd31cac92^{commit} ff69279a44e9ba876466b7d3ab84d6dbd31cac92 already have revision, skipping fetch # git checkout -q -f -B kisskb ff69279a44e9ba876466b7d3ab84d6dbd31cac92 # git clean -qxdf # < git log -1 # commit ff69279a44e9ba876466b7d3ab84d6dbd31cac92 # Author: Ard Biesheuvel # Date: Wed Aug 29 08:47:53 2018 +0200 # # powerpc: disable support for relative ksymtab references # # The newly added code that emits ksymtab entries as pairs of 32-bit # relative references interacts poorly with the way powerpc lays out its # address space: when a module exports a per-CPU variable, the primary # module region covering the ksymtab entry -and thus the 32-bit relative # reference- is too far away from the actual per-CPU variable's base # address (to which the per-CPU offsets are applied to obtain the # respective address of each CPU's copy), resulting in corruption when the # module loader attempts to resolve symbol references of modules that are # loaded on top and link to the exported per-CPU symbol. # # So let's disable this feature on powerpc. Even though it implements # CONFIG_RELOCATABLE, it does not implement CONFIG_RANDOMIZE_BASE and so # KASLR kernels (which are the main target of the feature) do not exist on # powerpc anyway. # # Reported-by: Andreas Schwab # Suggested-by: Nicholas Piggin # Signed-off-by: Ard Biesheuvel # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < git log --format=%s --max-count=1 ff69279a44e9ba876466b7d3ab84d6dbd31cac92 # < make -s -j 8 ARCH=mips O=/kisskb/build/linus_mips-allnoconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- allnoconfig # make -s -j 8 ARCH=mips O=/kisskb/build/linus_mips-allnoconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- FIT description: Linux 4.19.0-rc1+ Created: Thu Aug 30 11:49:45 2018 Image 0 (kernel@0) Description: Linux 4.19.0-rc1+ Created: Thu Aug 30 11:49:45 2018 Type: Kernel Image Compression: gzip compressed Data Size: 666548 Bytes = 650.93 KiB = 0.64 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x8022bc30 Hash algo: sha1 Hash value: e10ba073897c0b47886b5df1e519522b41b985b0 Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Completed OK # rm -rf /kisskb/build/linus_mips-allnoconfig_mipsel # Build took: 0:00:26.003262