# git rev-parse -q --verify 14d7c92f8df9c0964ae6f8b813c1b3ac38120825^{commit} 14d7c92f8df9c0964ae6f8b813c1b3ac38120825 already have revision, skipping fetch # git checkout -q -f -B kisskb 14d7c92f8df9c0964ae6f8b813c1b3ac38120825 # git clean -qxdf # < git log -1 # commit 14d7c92f8df9c0964ae6f8b813c1b3ac38120825 # Author: Linus Torvalds # Date: Mon Jun 17 12:57:03 2024 -0700 # # Revert "mm: mmap: allow for the maximum number of bits for randomizing mmap_base by default" # # This reverts commit 3afb76a66b5559a7b595155803ce23801558a7a9. # # This was a wrongheaded workaround for an issue that had already been # fixed much better by commit 4ef9ad19e176 ("mm: huge_memory: don't force # huge page alignment on 32 bit"). # # Asking users questions at kernel compile time that they can't make sense # of is not a viable strategy. And the fact that even the kernel VM # maintainers apparently didn't catch that this "fix" is not a fix any # more pretty much proves the point that people can't be expected to # understand the implications of the question. # # It may well be the case that we could improve things further, and that # __thp_get_unmapped_area() should take the mapping randomization into # account even for 64-bit kernels. Maybe we should not be so eager to use # THP mappings. # # But in no case should this be a kernel config option. # # Cc: Rafael Aquini # Cc: Andrew Morton # Cc: Jiri Slaby # Cc: Suren Baghdasaryan # Cc: Matthew Wilcox (Oracle) # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 14d7c92f8df9c0964ae6f8b813c1b3ac38120825 # make -s -j 160 ARCH=sh O=/kisskb/build/linus_allyesconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- allyesconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 160 ARCH=sh O=/kisskb/build/linus_allyesconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 160 ARCH=sh O=/kisskb/build/linus_allyesconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 160 ARCH=sh O=/kisskb/build/linus_allyesconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:85: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:357: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:360: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence {standard input}: Assembler messages: {standard input}: Warning: end of file not at end of a line; newline inserted {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive {standard input}:1031: Error: displacement to undefined symbol .L137 overflows 8-bit field {standard input}:1105: Error: displacement to undefined symbol .L137 overflows 8-bit field {standard input}:1110: Error: displacement to undefined symbol .L158 overflows 8-bit field {standard input}:1020: Error: pcrel too far {standard input}:1021: Error: pcrel too far {standard input}:1022: Error: pcrel too far {standard input}:1074: Error: pcrel too far {standard input}:1095: Error: pcrel too far {standard input}:1096: Error: pcrel too far {standard input}:1126: Error: pcrel too far sh4-linux-gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed source (by using -freport-bug). See for instructions. make[6]: *** [/kisskb/src/scripts/Makefile.build:244: drivers/net/pcs/pcs-xpcs.o] Error 4 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/net/pcs] Error 2 make[5]: *** Waiting for unfinished jobs.... {standard input}: Assembler messages: {standard input}: Warning: end of file not at end of a line; newline inserted {standard input}:1273: Error: unknown pseudo-op: `.siz' sh4-linux-gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed source (by using -freport-bug). See for instructions. make[6]: *** [/kisskb/src/scripts/Makefile.build:244: drivers/hwmon/pmbus/mp2975.o] Error 4 make[5]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/hwmon/pmbus] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/hwmon] Error 2 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/net] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/Makefile:1934: .] Error 2 make[1]: *** [/kisskb/src/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 Command 'make -s -j 160 ARCH=sh O=/kisskb/build/linus_allyesconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allyesconfig_sh4-gcc13 # Build took: 0:05:17.650629