From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8007C4363D for ; Thu, 24 Sep 2020 14:37:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9452123741 for ; Thu, 24 Sep 2020 14:37:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="hR3QsXIY" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728287AbgIXOhj (ORCPT ); Thu, 24 Sep 2020 10:37:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728285AbgIXOhg (ORCPT ); Thu, 24 Sep 2020 10:37:36 -0400 Received: from mail-vk1-xa2c.google.com (mail-vk1-xa2c.google.com [IPv6:2607:f8b0:4864:20::a2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E033C0613D3 for ; Thu, 24 Sep 2020 07:37:35 -0700 (PDT) Received: by mail-vk1-xa2c.google.com with SMTP id q124so953373vkb.8 for ; Thu, 24 Sep 2020 07:37:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=Y+sY5R9BB1m0tnZgETWGm1/pCFVH9axPAXKPrQuX+UI=; b=hR3QsXIYBnI6Vd62/KFSvHz3GH86eRf00HC7RuFHojqbSkEvtqengUdf4AU2sLWRrP 9Twxsb0n4+YqJaA0gfey8koYjKFs4GtdaCNV9vNmWeGQHWBs0ixYNUowWV7LbUbTkhgN wwIxNaMOTXqRm6XHIQmThYm377r0mkynlyfrtGG4SI1kzRfRteqJ4SQE7tGkKZY8m5fi PJSat0T3igs534E2sK/LM/S6inDijwqy0CCiqWPZkJbjYTy2hWkgLFiiHcQP8zPYN59y ITS0efQRzOiylzUcenR0rU7DW67u3oSqk4Cd8r5H1IJP9O98G8qTy4nTNQdyBt5/jqOw i0ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=Y+sY5R9BB1m0tnZgETWGm1/pCFVH9axPAXKPrQuX+UI=; b=DE+lt125O+nDN05w4+TAD5ER46//UZv6raCXsovRNzr1RCxoM2AhcoPOAQkZxfE6jO 5BuhDVoAGG7yb76SM/PH8eWD16PFg0xkRmSXhJVrWa4V/L1jOnnMQJpeVSxPv5CvU2Ny Dfmu0TZR10fozOmvpGQcxKwtoCrIM/Jd2go0SCQTjco70NxWeNttDuUNWpbK3JCbBKxD TX15aV06v0sYzTjiJ6ovW3IEIJ5k/ZhBmTGhhlmGxfUgS5TNGBLHd/9t7qhT+FApss0Q xP7Vdlo/9DLTCjPWU7CUEqKerBvFA2K8RQSyK5qYvB1KWYTmo1DtsbxLqPaVoCcTU6+4 lVZg== X-Gm-Message-State: AOAM530DrASl3cAf7hTMsvHmjVO2eyd9UCXTDqyIx45zlv3dmKCuNkUh DyNWPjpk+iV1BEW/W0br4J7gZn2kLnFJjFtrsj6jU66WeWB2EiBG X-Google-Smtp-Source: ABdhPJz/1ugw5vGXzY5IhqsVU4RR0CGvMpxr2KfhDZ18CkSWeRw1I+fPQbfCgpteCj5LxlXmT9qvi7F0gzCfzTRQNNY= X-Received: by 2002:a1f:7882:: with SMTP id t124mr4288846vkc.22.1600958252946; Thu, 24 Sep 2020 07:37:32 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Thu, 24 Sep 2020 20:07:21 +0530 Message-ID: Subject: i386: allmodconfig build failed on linux next To: Linux-Next Mailing List , open list , Netdev , bpf Cc: lkft-triage@lists.linaro.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org i386 allmodconfig build failed on linux next due to below errors. Since we recently started building allmodconfig. we do not have when this problem started. We are building with gcc-8, gcc-9 and gcc-10. Build log: ------------ make -sk KBUILD_BUILD_USER=3DTuxBuild -C/linux ARCH=3Di386 HOSTCC=3Dgcc CC=3D"sccache gcc" O=3Dbuild allmodconfig make -sk KBUILD_BUILD_USER=3DTuxBuild -C/linux -j16 ARCH=3Di386 HOSTCC=3Dgc= c CC=3D"sccache gcc" O=3Dbuild ../drivers/bus/mhi/core/debugfs.c: In function =E2=80=98mhi_debugfs_events_= show=E2=80=99: ../drivers/bus/mhi/core/debugfs.c:74:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 74 | seq_printf(m, " local rp: 0x%llx db: 0x%llx\n", (u64)ring->rp, | ^ ../drivers/bus/mhi/core/debugfs.c:74:45: warning: format =E2=80=98%llx=E2= =80=99 expects argument of type =E2=80=98long long unsigned int=E2=80=99, but argu= ment 4 has type =E2=80=98dma_addr_t=E2=80=99 {aka =E2=80=98unsigned int=E2=80=99} [-Wf= ormat=3D] 74 | seq_printf(m, " local rp: 0x%llx db: 0x%llx\n", (u64)ring->rp, | ~~~^ | | | long long unsigned int | %x 75 | mhi_event->db_cfg.db_val); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | dma_addr_t {aka unsigned int} ../drivers/bus/mhi/core/debugfs.c: In function =E2=80=98mhi_debugfs_channel= s_show=E2=80=99: ../drivers/bus/mhi/core/debugfs.c:122:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 122 | (u64)ring->rp, (u64)ring->wp, | ^ ../drivers/bus/mhi/core/debugfs.c:122:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 122 | (u64)ring->rp, (u64)ring->wp, | ^ ../drivers/bus/mhi/core/debugfs.c:121:62: warning: format =E2=80=98%llx=E2= =80=99 expects argument of type =E2=80=98long long unsigned int=E2=80=99, but argu= ment 5 has type =E2=80=98dma_addr_t=E2=80=99 {aka =E2=80=98unsigned int=E2=80=99} [-Wf= ormat=3D] 121 | seq_printf(m, " local rp: 0x%llx local wp: 0x%llx db: 0x%llx\n", | ~~~^ | | | long long unsigned int | %x 122 | (u64)ring->rp, (u64)ring->wp, 123 | mhi_chan->db_cfg.db_val); | ~~~~~~~~~~~~~~~~~~~~~~~ | | | dma_addr_t {aka unsigned int} In file included from /usr/include/sys/socket.h:33, from ../net/bpfilter/main.c:6: /usr/include/bits/socket.h:354:11: fatal error: asm/socket.h: No such file or directory 354 | # include | ^~~~~~~~~~~~~~ compilation terminated. make[3]: *** [scripts/Makefile.userprogs:43: net/bpfilter/main.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [../scripts/Makefile.build:500: net/bpfilter] Error 2 In file included from ../include/linux/printk.h:7, from ../include/linux/kernel.h:16, from ../arch/x86/include/asm/percpu.h:27, from ../arch/x86/include/asm/current.h:6, from ../include/linux/sched.h:12, from ../fs/btrfs/extent-tree.c:6: ../fs/btrfs/extent-tree.c: In function =E2=80=98__btrfs_free_extent=E2=80= =99: ../include/linux/kern_levels.h:5:18: warning: format =E2=80=98%lu=E2=80=99 = expects argument of type =E2=80=98long unsigned int=E2=80=99, but argument 8 has ty= pe =E2=80=98unsigned int=E2=80=99 [-Wformat=3D] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ../include/linux/kern_levels.h:10:19: note: in expansion of macro =E2=80=98= KERN_SOH=E2=80=99 10 | #define KERN_CRIT KERN_SOH "2" /* critical conditions */ | ^~~~~~~~ ../fs/btrfs/ctree.h:3148:24: note: in expansion of macro =E2=80=98KERN_CRIT= =E2=80=99 3148 | btrfs_printk(fs_info, KERN_CRIT fmt, ##args) | ^~~~~~~~~ ../fs/btrfs/extent-tree.c:3187:4: note: in expansion of macro =E2=80=98btrf= s_crit=E2=80=99 3187 | btrfs_crit(info, | ^~~~~~~~~~ make[2]: Target '__build' not remade because of errors. make[1]: *** [/linux/Makefile:1792: net] Error 2 In file included from ../drivers/net/ethernet/intel/ice/ice_flex_pipe.c:6: ../drivers/net/ethernet/intel/ice/ice_flex_pipe.c: In function =E2=80=98ice_free_flow_profs=E2=80=99: ../drivers/net/ethernet/intel/ice/ice_flow.h:197:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 197 | #define ICE_FLOW_ENTRY_HNDL(e) ((u64)e) | ^ ../drivers/net/ethernet/intel/ice/ice_flex_pipe.c:2921:9: note: in expansion of macro =E2=80=98ICE_FLOW_ENTRY_HNDL=E2=80=99 2921 | ICE_FLOW_ENTRY_HNDL(e)); | ^~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/intel/ice/ice_flow.c:5: ../drivers/net/ethernet/intel/ice/ice_flow.c: In function =E2=80=98ice_flow= _add_entry=E2=80=99: ../drivers/net/ethernet/intel/ice/ice_flow.h:197:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 197 | #define ICE_FLOW_ENTRY_HNDL(e) ((u64)e) | ^ ../drivers/net/ethernet/intel/ice/ice_flow.c:946:13: note: in expansion of macro =E2=80=98ICE_FLOW_ENTRY_HNDL=E2=80=99 946 | *entry_h =3D ICE_FLOW_ENTRY_HNDL(e); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ice/ice_flow.c: In function =E2=80=98ice_flow= _rem_entry=E2=80=99: ../drivers/net/ethernet/intel/ice/ice_flow.h:198:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 198 | #define ICE_FLOW_ENTRY_PTR(h) ((struct ice_flow_entry *)(h)) | ^ ../drivers/net/ethernet/intel/ice/ice_flow.c:974:10: note: in expansion of macro =E2=80=98ICE_FLOW_ENTRY_PTR=E2=80=99 974 | entry =3D ICE_FLOW_ENTRY_PTR(entry_h); | ^~~~~~~~~~~~~~~~~~ In file included from ../include/linux/kernel.h:14, from ../arch/x86/include/asm/percpu.h:27, from ../arch/x86/include/asm/current.h:6, from ../arch/x86/include/asm/processor.h:17, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:65, from ../include/linux/time32.h:13, from ../include/linux/time.h:73, from ../include/linux/efi.h:17, from ../drivers/firmware/efi/mokvar-table.c:35: ../drivers/firmware/efi/mokvar-table.c: In function =E2=80=98efi_mokvar_tab= le_init=E2=80=99: ../include/linux/minmax.h:18:28: warning: comparison of distinct pointer types lacks a cast 18 | (!!(sizeof((typeof(x) *)1 =3D=3D (typeof(y) *)1))) | ^~ ../include/linux/minmax.h:32:4: note: in expansion of macro =E2=80=98__type= check=E2=80=99 32 | (__typecheck(x, y) && __no_side_effects(x, y)) | ^~~~~~~~~~~ ../include/linux/minmax.h:42:24: note: in expansion of macro =E2=80=98__saf= e_cmp=E2=80=99 42 | __builtin_choose_expr(__safe_cmp(x, y), \ | ^~~~~~~~~~ ../include/linux/minmax.h:51:19: note: in expansion of macro =E2=80=98__car= eful_cmp=E2=80=99 51 | #define min(x, y) __careful_cmp(x, y, <) | ^~~~~~~~~~~~~ ../drivers/firmware/efi/mokvar-table.c:149:15: note: in expansion of macro = =E2=80=98min=E2=80=99 149 | map_size =3D min(map_size_needed + 2*EFI_PAGE_SIZE, | ^~~ ../drivers/staging/media/atomisp/pci/atomisp_compat_css20.c: In function =E2=80=98__set_css_print_env=E2=80=99: ../drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:860:50: error: assignment to =E2=80=98int (*)(const char *, char *)=E2=80=99 from i= ncompatible pointer type =E2=80=98int (__attribute__((regparm(0))) *)(const char *, cha= r *)=E2=80=99 [-Werror=3Dincompatible-pointer-types] 860 | isp->css_env.isp_css_env.print_env.debug_print =3D vprintk; | ^ ../drivers/staging/media/atomisp/pci/atomisp_compat_css20.c: In function =E2=80=98atomisp_css_load_firmware=E2=80=99: ../drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:893:49: error: assignment to =E2=80=98int (*)(const char *, char *)=E2=80=99 from i= ncompatible pointer type =E2=80=98int (__attribute__((regparm(0))) *)(const char *, cha= r *)=E2=80=99 [-Werror=3Dincompatible-pointer-types] 893 | isp->css_env.isp_css_env.print_env.error_print =3D vprintk; | ^ cc1: some warnings being treated as errors make[5]: *** [../scripts/Makefile.build:283: drivers/staging/media/atomisp/pci/atomisp_compat_css20.o] Error 1 In file included from ../include/linux/printk.h:409, from ../include/linux/kernel.h:16, from ../drivers/staging/media/atomisp/pci/hmm/hmm.c:23: ../drivers/staging/media/atomisp/pci/hmm/hmm.c: In function =E2=80=98hmm_al= loc=E2=80=99: ../drivers/staging/media/atomisp/pci/hmm/hmm.c:272:3: warning: format =E2=80=98%ld=E2=80=99 expects argument of type =E2=80=98long int=E2=80=99, = but argument 6 has type =E2=80=98size_t=E2=80=99 {aka =E2=80=98unsigned int=E2=80=99} [-Wformat=3D] 272 | "%s: pages: 0x%08x (%ld bytes), type: %d from highmem %d, user ptr %p, cached %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~~~~~~~~ ../include/linux/dynamic_debug.h:129:15: note: in definition of macro =E2=80=98__dynamic_func_call=E2=80=99 129 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~ ../include/linux/dynamic_debug.h:161:2: note: in expansion of macro =E2=80=98_dynamic_func_call=E2=80=99 161 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \ | ^~~~~~~~~~~~~~~~~~ ../include/linux/dev_printk.h:123:2: note: in expansion of macro =E2=80=98dynamic_dev_dbg=E2=80=99 123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~~~~ ../include/linux/dev_printk.h:123:23: note: in expansion of macro =E2=80=98= dev_fmt=E2=80=99 123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~ ../drivers/staging/media/atomisp/pci/hmm/hmm.c:271:2: note: in expansion of macro =E2=80=98dev_dbg=E2=80=99 271 | dev_dbg(atomisp_dev, | ^~~~~~~ ../drivers/staging/media/atomisp/pci/hmm/hmm.c:272:25: note: format string is defined here 272 | "%s: pages: 0x%08x (%ld bytes), type: %d from highmem %d, user ptr %p, cached %d\n", | ~~^ | | | long int | %d make[5]: Target '__build' not remade because of errors. make[4]: *** [../scripts/Makefile.build:500: drivers/staging/media/atomisp] Error 2 make[4]: Target '__build' not remade because of errors. make[3]: *** [../scripts/Makefile.build:500: drivers/staging/media] Error 2 make[3]: Target '__build' not remade because of errors. make[2]: *** [../scripts/Makefile.build:500: drivers/staging] Error 2 make[2]: Target '__build' not remade because of errors. make[1]: *** [/linux/Makefile:1792: drivers] Error 2 make[1]: Target '__all' not remade because of errors. make: *** [Makefile:185: __sub-make] Error 2 make: Target '__all' not remade because of errors. --=20 Linaro LKFT https://lkft.linaro.org