On Mon, Dec 28, 2020 at 9:04 AM Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote: > > On Mon, Dec 28, 2020 at 8:30 AM Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote: > > > > [ Please CC me I am not subscribed to LKML and linux-kbuild ML ] > > > > Hi Linus, Hi Mashiro, > > > > thanks for the Linux v5.11-rc1 release. > > > > With a new release I always do my first builds with my distro's > > default compiler and linker (GCC v10.2.1 and GNU/ld BFD v2.35.1). > > ( It's approx. 40% faster than LLVM toolchain v11.0.1-rc2 here on > > Debian/testing AMD64. ) > > > > The only warning I see for the first time (with v5.10.3 not observed): > > > > sh ./scripts/depmod.sh depmod 5.11.0-rc1-1-amd64-gcc10-bfd > > Warning: 'make modules_install' requires depmod. Please install it. > > This is probably in the kmod package. > > > > The only change I see in this area is: > > > > 436e980e2ed5 kbuild: don't hardcode depmod path > > > > depmod from kmod Debian package is placed and I have no /sbin in my > > user's path (and not before?): > > > > $ dpkg -L kmod | grep bin | grep depmod > > /sbin/depmod > > > > $ which depmod > > [ empty ] > > > > $ echo $PATH > > /opt/proxychains-ng/bin:/home/dileks/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games > > > > OK, this is a warning, but might confuse other users. > > > > Please, let me know if you need further information and keep me CCed. > > > > Thanks. > > > > Regards, > > - Sedat - > > > > [1] https://git.kernel.org/linus/436e980e2ed526832de822cbf13c317a458b78e1 > > [ Correct email-address of linux-kbuild ML ] > > This might be distro-specific: > > [ /etc/login.defs ] > > 99:# *REQUIRED* The default PATH settings, for superuser and normal users. > 100:# > 101:# (they are minimal, add the rest in the shell startup files) > 102:ENV_SUPATH > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin > 103:ENV_PATH PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games > > What is your recommendation? > For now, I reverted the above commit and use DEPMOD="/sbin/depmod". Can I pass DEPMOD="/sbin/depmod" to my make line to override the default DEPMOD in the top level Makefile? - Sedat -