tree/branch: https://gitee.com/openeuler/kernel.git OLK-6.6
branch HEAD: 84404f248a61323e09909849803ea4efce81742f !11556 bpf: Fix a kernel verifier crash in stacksafe()
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202409151313.4XBOlxtN-lkp@intel.comhttps://lore.kernel.org/oe-kbuild-all/202409151723.cHHy97fz-lkp@intel.comhttps://lore.kernel.org/oe-kbuild-all/202409160027.9Sg9DJSu-lkp@intel.comhttps://lore.kernel.org/oe-kbuild-all/202409160214.lVT0QY5g-lkp@intel.comhttps://lore.kernel.org/oe-kbuild-all/202409160256.rcSYesB7-lkp@intel.comhttps://lore.kernel.org/oe-kbuild-all/202409160318.lnCckgr9-lkp@intel.comhttps://lore.kernel.org/oe-kbuild-all/202409160448.mekEXGBM-lkp@intel.comhttps://lore.kernel.org/oe-kbuild-all/202409160450.X95GB3Yc-lkp@intel.com
drivers/crypto/ccp/hygon/hct.c:1730:51: error: 'struct device' has no member named 'numa_node'
include/linux/syscalls.h:247:28: error: invalid storage class for function '__do_sys_membarrier'
include/linux/syscalls.h:249:25: error: static declaration of '__se_sys_membarrier' follows non-static declaration
kernel/sched/autogroup.c:15:35: error: initializer element is not constant
kernel/sched/autogroup.c:202:15: error: non-static declaration of 'sched_autogroup_create_attach' follows static declaration
kernel/sched/autogroup.c:209:15: error: non-static declaration of 'sched_autogroup_detach' follows static declaration
kernel/sched/autogroup.c:221:19: error: invalid storage class for function 'setup_autogroup'
kernel/sched/autogroup.c:25:20: error: invalid storage class for function 'sched_autogroup_sysctl_init'
kernel/sched/autogroup.c:47:20: error: invalid storage class for function 'autogroup_destroy'
kernel/sched/autogroup.c:60:20: error: invalid storage class for function 'autogroup_kref_put'
kernel/sched/autogroup.c:71:33: error: invalid storage class for function 'autogroup_task_get'
kernel/sched/autogroup.c:7:28: error: section attribute cannot be specified for local variables
kernel/sched/autogroup.c:85:33: error: invalid storage class for function 'autogroup_create'
kernel/sched/build_utility.c:110: error: expected declaration or statement at end of input
kernel/sched/core.c:11514:74: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'int' [-Wformat=]
kernel/sched/fair.c:145:12: warning: 'one_thousand' defined but not used [-Wunused-variable]
kernel/sched/fair.c:146:12: warning: 'hundred_thousand' defined but not used [-Wunused-variable]
kernel/sched/membarrier.c:165:13: error: invalid storage class for function 'ipi_mb'
kernel/sched/membarrier.c:170:13: error: invalid storage class for function 'ipi_sync_core'
kernel/sched/membarrier.c:200:13: error: invalid storage class for function 'ipi_sync_rq_state'
kernel/sched/membarrier.c:245:12: error: invalid storage class for function 'membarrier_global_expedited'
kernel/sched/membarrier.c:310:12: error: invalid storage class for function 'membarrier_private_expedited'
kernel/sched/membarrier.c:426:12: error: invalid storage class for function 'sync_runqueues_membarrier_state'
kernel/sched/membarrier.c:502:12: error: invalid storage class for function 'membarrier_register_private_expedited'
kernel/sched/membarrier.c:544:12: error: invalid storage class for function 'membarrier_get_registrations'
kernel/sched/psi.c:1098:13: error: invalid storage class for function 'task_is_in_psi_v1'
kernel/sched/psi.c:1112:33: error: invalid storage class for function 'task_psi_group'
kernel/sched/psi.c:1130:13: error: invalid storage class for function 'psi_flags_change'
kernel/sched/psi.c:1763:12: error: invalid storage class for function 'psi_io_show'
kernel/sched/psi.c:1768:12: error: invalid storage class for function 'psi_memory_show'
kernel/sched/psi.c:1778:12: error: invalid storage class for function 'psi_io_open'
kernel/sched/psi.c:1783:12: error: invalid storage class for function 'psi_memory_open'
kernel/sched/psi.c:1788:12: error: invalid storage class for function 'psi_cpu_open'
kernel/sched/psi.c:1793:16: error: invalid storage class for function 'psi_write'
kernel/sched/psi.c:1836:16: error: invalid storage class for function 'psi_io_write'
kernel/sched/psi.c:1842:16: error: invalid storage class for function 'psi_memory_write'
kernel/sched/psi.c:1848:16: error: invalid storage class for function 'psi_cpu_write'
kernel/sched/psi.c:1861:12: error: invalid storage class for function 'psi_fop_release'
kernel/sched/psi.c:1870:27: error: initializer element is not constant
kernel/sched/psi.c:1907:13: error: invalid storage class for function 'get_stat_names'
kernel/sched/psi.c:1953:12: error: invalid storage class for function 'system_psi_stat_show'
kernel/sched/psi.c:1958:12: error: invalid storage class for function 'psi_stat_open'
kernel/sched/psi.c:419:13: error: invalid storage class for function 'psi_group_stat_change'
kernel/sched/psi.c:469:13: error: invalid storage class for function 'get_recent_stat_times'
kernel/sched/psi.c:496:13: error: invalid storage class for function 'update_throttle_type'
kernel/sched/psi.c:520:13: error: invalid storage class for function 'collect_percpu_times'
kernel/sched/psi.c:588:13: error: invalid storage class for function 'window_reset'
kernel/sched/psi.c:607:12: error: invalid storage class for function 'window_update'
kernel/sched/psi.c:633:12: error: invalid storage class for function 'update_triggers'
kernel/sched/psi.c:771:13: error: invalid storage class for function 'psi_avgs_work'
kernel/sched/psi.c:847:13: error: invalid storage class for function 'psi_rtpoll_work'
kernel/sched/psi.c:949:13: error: invalid storage class for function 'poll_timer_fn'
kernel/sched/psi.c:957:13: error: invalid storage class for function 'record_times'
kernel/sched/psi.c:990:13: error: invalid storage class for function 'psi_group_change'
ld: vgettimeofday.c:(.text+0x118): undefined reference to `__tsan_write4'
ld: vgettimeofday.c:(.text+0x358): undefined reference to `__tsan_write8'
ld: vgettimeofday.c:(.text+0x44): undefined reference to `__tsan_read4'
ld: vgettimeofday.c:(.text+0x60): undefined reference to `__tsan_read2'
ld: vgettimeofday.c:(.text+0x6c): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0xc0): undefined reference to `__tsan_volatile_read4'
loongson3-acpi-cpufreq.c:(.text+0x2a20): undefined reference to `acpi_processor_register_performance'
mm/mem_reliable.c:345:2: error: call to undeclared function 'mem_reliable_ctrl_bit_disable'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
mm/share_pool.c:1226:14: error: call to undeclared function 'huge_ptep_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
vgettimeofday.c:(.text+0x2c): undefined reference to `__tsan_volatile_read4'
vgettimeofday.c:(.text+0x584): undefined reference to `__tsan_write8'
vgettimeofday.c:(.text.startup+0x8): undefined reference to `__tsan_init'
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| `-- drivers-iommu-arm-arm-smmu-v3-arm-s-smmu-v3.c:warning:no-previous-prototype-for-function-virtcca_smmu_gerror_handler
|-- arm64-randconfig-001-20240916
| |-- ld:vgettimeofday.c:(.text):undefined-reference-to-__tsan_read2
| |-- ld:vgettimeofday.c:(.text):undefined-reference-to-__tsan_read4
| |-- ld:vgettimeofday.c:(.text):undefined-reference-to-__tsan_read8
| |-- ld:vgettimeofday.c:(.text):undefined-reference-to-__tsan_volatile_read4
| |-- ld:vgettimeofday.c:(.text):undefined-reference-to-__tsan_write4
| |-- ld:vgettimeofday.c:(.text):undefined-reference-to-__tsan_write8
| |-- vgettimeofday.c:(.text):undefined-reference-to-__tsan_volatile_read4
| |-- vgettimeofday.c:(.text):undefined-reference-to-__tsan_write8
| `-- vgettimeofday.c:(.text.startup):undefined-reference-to-__tsan_init
|-- arm64-randconfig-002-20240916
| |-- mm-share_pool.c:error:call-to-undeclared-function-huge_ptep_get-ISO-C99-and-later-do-not-support-implicit-function-declarations
| `-- mm-share_pool.c:error:initializing-pte_t-with-an-expression-of-incompatible-type-int
|-- arm64-randconfig-003-20240916
| `-- mm-mem_reliable.c:error:call-to-undeclared-function-mem_reliable_ctrl_bit_disable-ISO-C99-and-later-do-not-support-implicit-function-declarations
|-- loongarch-allmodconfig
| `-- loongson3-acpi-cpufreq.c:(.text):undefined-reference-to-acpi_processor_register_performance
|-- loongarch-randconfig-002-20240916
| |-- kernel-sched-fair.c:warning:hundred_thousand-defined-but-not-used
| `-- kernel-sched-fair.c:warning:one_thousand-defined-but-not-used
|-- loongarch-randconfig-r133-20240913
| |-- drivers-acpi-pptt.c:sparse:sparse:symbol-acpi_pptt_for_each_container-was-not-declared.-Should-it-be-static
| |-- include-linux-syscalls.h:error:implicit-declaration-of-function-__do_sys_membarrier
| |-- include-linux-syscalls.h:error:invalid-storage-class-for-function-__do_sys_membarrier
| |-- include-linux-syscalls.h:error:static-declaration-of-__se_sys_membarrier-follows-non-static-declaration
| |-- kernel-sched-autogroup.c:error:initializer-element-is-not-constant
| |-- kernel-sched-autogroup.c:error:invalid-storage-class-for-function-autogroup_create
| |-- kernel-sched-autogroup.c:error:invalid-storage-class-for-function-autogroup_destroy
| |-- kernel-sched-autogroup.c:error:invalid-storage-class-for-function-autogroup_kref_get
| |-- kernel-sched-autogroup.c:error:invalid-storage-class-for-function-autogroup_kref_put
| |-- kernel-sched-autogroup.c:error:invalid-storage-class-for-function-autogroup_move_group
| |-- kernel-sched-autogroup.c:error:invalid-storage-class-for-function-autogroup_task_get
| |-- kernel-sched-autogroup.c:error:invalid-storage-class-for-function-sched_autogroup_sysctl_init
| |-- kernel-sched-autogroup.c:error:invalid-storage-class-for-function-setup_autogroup
| |-- kernel-sched-autogroup.c:error:non-static-declaration-of-sched_autogroup_create_attach-follows-static-declaration
| |-- kernel-sched-autogroup.c:error:non-static-declaration-of-sched_autogroup_detach-follows-static-declaration
| |-- kernel-sched-autogroup.c:error:section-attribute-cannot-be-specified-for-local-variables
| |-- kernel-sched-build_utility.c:error:expected-declaration-or-statement-at-end-of-input
| |-- kernel-sched-core.c:warning:format-llu-expects-argument-of-type-long-long-unsigned-int-but-argument-has-type-int
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-ipi_mb
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-ipi_rseq
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-ipi_sync_core
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-ipi_sync_rq_state
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-membarrier_get_registrations
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-membarrier_global_expedited
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-membarrier_private_expedited
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-membarrier_register_global_expedited
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-membarrier_register_private_expedited
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-sync_runqueues_membarrier_state
| |-- kernel-sched-psi.c:error:initializer-element-is-not-constant
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-collect_percpu_times
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-get_recent_stat_times
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-get_stat_names
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-init_rtpoll_triggers
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-poll_timer_fn
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_avgs_work
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_cpu_open
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_cpu_show
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_cpu_write
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_flags_change
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_fop_poll
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_fop_release
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_group_change
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_group_stat_change
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_io_open
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_io_show
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_io_write
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_memory_open
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_memory_show
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_memory_write
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_proc_init
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_rtpoll_work
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_rtpoll_worker
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_schedule_rtpoll_work
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_stat_flags_change
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_stat_open
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_write
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-record_times
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-system_psi_stat_show
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-task_is_in_psi_v1
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-task_psi_group
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-test_fine_grained_stat
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-update_averages
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-update_throttle_type
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-update_triggers
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-window_reset
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-window_update
| |-- kernel-sched-psi.c:error:non-static-declaration-of-psi_memstall_enter-follows-static-declaration
| `-- kernel-sched-psi.c:error:non-static-declaration-of-psi_memstall_leave-follows-static-declaration
|-- x86_64-randconfig-011-20240916
| `-- drivers-crypto-ccp-hygon-hct.c:error:no-member-named-numa_node-in-struct-device
|-- x86_64-randconfig-013-20240915
| `-- drivers-crypto-ccp-hygon-hct.c:error:struct-device-has-no-member-named-numa_node
`-- x86_64-randconfig-071-20240916
`-- drivers-crypto-ccp-hygon-hct.c:error:struct-device-has-no-member-named-numa_node
elapsed time: 1071m
configs tested: 33
configs skipped: 122
tested configs:
arm64 allmodconfig clang-20
arm64 allnoconfig gcc-14.1.0
arm64 randconfig-001-20240916 gcc-14.1.0
arm64 randconfig-002-20240916 clang-20
arm64 randconfig-003-20240916 clang-20
arm64 randconfig-004-20240916 clang-20
loongarch allmodconfig gcc-14.1.0
loongarch allnoconfig gcc-14.1.0
loongarch randconfig-001-20240916 gcc-14.1.0
loongarch randconfig-002-20240916 gcc-14.1.0
x86_64 allnoconfig clang-18
x86_64 allyesconfig clang-18
x86_64 buildonly-randconfig-001-20240916 gcc-12
x86_64 buildonly-randconfig-002-20240916 gcc-12
x86_64 buildonly-randconfig-003-20240916 gcc-12
x86_64 buildonly-randconfig-004-20240916 gcc-11
x86_64 buildonly-randconfig-005-20240916 gcc-12
x86_64 buildonly-randconfig-006-20240916 clang-18
x86_64 defconfig gcc-11
x86_64 randconfig-001-20240916 clang-18
x86_64 randconfig-002-20240916 gcc-12
x86_64 randconfig-003-20240916 gcc-12
x86_64 randconfig-004-20240916 gcc-12
x86_64 randconfig-005-20240916 gcc-11
x86_64 randconfig-006-20240916 gcc-12
x86_64 randconfig-011-20240916 clang-18
x86_64 randconfig-012-20240916 clang-18
x86_64 randconfig-013-20240916 gcc-12
x86_64 randconfig-014-20240916 gcc-12
x86_64 randconfig-015-20240916 gcc-12
x86_64 randconfig-071-20240916 gcc-12
x86_64 randconfig-072-20240916 clang-18
x86_64 rhel-8.3-rust clang-18
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Hi Yang,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 84404f248a61323e09909849803ea4efce81742f
commit: 371d3f569b16c38afcf6abb24d620f9d768c95f9 [1373/13950] vdso: do cntvct workaround in the VDSO
config: arm64-randconfig-001-20240916 (https://download.01.org/0day-ci/archive/20240916/202409160450.X95GB3Yc-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240916/202409160450.X95GB3Yc-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409160450.X95GB3Yc-lkp@intel.com/
All errors (new ones prefixed by >>):
scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
arch/arm64/kernel/vdso-ilp32/Makefile:93: FORCE prerequisite is missing
arch/arm64/kernel/vdso-ilp32/Makefile:87: FORCE prerequisite is missing
arch/arm64/kernel/vdso-ilp32/Makefile:90: FORCE prerequisite is missing
arch/arm64/kernel/vdso-ilp32/Makefile:71: FORCE prerequisite is missing
ld: arch/arm64/kernel/vdso-ilp32/vgettimeofday-ilp32.o: in function `__cvdso_gettimeofday_data.constprop.0':
vgettimeofday.c:(.text+0x2c): undefined reference to `__tsan_volatile_read4'
ld: vgettimeofday.c:(.text+0x44): undefined reference to `__tsan_read4'
>> ld: vgettimeofday.c:(.text+0x60): undefined reference to `__tsan_read2'
ld: vgettimeofday.c:(.text+0x80): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x90): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x9c): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0xa8): undefined reference to `__tsan_read4'
ld: vgettimeofday.c:(.text+0xb8): undefined reference to `__tsan_read4'
ld: vgettimeofday.c:(.text+0xc4): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0xd4): undefined reference to `__tsan_volatile_read4'
ld: vgettimeofday.c:(.text+0x138): undefined reference to `__tsan_write4'
ld: vgettimeofday.c:(.text+0x144): undefined reference to `__tsan_write4'
ld: vgettimeofday.c:(.text+0x19c): undefined reference to `__tsan_read2'
ld: vgettimeofday.c:(.text+0x1c0): undefined reference to `__tsan_read2'
ld: vgettimeofday.c:(.text+0x1ec): undefined reference to `__tsan_read4'
ld: vgettimeofday.c:(.text+0x1f8): undefined reference to `__tsan_write4'
ld: vgettimeofday.c:(.text+0x204): undefined reference to `__tsan_read4'
ld: vgettimeofday.c:(.text+0x210): undefined reference to `__tsan_write4'
ld: arch/arm64/kernel/vdso-ilp32/vgettimeofday-ilp32.o: in function `__cvdso_clock_gettime_data.constprop.0':
vgettimeofday.c:(.text+0x2cc): undefined reference to `__tsan_volatile_read4'
ld: vgettimeofday.c:(.text+0x2e4): undefined reference to `__tsan_read4'
ld: vgettimeofday.c:(.text+0x300): undefined reference to `__tsan_read2'
ld: vgettimeofday.c:(.text+0x32c): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x338): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x344): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x354): undefined reference to `__tsan_read4'
ld: vgettimeofday.c:(.text+0x364): undefined reference to `__tsan_read4'
ld: vgettimeofday.c:(.text+0x374): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x384): undefined reference to `__tsan_volatile_read4'
ld: vgettimeofday.c:(.text+0x3e0): undefined reference to `__tsan_write8'
ld: vgettimeofday.c:(.text+0x3ec): undefined reference to `__tsan_write8'
ld: vgettimeofday.c:(.text+0x434): undefined reference to `__tsan_read2'
ld: vgettimeofday.c:(.text+0x45c): undefined reference to `__tsan_read2'
ld: vgettimeofday.c:(.text+0x51c): undefined reference to `__tsan_volatile_read4'
ld: vgettimeofday.c:(.text+0x530): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x53c): undefined reference to `__tsan_write8'
ld: vgettimeofday.c:(.text+0x548): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x554): undefined reference to `__tsan_write8'
ld: vgettimeofday.c:(.text+0x564): undefined reference to `__tsan_volatile_read4'
ld: arch/arm64/kernel/vdso-ilp32/vgettimeofday-ilp32.o: in function `__kernel_clock_getres':
vgettimeofday.c:(.text+0x644): undefined reference to `__tsan_write8'
ld: vgettimeofday.c:(.text+0x650): undefined reference to `__tsan_write8'
ld: vgettimeofday.c:(.text+0x680): undefined reference to `__tsan_volatile_read4'
ld: arch/arm64/kernel/vdso-ilp32/vgettimeofday-ilp32.o: in function `_sub_I_00099_0':
vgettimeofday.c:(.text.startup+0x8): undefined reference to `__tsan_init'
collect2: error: ld returned 1 exit status
make[3]: *** [arch/arm64/kernel/vdso-ilp32/Makefile:71: arch/arm64/kernel/vdso-ilp32/vdso-ilp32.so.dbg] Error 1 shuffle=2963184100
make[3]: Target 'include/generated/vdso-ilp32-offsets.h' not remade because of errors.
make[2]: *** [arch/arm64/Makefile:201: vdso_prepare] Error 2 shuffle=2963184100
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:234: __sub-make] Error 2 shuffle=2963184100
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:234: __sub-make] Error 2 shuffle=2963184100
make: Target 'prepare' not remade because of errors.
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Hi liuyun,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 84404f248a61323e09909849803ea4efce81742f
commit: 47a0b6f372d7f05822d021f86b21a34fd2142225 [1624/13950] cpufreq: Add cpufreq driver for LoongArch
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20240916/202409160448.mekEXGBM-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240916/202409160448.mekEXGBM-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409160448.mekEXGBM-lkp@intel.com/
All errors (new ones prefixed by >>):
loongarch64-linux-ld: drivers/cpufreq/loongson3-acpi-cpufreq.o: in function `loongson3_cpufreq_cpu_exit':
loongson3-acpi-cpufreq.c:(.text+0x6f8): undefined reference to `acpi_processor_unregister_performance'
loongarch64-linux-ld: drivers/cpufreq/loongson3-acpi-cpufreq.o: in function `.L333':
>> loongson3-acpi-cpufreq.c:(.text+0x2a20): undefined reference to `acpi_processor_register_performance'
loongarch64-linux-ld: drivers/cpufreq/loongson3-acpi-cpufreq.o: in function `.L372':
loongson3-acpi-cpufreq.c:(.text+0x3390): undefined reference to `acpi_processor_unregister_performance'
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 37aeb7e817053fbf532b214aa02858b3c23af0b1
commit: b8d954fb09872d1a3f0962b3590ecf87574ced1d [4481/23714] tipc: fix cancellation of topology subscriptions
config: x86_64-randconfig-122-20240915 (https://download.01.org/0day-ci/archive/20240916/202409160357.101L4Sn7-lkp@…)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240916/202409160357.101L4Sn7-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409160357.101L4Sn7-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> net/tipc/topsrv.c:374:30: sparse: sparse: cast from restricted __be32
>> net/tipc/topsrv.c:374:30: sparse: sparse: cast from restricted __be32
>> net/tipc/topsrv.c:374:30: sparse: sparse: cast from restricted __be32
>> net/tipc/topsrv.c:374:30: sparse: sparse: cast from restricted __be32
In file included from include/linux/if_ether.h:23,
from include/uapi/linux/ethtool.h:19,
from include/linux/ethtool.h:18,
from include/linux/netdevice.h:41,
from net/tipc/core.h:52,
from net/tipc/topsrv.h:40,
from net/tipc/subscr.h:40,
from net/tipc/topsrv.c:37:
In function '__skb_insert',
inlined from '__skb_queue_before' at include/linux/skbuff.h:1832:2,
inlined from '__skb_queue_tail' at include/linux/skbuff.h:1866:2,
inlined from 'tipc_topsrv_kern_evt' at net/tipc/topsrv.c:618:2:
include/linux/skbuff.h:1726:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds]
1726 | next->prev = prev->next = newsk;
| ~~~~~~~~~~~^~~~~~~
net/tipc/topsrv.c: In function 'tipc_topsrv_kern_evt':
net/tipc/topsrv.c:608:29: note: object 'evtq' of size 80
608 | struct sk_buff_head evtq;
| ^~~~
In function '__skb_insert',
inlined from '__skb_queue_before' at include/linux/skbuff.h:1832:2,
inlined from '__skb_queue_tail' at include/linux/skbuff.h:1866:2,
inlined from 'tipc_topsrv_kern_evt' at net/tipc/topsrv.c:618:2:
include/linux/skbuff.h:1726:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds]
1726 | next->prev = prev->next = newsk;
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
net/tipc/topsrv.c: In function 'tipc_topsrv_kern_evt':
net/tipc/topsrv.c:608:29: note: object 'evtq' of size 80
608 | struct sk_buff_head evtq;
| ^~~~
net/tipc/topsrv.c:82: warning: Function parameter or member 'awork' not described in 'tipc_topsrv'
net/tipc/topsrv.c:82: warning: Function parameter or member 'listener' not described in 'tipc_topsrv'
net/tipc/topsrv.o: warning: objtool: tipc_conn_delete_sub()+0x15d: sibling call from callable instruction with modified stack frame
net/tipc/topsrv.o: warning: objtool: tipc_topsrv_kern_evt()+0x192: sibling call from callable instruction with modified stack frame
net/tipc/topsrv.o: warning: objtool: tipc_conn_rcv_sub()+0x1e9: sibling call from callable instruction with modified stack frame
net/tipc/topsrv.o: warning: objtool: tipc_conn_send_to_sock()+0x2cc: sibling call from callable instruction with modified stack frame
net/tipc/topsrv.o: warning: objtool: tipc_topsrv_queue_evt()+0x115: sibling call from callable instruction with modified stack frame
net/tipc/topsrv.o: warning: objtool: tipc_topsrv_kern_subscr()+0x402: sibling call from callable instruction with modified stack frame
net/tipc/topsrv.o: warning: objtool: tipc_topsrv_kern_unsubscr()+0x108: sibling call from callable instruction with modified stack frame
net/tipc/topsrv.o: warning: objtool: tipc_topsrv_start()+0x51c: sibling call from callable instruction with modified stack frame
net/tipc/topsrv.o: warning: objtool: tipc_topsrv_stop()+0x10e: sibling call from callable instruction with modified stack frame
vim +374 net/tipc/topsrv.c
365
366 static int tipc_conn_rcv_sub(struct tipc_topsrv *srv,
367 struct tipc_conn *con,
368 struct tipc_subscr *s)
369 {
370 struct tipc_net *tn = tipc_net(srv->net);
371 struct tipc_subscription *sub;
372
373 if (tipc_sub_read(s, filter) & TIPC_SUB_CANCEL) {
> 374 s->filter &= __constant_ntohl(~TIPC_SUB_CANCEL);
375 tipc_conn_delete_sub(con, s);
376 return 0;
377 }
378 if (atomic_read(&tn->subscription_count) >= TIPC_MAX_SUBSCR) {
379 pr_warn("Subscription rejected, max (%u)\n", TIPC_MAX_SUBSCR);
380 return -1;
381 }
382 sub = tipc_sub_subscribe(srv->net, s, con->conid);
383 if (!sub)
384 return -1;
385 atomic_inc(&tn->subscription_count);
386 spin_lock_bh(&con->sub_lock);
387 list_add(&sub->sub_list, &con->sub_list);
388 spin_unlock_bh(&con->sub_lock);
389 return 0;
390 }
391
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Hi Andrew,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 84404f248a61323e09909849803ea4efce81742f
commit: f9b54a6714445cde83aeff0318cf767b3b81229d [701/13950] arm64:ilp32: add ARM64_ILP32 to Kconfig
config: arm64-randconfig-001-20240916 (https://download.01.org/0day-ci/archive/20240916/202409160214.lVT0QY5g-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240916/202409160214.lVT0QY5g-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409160214.lVT0QY5g-lkp@intel.com/
All errors (new ones prefixed by >>):
scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
arch/arm64/kernel/vdso-ilp32/Makefile:90: FORCE prerequisite is missing
arch/arm64/kernel/vdso-ilp32/Makefile:84: FORCE prerequisite is missing
arch/arm64/kernel/vdso-ilp32/Makefile:87: FORCE prerequisite is missing
arch/arm64/kernel/vdso-ilp32/Makefile:68: FORCE prerequisite is missing
ld: arch/arm64/kernel/vdso-ilp32/vgettimeofday-ilp32.o: in function `__cvdso_gettimeofday_data.constprop.0':
>> vgettimeofday.c:(.text+0x2c): undefined reference to `__tsan_volatile_read4'
>> ld: vgettimeofday.c:(.text+0x44): undefined reference to `__tsan_read4'
>> ld: vgettimeofday.c:(.text+0x6c): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x78): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x84): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x90): undefined reference to `__tsan_read4'
ld: vgettimeofday.c:(.text+0xa0): undefined reference to `__tsan_read4'
ld: vgettimeofday.c:(.text+0xb0): undefined reference to `__tsan_read8'
>> ld: vgettimeofday.c:(.text+0xc0): undefined reference to `__tsan_volatile_read4'
>> ld: vgettimeofday.c:(.text+0x118): undefined reference to `__tsan_write4'
ld: vgettimeofday.c:(.text+0x124): undefined reference to `__tsan_write4'
ld: vgettimeofday.c:(.text+0x17c): undefined reference to `__tsan_read4'
ld: vgettimeofday.c:(.text+0x188): undefined reference to `__tsan_write4'
ld: vgettimeofday.c:(.text+0x194): undefined reference to `__tsan_read4'
ld: vgettimeofday.c:(.text+0x1a0): undefined reference to `__tsan_write4'
ld: arch/arm64/kernel/vdso-ilp32/vgettimeofday-ilp32.o: in function `__cvdso_clock_gettime_data.constprop.0':
vgettimeofday.c:(.text+0x24c): undefined reference to `__tsan_volatile_read4'
ld: vgettimeofday.c:(.text+0x264): undefined reference to `__tsan_read4'
ld: vgettimeofday.c:(.text+0x298): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x2a8): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x2b4): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x2c0): undefined reference to `__tsan_read4'
ld: vgettimeofday.c:(.text+0x2d0): undefined reference to `__tsan_read4'
ld: vgettimeofday.c:(.text+0x2e0): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x2f0): undefined reference to `__tsan_volatile_read4'
>> ld: vgettimeofday.c:(.text+0x358): undefined reference to `__tsan_write8'
ld: vgettimeofday.c:(.text+0x364): undefined reference to `__tsan_write8'
ld: vgettimeofday.c:(.text+0x448): undefined reference to `__tsan_volatile_read4'
ld: vgettimeofday.c:(.text+0x45c): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x468): undefined reference to `__tsan_write8'
ld: vgettimeofday.c:(.text+0x474): undefined reference to `__tsan_read8'
ld: vgettimeofday.c:(.text+0x480): undefined reference to `__tsan_write8'
ld: vgettimeofday.c:(.text+0x490): undefined reference to `__tsan_volatile_read4'
ld: arch/arm64/kernel/vdso-ilp32/vgettimeofday-ilp32.o: in function `__kernel_clock_getres':
>> vgettimeofday.c:(.text+0x584): undefined reference to `__tsan_write8'
ld: vgettimeofday.c:(.text+0x590): undefined reference to `__tsan_write8'
ld: vgettimeofday.c:(.text+0x5c0): undefined reference to `__tsan_volatile_read4'
ld: arch/arm64/kernel/vdso-ilp32/vgettimeofday-ilp32.o: in function `_sub_I_00099_0':
>> vgettimeofday.c:(.text.startup+0x8): undefined reference to `__tsan_init'
collect2: error: ld returned 1 exit status
make[3]: *** [arch/arm64/kernel/vdso-ilp32/Makefile:68: arch/arm64/kernel/vdso-ilp32/vdso-ilp32.so.dbg] Error 1 shuffle=2963184100
make[3]: Target 'include/generated/vdso-ilp32-offsets.h' not remade because of errors.
make[2]: *** [arch/arm64/Makefile:201: vdso_prepare] Error 2 shuffle=2963184100
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:234: __sub-make] Error 2 shuffle=2963184100
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:234: __sub-make] Error 2 shuffle=2963184100
make: Target 'prepare' not remade because of errors.
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki