Re: [linux-next:master] BUILD REGRESSION bfd521e1af519bb7096efc845f6a64a7de28c472

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

 



On Thu, Dec 03, 2020 at 06:28:33PM -0800, Andrew Morton wrote:
> On Fri, 04 Dec 2020 10:22:32 +0800 kernel test robot <lkp@xxxxxxxxx> wrote:
> 
> > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git  master
> > branch HEAD: bfd521e1af519bb7096efc845f6a64a7de28c472  Add linux-next specific files for 20201203
> > 
> > Error/Warning reports:
> > 
> > https://lore.kernel.org/linux-mm/202011132344.Q4vLYyjo-lkp@xxxxxxxxx
> > https://lore.kernel.org/linux-mm/202011140103.HdB9GCHV-lkp@xxxxxxxxx
> > https://lore.kernel.org/linux-mm/202011190324.7sEl5NQa-lkp@xxxxxxxxx
> > https://lore.kernel.org/linux-mm/202011200821.NM7YCoqv-lkp@xxxxxxxxx
> > https://lore.kernel.org/linux-mm/202011250841.Tq5AqGpo-lkp@xxxxxxxxx
> > https://lore.kernel.org/linux-mm/202011270731.3JVFTmkg-lkp@xxxxxxxxx
> > https://lore.kernel.org/linux-mm/202011301953.SFx1MoEt-lkp@xxxxxxxxx
> > https://lore.kernel.org/linux-mm/202012011816.FTGYYPVd-lkp@xxxxxxxxx
> > https://lore.kernel.org/linux-mm/202012031509.4O5ZoWNI-lkp@xxxxxxxxx
> > https://lore.kernel.org/linux-mm/202012032039.ypla4NJl-lkp@xxxxxxxxx
> > 
> > Error/Warning in current branch:
> > 
> > ERROR: modpost: "__umoddi3" [fs/btrfs/btrfs.ko] undefined!
> > aarch64-linux-ld: drivers/clk/meson/g12a.o:(.data+0x62b0): undefined reference to `meson_vid_pll_div_ro_ops'
> > drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5331:5: warning: no previous prototype for 'amdgpu_dm_crtc_atomic_set_property' [-Wmissing-prototypes]
> > drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5355:5: warning: no previous prototype for 'amdgpu_dm_crtc_atomic_get_property' [-Wmissing-prototypes]
> > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_dccg.c:46:6: warning: no previous prototype for 'dccg21_update_dpp_dto' [-Wmissing-prototypes]
> > drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dcn/dcn_3_0_2_sh_mask.h:9248:111: warning: initialized field overwritten [-Woverride-init]
> > drivers/mmc/host/mxcmmc.c:1028:18: warning: cast to smaller integer type 'enum mxcmci_type' from 'const void *' [-Wvoid-pointer-to-enum-cast]
> > drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:6360:13: warning: stack frame size of 2064 bytes in function 'mlxsw_sp_router_fib_event_work' [-Wframe-larger-than=]
> > drivers/tty/serial/mxs-auart.c:1656:15: warning: cast to smaller integer type 'enum mxs_auart_type' from 'const void *' [-Wvoid-pointer-to-enum-cast]
> > drivers/video/fbdev/smscufx.c:796:52: error: 'PAGE_SHARED' undeclared (first use in this function)
> > drivers/video/fbdev/udlfb.c:343:52: error: 'PAGE_SHARED' undeclared (first use in this function)
> > watchdog_hld.c:(.text+0x68): undefined reference to `hw_nmi_get_sample_period'
> > 
> > possible Error/Warning in current branch:
> > 
> > ERROR: modpost: "__udivdi3" [fs/btrfs/btrfs.ko] undefined!
> > drivers/staging/comedi/comedi_fops.c:2399:8: error: 'PAGE_SHARED' undeclared (first use in this function)
> > drivers/staging/comedi/comedi_fops.c:2399:8: error: 'PAGE_SHARED' undeclared (first use in this function); did you mean 'PAGE_SIZE'?
> > drivers/staging/comedi/comedi_fops.c:2399:8: error: 'PAGE_SHARED' undeclared (first use in this function); did you mean 'VM_SHARED'?
> > include/linux/mmzone.h:1156:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE
> 
> From this email I am unable to figure out which config triggered the
> above error?
Hi Andrew, the issue is initially reported to internal by ia64-defconfig as we found
the commit is gone by the time we want to send out report.

This warning is still existed in linux-next head bfd521e1af519bb7096efc845f6a64a7de28c472,
but we will check how to make the build status report more clear to provide enough info.

Below is internal report that doesn't send out

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   2ad4382198191b634e69a370d041928484ef0bf8
commit: 69fe84165b1f0befc0b5b9a80de3e86c34894b45 [4426/4770] mm: fix phys_to_target_node() and memory_add_physaddr_to_nid() exports

