Hi, On Fri, Jun 05, 2020 at 10:39:55AM +0300, Denis Efremov wrote: > Allow user to use alternative implementations of compression tools, > such as pigz, pbzip2, pxz. For example, multi-threaded tools to > speed up the build: > $ make GZIP=pigz BZIP2=pbzip2 > > Variables _GZIP, _BZIP2, _LZOP are used internally because original env > vars are reserved by the tools. The use of GZIP in gzip tool is obsolete > since 2015. However, alternative implementations (e.g., pigz) still rely > on it. BZIP2, BZIP, LZOP vars are not obsolescent. > When building mips:defconfig, this patch results in: Building mips:defconfig ... failed -------------- Error log: /bin/sh: -n: command not found make[3]: *** [kernel/config_data.gz] Error 127 make[3]: *** Deleting file 'kernel/config_data.gz' make[3]: *** Waiting for unfinished jobs.... make[2]: *** [kernel] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [autoksyms_recursive] Error 2 make: *** [__sub-make] Error 2 Reverting this patch fixes the problem. Bisect log is attached. Guenter --- # bad: [cf0c97f148e9e50aa5a7ddd1984a604dd2bde4af] Merge tag 'pinctrl-v5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl # good: [aaa2faab4ed8e5fe0111e04d6e168c028fe2987f] Merge tag 'for-linus-5.8-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux git bisect start 'HEAD' 'aaa2faab4ed8' # good: [77f55d1305c11fb729b88f2c3f7881ba0831fa6f] staging: rtl8723bs: Use common packet header constants git bisect good 77f55d1305c11fb729b88f2c3f7881ba0831fa6f # bad: [e611c0fe318c6d6827ee2bba660fbc23cf73f7dc] Merge tag 'usb-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb git bisect bad e611c0fe318c6d6827ee2bba660fbc23cf73f7dc # bad: [cff11abeca78aa782378401ca2800bd2194aa14e] Merge tag 'kbuild-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild git bisect bad cff11abeca78aa782378401ca2800bd2194aa14e # good: [2bd81cd04a3f5eb873cc81fa16c469377be3b092] Merge branch 'remotes/lorenzo/pci/vmd' git bisect good 2bd81cd04a3f5eb873cc81fa16c469377be3b092 # good: [269a535ca931b754a40dda3ab60514e68773c759] modpost: generate vmlinux.symvers and reuse it for the second modpost git bisect good 269a535ca931b754a40dda3ab60514e68773c759 # good: [e542e0dc3ee3eafc46dd8e3073388079d69cace0] Merge branch 'dmi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging git bisect good e542e0dc3ee3eafc46dd8e3073388079d69cace0 # good: [4de7b62936122570408357417f21072e78292926] modpost: remove is_vmlinux() helper git bisect good 4de7b62936122570408357417f21072e78292926 # good: [1ee18de92927f37e6948d5a6fc73cbf89f806905] Merge tag 'dma-mapping-5.8' of git://git.infradead.org/users/hch/dma-mapping git bisect good 1ee18de92927f37e6948d5a6fc73cbf89f806905 # bad: [8dfb61dcbaceb19a5ded5e9c9dcf8d05acc32294] kbuild: add variables for compression tools git bisect bad 8dfb61dcbaceb19a5ded5e9c9dcf8d05acc32294 # good: [c0901577e1dcc8d1c0fd1a11c8d571f650df845f] kbuild: doc: rename LDFLAGS to KBUILD_LDFLAGS git bisect good c0901577e1dcc8d1c0fd1a11c8d571f650df845f # good: [e0b250b57dcf403529081e5898a9de717f96b76b] Makefile: install modules.builtin even if CONFIG_MODULES=n git bisect good e0b250b57dcf403529081e5898a9de717f96b76b # first bad commit: [8dfb61dcbaceb19a5ded5e9c9dcf8d05acc32294] kbuild: add variables for compression tools