lkml.org 
[lkml]   [2020]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjecti386: allmodconfig build failed on linux next
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=TuxBuild -C/linux ARCH=i386 HOSTCC=gcc
CC="sccache gcc" O=build allmodconfig

make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=i386 HOSTCC=gcc
CC="sccache gcc" O=build

../drivers/bus/mhi/core/debugfs.c: In function ‘mhi_debugfs_events_show’:
../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 ‘%llx’
expects argument of type ‘long long unsigned int’, but argument 4 has
type ‘dma_addr_t’ {aka ‘unsigned int’} [-Wformat=]
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 ‘mhi_debugfs_channels_show’:
../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 ‘%llx’
expects argument of type ‘long long unsigned int’, but argument 5 has
type ‘dma_addr_t’ {aka ‘unsigned int’} [-Wformat=]
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 <asm/socket.h>
| ^~~~~~~~~~~~~~
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 ‘__btrfs_free_extent’:
../include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects
argument of type ‘long unsigned int’, but argument 8 has type
‘unsigned int’ [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:10:19: note: in expansion of macro ‘KERN_SOH’
10 | #define KERN_CRIT KERN_SOH "2" /* critical conditions */
| ^~~~~~~~
../fs/btrfs/ctree.h:3148:24: note: in expansion of macro ‘KERN_CRIT’
3148 | btrfs_printk(fs_info, KERN_CRIT fmt, ##args)
| ^~~~~~~~~
../fs/btrfs/extent-tree.c:3187:4: note: in expansion of macro ‘btrfs_crit’
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
‘ice_free_flow_profs’:
../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 ‘ICE_FLOW_ENTRY_HNDL’
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 ‘ice_flow_add_entry’:
../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 ‘ICE_FLOW_ENTRY_HNDL’
946 | *entry_h = ICE_FLOW_ENTRY_HNDL(e);
| ^~~~~~~~~~~~~~~~~~~
../drivers/net/ethernet/intel/ice/ice_flow.c: In function ‘ice_flow_rem_entry’:
../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 ‘ICE_FLOW_ENTRY_PTR’
974 | entry = 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 ‘efi_mokvar_table_init’:
../include/linux/minmax.h:18:28: warning: comparison of distinct
pointer types lacks a cast
18 | (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
| ^~
../include/linux/minmax.h:32:4: note: in expansion of macro ‘__typecheck’
32 | (__typecheck(x, y) && __no_side_effects(x, y))
| ^~~~~~~~~~~
../include/linux/minmax.h:42:24: note: in expansion of macro ‘__safe_cmp’
42 | __builtin_choose_expr(__safe_cmp(x, y), \
| ^~~~~~~~~~
../include/linux/minmax.h:51:19: note: in expansion of macro ‘__careful_cmp’
51 | #define min(x, y) __careful_cmp(x, y, <)
| ^~~~~~~~~~~~~
../drivers/firmware/efi/mokvar-table.c:149:15: note: in expansion of macro ‘min’
149 | map_size = min(map_size_needed + 2*EFI_PAGE_SIZE,
| ^~~
../drivers/staging/media/atomisp/pci/atomisp_compat_css20.c: In
function ‘__set_css_print_env’:
../drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:860:50:
error: assignment to ‘int (*)(const char *, char *)’ from incompatible
pointer type ‘int (__attribute__((regparm(0))) *)(const char *, char
*)’ [-Werror=incompatible-pointer-types]
860 | isp->css_env.isp_css_env.print_env.debug_print = vprintk;
| ^
../drivers/staging/media/atomisp/pci/atomisp_compat_css20.c: In
function ‘atomisp_css_load_firmware’:
../drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:893:49:
error: assignment to ‘int (*)(const char *, char *)’ from incompatible
pointer type ‘int (__attribute__((regparm(0))) *)(const char *, char
*)’ [-Werror=incompatible-pointer-types]
893 | isp->css_env.isp_css_env.print_env.error_print = 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 ‘hmm_alloc’:
../drivers/staging/media/atomisp/pci/hmm/hmm.c:272:3: warning: format
‘%ld’ expects argument of type ‘long int’, but argument 6 has type
‘size_t’ {aka ‘unsigned int’} [-Wformat=]
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
‘__dynamic_func_call’
129 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
../include/linux/dynamic_debug.h:161:2: note: in expansion of macro
‘_dynamic_func_call’
161 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \
| ^~~~~~~~~~~~~~~~~~
../include/linux/dev_printk.h:123:2: note: in expansion of macro
‘dynamic_dev_dbg’
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~
../include/linux/dev_printk.h:123:23: note: in expansion of macro ‘dev_fmt’
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 ‘dev_dbg’
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.

--
Linaro LKFT
https://lkft.linaro.org

\
 
 \ /
  Last update: 2020-09-24 16:38    [W:0.047 / U:2.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site