Bug#981492: linux-source-5.10: Module-only builds failing since 39a8b293

2021-02-15 Thread Robert Schlabbach
Hello 小太, just to let you know that your bug report was useful anyway: I ran into the same issue, and needed the same fix. In fact, my build script had the "make modules_prepare" commented out, with a "# TODO: is this needed?" comment above. Apparently, it wasn't needed until Linux 5.10. So tha

Bug#981492: linux-source-5.10: Module-only builds failing since 39a8b293

2021-02-15 Thread ‍小太
Apologies - I jumped to conclusions in my original bug report After applying your patch and seeing it did not fix the issue, I did a bit of investigation myself. It turns out the problem wasn't in the linked commit, but actually part of the upstream kernel: https://git.kernel.org/pub/scm/linux/ker

Bug#981492: linux-source-5.10: Module-only builds failing since 39a8b293

2021-02-14 Thread Ben Hutchings
Control: tag -1 patch moreinfo Does this fix it? Ben. -- Ben Hutchings 73.46% of all statistics are made up. --- a/scripts/Makefile.modfinal +++ b/scripts/Makefile.modfinal @@ -28,7 +28,7 @@ quiet_cmd_cc_o_c = CC [M] $@ $(call if_changed_dep,cc_o_c) ARCH_POSTLINK := $(wildcard $(srctree)/

Bug#981492: linux-source-5.10: Module-only builds failing since 39a8b293

2021-01-31 Thread 小太
Package: linux-source-5.10 Version: 5.10.9-1 Severity: normal Tags: ftbfs X-Debbugs-Cc: nos...@kota.moe Trying to build in-tree kernel modules without the rest of the kernel (with the M=... make target) results in the build failing with "ld: cannot open linker script file -o: No such file or direc