On Thu, Feb 13, 2025 at 9:37 AM Jeff Johnson <jeff.johnson@xxxxxxxxxxxxxxxx> wrote: > > I'm having a build issue when I move from 6.13 to 6.14-rc1 > > I'm cross-compiling on a corporate VM targeting a laptop. > > I use a local GNUmakefile with the contents: > export ARCH=x86 > export CROSS_COMPILE=/local/mnt/workspace/jjohnson/gcc-14.2.0-nolibc/x86_64-linux/bin/x86_64-linux- > include Makefile > > I then: > > make C=1 W=1 oldconfig && make C=1 W=1 -j`nproc` bindeb-pkg DEBUG_INFO=n > > With 6.13 this is working fine > With 6.14-rc1 I get: > > DEPMOD debian/linux-image-6.14.0-rc1/lib/modules/6.14.0-rc1 > dpkg-deb: building package 'linux-image-6.14.0-rc1' in '../linux-image-6.14.0-rc1_6.14.0-rc1-240_amd64.deb'. > dpkg-deb: building package 'linux-image-6.14.0-rc1-dbg' in '../linux-image-6.14.0-rc1-dbg_6.14.0-rc1-240_amd64.deb'. > HOSTCC debian/linux-headers-6.14.0-rc1/usr/src/linux-headers-6.14.0-rc1/scripts/basic/fixdep > /local/mnt/workspace/jjohnson/gcc-14.2.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/14.2.0/../../../../x86_64-linux/bin/ld: cannot find crt1.o: No such file or directory > /local/mnt/workspace/jjohnson/gcc-14.2.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/14.2.0/../../../../x86_64-linux/bin/ld: cannot find crti.o: No such file or directory > /local/mnt/workspace/jjohnson/gcc-14.2.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/14.2.0/../../../../x86_64-linux/bin/ld: cannot find -lc: No such file or directory > /local/mnt/workspace/jjohnson/gcc-14.2.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/14.2.0/../../../../x86_64-linux/bin/ld: cannot find crtn.o: No such file or directory > collect2: error: ld returned 1 exit status > make[7]: *** [scripts/Makefile.host:114: debian/linux-headers-6.14.0-rc1/usr/src/linux-headers-6.14.0-rc1/scripts/basic/fixdep] Error 1 > make[6]: *** [scripts/Makefile.build:465: debian/linux-headers-6.14.0-rc1/usr/src/linux-headers-6.14.0-rc1/scripts/basic] Error 2 > make[5]: *** [Makefile:2123: run-command] Error 2 > make[4]: *** [Makefile:2123: run-command] Error 2 > make[3]: *** [debian/rules:61: binary-headers] Error 2 > dpkg-buildpackage: error: make -f debian/rules binary subprocess returned exit status 2 > make[2]: *** [scripts/Makefile.package:126: bindeb-pkg] Error 2 > make[1]: *** [/local/mnt/workspace/jjohnson/kernel/laptop-debug/Makefile:1627: bindeb-pkg] Error 2 > make: *** [Makefile:251: __sub-make] Error 2 > > Is that "HOSTCC .../fixdep" using the CROSS_COMPILE toolchain instead of the host toolchain? > > Any idea what is happening here? This is a bug of 5f73e7d0386d970a7d0e9de5a58d53114de85033 I will send a fix later. -- Best Regards Masahiro Yamada