# git rev-parse -q --verify 1c59d383390f970b891b503b7f79b63a02db2ec5^{commit} 1c59d383390f970b891b503b7f79b63a02db2ec5 already have revision, skipping fetch # git checkout -q -f -B kisskb 1c59d383390f970b891b503b7f79b63a02db2ec5 # git clean -qxdf # < git log -1 # commit 1c59d383390f970b891b503b7f79b63a02db2ec5 # Merge: 815c24a085dd 556fb7131e03 # Author: Linus Torvalds # Date: Mon Aug 28 19:03:24 2023 -0700 # # Merge tag 'linux-kselftest-nolibc-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest # # Pull nolibc updates from Shuah Khan: # "Nolibc: # - improved portability by removing build errors with -ENOSYS # - added syscall6() on MIPS to support pselect6() and mmap() # - added setvbuf(), rmdir(), pipe(), pipe2() # - add support for ppc/ppc64 # - environ is no longer optional # - fixed frame pointer issues at -O0 # - dropped sys_stat() in favor of sys_statx() # - centralized _start_c() to remove lots of asm code # - switched size_t to __SIZE_TYPE__ # # Selftests: # - improved status reporting (success/warning/failure counts, path to # log file) # - various code cleanups (indent, unused variables, ...) # - more consistent test numbering # - enabled compiler warnings # - dropped unreliable chmod_net test # - improved reliability (create /dev/zero & /tmp, rely less on /proc) # - new tests (brk/sbrk/mmap/munmap) # - improved compatibility with musl # - new run-nolibc-test target to build and run natively # - new run-libc-test target to build and run against native libc # - made the cmdline parser more reliable against boolean arguments # - dropped dependency on memfd for vfprintf() test # - nolibc-test is no longer stripped # - added support for extending ARCH via XARCH # # Other: # - add Thomas as co-maintainer" # # * tag 'linux-kselftest-nolibc-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (103 commits) # tools/nolibc: avoid undesired casts in the __sysret() macro # tools/nolibc: keep brk(), sbrk(), mmap() away from __sysret() # tools/nolibc: silence ppc64 compile warnings # selftests/nolibc: libc-test: use HOSTCC instead of CC # tools/nolibc: stackprotector.h: make __stack_chk_init static # selftests/nolibc: allow report with existing test log # selftests/nolibc: add test support for ppc64 # selftests/nolibc: add test support for ppc64le # selftests/nolibc: add test support for ppc # selftests/nolibc: add XARCH and ARCH mapping support # tools/nolibc: add support for powerpc64 # tools/nolibc: add support for powerpc # MAINTAINERS: nolibc: add myself as co-maintainer # selftests/nolibc: enable compiler warnings # selftests/nolibc: don't strip nolibc-test # selftests/nolibc: prevent out of bounds access in expect_vfprintf # selftests/nolibc: use correct return type for read() and write() # selftests/nolibc: avoid sign-compare warnings # selftests/nolibc: avoid unused parameter warnings # selftests/nolibc: make functions static if possible # ... # < /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 1c59d383390f970b891b503b7f79b63a02db2ec5 # 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}:1091: Error: unknown opcode 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:243: drivers/net/pcs/pcs-xpcs.o] Error 4 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:480: drivers/net/pcs] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:480: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:480: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/Makefile:2032: .] Error 2 make[1]: *** [/kisskb/src/Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __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:03:32.499349