All errors (new ones prefixed by >>):

   In file included from include/linux/numa.h:25,
                    from drivers/md/dm-stats.c:3:
   arch/ia64/include/asm/sparsemem.h:14:40: warning: "PAGE_SHIFT" is not defined, evaluates to 0 [-Wundef]
      14 | #if ((CONFIG_FORCE_MAX_ZONEORDER - 1 + PAGE_SHIFT) > SECTION_SIZE_BITS)
         |                                        ^~~~~~~~~~
   In file included from include/linux/gfp.h:6,
                    from include/linux/slab.h:15,
                    from drivers/md/dm-stats.c:4:
>> include/linux/mmzone.h:1170:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE
    1170 | #error Allocator MAX_ORDER exceeds SECTION_SIZE
         |  ^~~~~

vim +1170 include/linux/mmzone.h

d41dee369bff3b9 Andy Whitcroft 2005-06-23  1165
835c134ec4dd755 Mel Gorman     2007-10-16  1166  #define SECTION_BLOCKFLAGS_BITS \
d9c2340052278d8 Mel Gorman     2007-10-16  1167         ((1UL << (PFN_SECTION_SHIFT - pageblock_order)) * NR_PAGEBLOCK_BITS)
835c134ec4dd755 Mel Gorman     2007-10-16  1168
d41dee369bff3b9 Andy Whitcroft 2005-06-23  1169  #if (MAX_ORDER - 1 + PAGE_SHIFT) > SECTION_SIZE_BITS
d41dee369bff3b9 Andy Whitcroft 2005-06-23 @1170  #error Allocator MAX_ORDER exceeds SECTION_SIZE
d41dee369bff3b9 Andy Whitcroft 2005-06-23  1171  #endif
d41dee369bff3b9 Andy Whitcroft 2005-06-23  1172

:::::: The code at line 1170 was first introduced by commit
:::::: d41dee369bff3b9dcb6328d4d822926c28cc2594 [PATCH] sparsemem memory model


