Re: [kbuild-all] Re: [linux-next:master 12485/12912] cc1: error: arch/um/include/uapi: No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 5/28/20 6:00 AM, Andrew Morton wrote:
On Wed, 27 May 2020 20:02:15 +0800 kbuild test robot <lkp@xxxxxxxxx> wrote:

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   b0523c7b1c9d0edcd6c0fe6d2cb558a9ad5c60a8
commit: cb6c014b5a3f9082ef4ff45684d7bf17e5441b36 [12485/12912] lib: make a test module with set/clear bit
config: um-allmodconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
         git checkout cb6c014b5a3f9082ef4ff45684d7bf17e5441b36
         # save the attached .config to linux build tree
         make W=1 ARCH=um

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>, old ones prefixed by <<):

cc1: error: arch/um/include/uapi: No such file or directory [-Werror=missing-include-dirs]
cc1: all warnings being treated as errors
Thanks.    I don't think this patch could cause this error.  I suspect the um
Makefiles are having problems.
+++ b/lib/Makefile
@@ -76,6 +76,8 @@ obj-$(CONFIG_TEST_SORT) += test_sort.o
 obj-$(CONFIG_TEST_USER_COPY) += test_user_copy.o
 obj-$(CONFIG_TEST_STATIC_KEYS) += test_static_keys.o
 obj-$(CONFIG_TEST_STATIC_KEYS) += test_static_key_base.o
+obj-$(CONFIG_TEST_BITOPS) += test_bitops.o
+CFLAGS_test_bitops.o += -Werror

-Werror is added by this patch, and 0Day is not intelligent enough :)
so 0Day realized there are new errors

we will try to improve 0Day/LKP in the future.

Thanks
Zhijian



When I do

make allmodconfig
make -j20 W=1 M=lib

I get a screenful of these warnings.
_______________________________________________
kbuild-all mailing list -- kbuild-all@xxxxxxxxxxxx
To unsubscribe send an email to kbuild-all-leave@xxxxxxxxxxxx






[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux