# git rev-parse -q --verify 4bf73588165ba7d32131a043775557a54b6e1db5^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-kbuild.git for-next 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 4bf73588165ba7d32131a043775557a54b6e1db5^{commit} 4bf73588165ba7d32131a043775557a54b6e1db5 # git checkout -q -f -B kisskb 4bf73588165ba7d32131a043775557a54b6e1db5 # git clean -qxdf # < git log -1 # commit 4bf73588165ba7d32131a043775557a54b6e1db5 # Author: Dmitry Goncharov # Date: Mon Dec 5 16:48:19 2022 -0500 # # kbuild: Port silent mode detection to future gnu make. # # Port silent mode detection to the future (post make-4.4) versions of gnu make. # # Makefile contains the following piece of make code to detect if option -s is # specified on the command line. # # ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),) # # This code is executed by make at parse time and assumes that MAKEFLAGS # does not contain command line variable definitions. # Currently if the user defines a=s on the command line, then at build only # time MAKEFLAGS contains " -- a=s". # However, starting with commit dc2d963989b96161472b2cd38cef5d1f4851ea34 # MAKEFLAGS contains command line definitions at both parse time and # build time. # # This '-s' detection code then confuses a command line variable # definition which contains letter 's' with option -s. # # $ # old make # $ make net/wireless/ocb.o a=s # CALL scripts/checksyscalls.sh # DESCEND objtool # $ # this a new make which defines makeflags at parse time # $ ~/src/gmake/make/l64/make net/wireless/ocb.o a=s # $ # # We can see here that the letter 's' from 'a=s' was confused with -s. # # This patch checks for presence of -s using a method recommended by the # make manual here # https://www.gnu.org/software/make/manual/make.html#Testing-Flags. # # Link: https://lists.gnu.org/archive/html/bug-make/2022-11/msg00190.html # Reported-by: Jan Palus # Signed-off-by: Dmitry Goncharov # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 4bf73588165ba7d32131a043775557a54b6e1db5 # < make -s -j 160 ARCH=arm64 O=/kisskb/build/kbuild_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- defconfig # < make -s -j 160 ARCH=arm64 O=/kisskb/build/kbuild_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 160 ARCH=arm64 O=/kisskb/build/kbuild_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 160 ARCH=arm64 O=/kisskb/build/kbuild_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/kbuild_arm64-defconfig_arm64-gcc11 # Build took: 0:03:59.925667