> 
> > net/sched/sch_cake.c:2942:1: warning: the frame size of 1472 bytes is larger than 1280 bytes [-Wframe-larger-than=]
> > 
> > Error/Warning ids grouped by kconfigs:
> > 
> > gcc_recent_errors
> > |-- alpha-allyesconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   `-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |-- arc-allyesconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   `-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |-- arm-allmodconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   `-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |-- arm-allyesconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   `-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |-- arm64-allyesconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   `-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |-- arm64-randconfig-r023-20201203
> > |   |-- aarch64-linux-ld:drivers-clk-meson-g12a.o:(.data):undefined-reference-to-meson_vid_pll_div_ro_ops
> > |   `-- watchdog_hld.c:(.text):undefined-reference-to-hw_nmi_get_sample_period
> > |-- i386-allyesconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dcn21-dcn21_dccg.c:warning:no-previous-prototype-for-dccg21_update_dpp_dto
> > |   `-- drivers-gpu-drm-amd-amdgpu-..-include-asic_reg-dcn-dcn_3_0_2_sh_mask.h:warning:initialized-field-overwritten
> > |-- i386-randconfig-a006-20201203
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dcn21-dcn21_dccg.c:warning:no-previous-prototype-for-dccg21_update_dpp_dto
> > |   `-- drivers-gpu-drm-amd-amdgpu-..-include-asic_reg-dcn-dcn_3_0_2_sh_mask.h:warning:initialized-field-overwritten
> > |-- ia64-allmodconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   `-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |-- ia64-allyesconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   `-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |-- ia64-defconfig
> > |   `-- include-linux-mmzone.h:error:error-Allocator-MAX_ORDER-exceeds-SECTION_SIZE
> > |-- mips-allmodconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |   |-- drivers-staging-comedi-comedi_fops.c:error:PAGE_SHARED-undeclared-(first-use-in-this-function)
> > |   |-- drivers-video-fbdev-smscufx.c:error:PAGE_SHARED-undeclared-(first-use-in-this-function)
> > |   `-- drivers-video-fbdev-udlfb.c:error:PAGE_SHARED-undeclared-(first-use-in-this-function)
> > |-- mips-allyesconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |   |-- drivers-staging-comedi-comedi_fops.c:error:PAGE_SHARED-undeclared-(first-use-in-this-function)
> > |   |-- drivers-video-fbdev-smscufx.c:error:PAGE_SHARED-undeclared-(first-use-in-this-function)
> > |   `-- drivers-video-fbdev-udlfb.c:error:PAGE_SHARED-undeclared-(first-use-in-this-function)
> > |-- mips-randconfig-r001-20201203
> > |   `-- drivers-staging-comedi-comedi_fops.c:error:PAGE_SHARED-undeclared-(first-use-in-this-function)
> > |-- parisc-allyesconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |   `-- net-sched-sch_cake.c:warning:the-frame-size-of-bytes-is-larger-than-bytes
> > |-- powerpc-allmodconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   `-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |-- powerpc-allyesconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   `-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |-- riscv-allmodconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   `-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |-- riscv-allyesconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   `-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |-- s390-allyesconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   `-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |-- sh-allmodconfig
> > |   |-- ERROR:__udivdi3-fs-btrfs-btrfs.ko-undefined
> > |   `-- ERROR:__umoddi3-fs-btrfs-btrfs.ko-undefined
> > |-- sparc-allyesconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   `-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > |-- x86_64-allyesconfig
> > |   |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> > |   `-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > `-- xtensa-allyesconfig
> >     |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_get_property
> >     `-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm.c:warning:no-previous-prototype-for-amdgpu_dm_crtc_atomic_set_property
> > 
> > clang_recent_errors
> > |-- arm64-randconfig-r003-20201203
> > |   |-- drivers-mmc-host-mxcmmc.c:warning:cast-to-smaller-integer-type-enum-mxcmci_type-from-const-void
> > |   `-- drivers-tty-serial-mxs-auart.c:warning:cast-to-smaller-integer-type-enum-mxs_auart_type-from-const-void
> > |-- arm64-randconfig-r031-20201203
> > |   `-- drivers-tty-serial-mxs-auart.c:warning:cast-to-smaller-integer-type-enum-mxs_auart_type-from-const-void
> > |-- powerpc64-randconfig-r032-20201203
> > |   `-- drivers-net-ethernet-mellanox-mlxsw-spectrum_router.c:warning:stack-frame-size-of-bytes-in-function-mlxsw_sp_router_fib_event_work
> > `-- x86_64-randconfig-r036-20201203
> >     `-- drivers-tty-serial-mxs-auart.c:warning:cast-to-smaller-integer-type-enum-mxs_auart_type-from-const-void
> > 
> > elapsed time: 933m
> > 
> > configs tested: 88
> > configs skipped: 2
> > 
> > gcc tested configs:
> > arm                                 defconfig
> > arm64                            allyesconfig
> > arm64                               defconfig
> > arm                              allyesconfig
> > arm                              allmodconfig
> > powerpc                   motionpro_defconfig
> > mips                     cu1830-neo_defconfig
> > sh                        sh7763rdp_defconfig
> > powerpc                   lite5200b_defconfig
> > powerpc                     sbc8548_defconfig
> > arm                      footbridge_defconfig
> > sh                                  defconfig
> > sh                          r7785rp_defconfig
> > powerpc                      arches_defconfig
> > arm                            xcep_defconfig
> > arm                            hisi_defconfig
> > arm                             ezx_defconfig
> > arm                        multi_v5_defconfig
> > mips                  decstation_64_defconfig
> > ia64                            zx1_defconfig
> > xtensa                           alldefconfig
> > m68k                          hp300_defconfig
> > arm                             pxa_defconfig
> > sh                          r7780mp_defconfig
> > mips                      loongson3_defconfig
> > powerpc64                        alldefconfig
> > xtensa                  cadence_csp_defconfig
> > ia64                             allmodconfig
> > ia64                                defconfig
> > ia64                             allyesconfig
> > m68k                             allmodconfig
> > m68k                                defconfig
> > m68k                             allyesconfig
> > nios2                               defconfig
> > arc                              allyesconfig
> > nds32                             allnoconfig
> > c6x                              allyesconfig
> > nds32                               defconfig
> > nios2                            allyesconfig
> > csky                                defconfig
> > alpha                               defconfig
> > alpha                            allyesconfig
> > xtensa                           allyesconfig
> > h8300                            allyesconfig
> > arc                                 defconfig
> > sh                               allmodconfig
> > parisc                              defconfig
> > s390                             allyesconfig
> > parisc                           allyesconfig
> > s390                                defconfig
> > i386                             allyesconfig
> > sparc                            allyesconfig
> > sparc                               defconfig
> > i386                                defconfig
> > mips                             allyesconfig
> > mips                             allmodconfig
> > powerpc                          allyesconfig
> > powerpc                          allmodconfig
> > powerpc                           allnoconfig
> > i386                 randconfig-a004-20201203
> > i386                 randconfig-a005-20201203
> > i386                 randconfig-a001-20201203
> > i386                 randconfig-a002-20201203
> > i386                 randconfig-a006-20201203
> > i386                 randconfig-a003-20201203
> > x86_64               randconfig-a012-20201203
> > x86_64               randconfig-a013-20201203
> > x86_64               randconfig-a011-20201203
> > i386                 randconfig-a014-20201203
> > i386                 randconfig-a013-20201203
> > i386                 randconfig-a011-20201203
> > i386                 randconfig-a015-20201203
> > i386                 randconfig-a012-20201203
> > i386                 randconfig-a016-20201203
> > riscv                    nommu_k210_defconfig
> > riscv                            allyesconfig
> > riscv                    nommu_virt_defconfig
> > riscv                             allnoconfig
> > riscv                               defconfig
> > riscv                          rv32_defconfig
> > riscv                            allmodconfig
> > x86_64                                   rhel
> > x86_64                           allyesconfig
> > x86_64                    rhel-7.6-kselftests
> > x86_64                              defconfig
> > x86_64                               rhel-8.3
> > x86_64                                  kexec
> > 
> > clang tested configs:
> > x86_64               randconfig-a004-20201203
> > 
> > ---
> > 0-DAY CI Kernel Test Service, Intel Corporation
> > https://lists.01.org/hyperkitty/list/kbuild-all@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