Skip to content

tests: tests/drivers/mspi/flash : vmu_rt1170 build failure #98974

@hakehuang

Description

@hakehuang

Describe the bug

  • vmu_rt1170/mimxrt1176/cm7

cd8e773 is the first bad commit
commit cd8e773
Author: Carles Cufi carles.cufi@nordicsemi.no
Date: Wed Oct 29 13:21:17 2025 +0100

kernel: events: Depend on multithreading

Kernel events depend on multithreading being enabled, and mixing them
with a non-multithreaded build gives linker failures internal to
events.c. To avoid this, make events depend on multithreading.

```
libkernel.a(events.c.obj): in function `k_event_post_internal':
175: undefined reference to `z_sched_waitq_walk'
events.c:183: undefined reference to `z_sched_wake_thread'
events.c:191: undefined reference to `z_reschedule'
libkernel.a(events.c.obj): in function `k_sched_current_thread_query':
kernel.h:216: undefined reference to `z_impl_k_sched_current_thread_query'
libkernel.a(events.c.obj): in function `k_event_wait_internal':
events.c:312: undefined reference to `z_pend_curr'
```

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>

Regression

  • This is a regression.

Steps to reproduce

west build -b vmu_rt1170/mimxrt1176/cm7 tests/drivers/mspi/flash

Relevant log output

warning: EVENTS (defined at kernel/Kconfig:735) has direct dependencies MULTITHREADING with value n, but is currently being y-selected by the following symbols:
 - SHELL (defined at subsys/shell/Kconfig:8), with value y, direct dependencies y (value: y)
 Parsing /home/jenkins/agent/workspace/zephyr_downstream_build_daily/zephyr/KconfigLoaded configuration 
 '/home/jenkins/agent/workspace/zephyr_downstream_build_daily/zephyr/boards/nxp/vmu_rt1170/vmu_rt1170_mimxrt1176_cm7_defconfig'
 Merged configuration '/home/jenkins/agent/workspace/zephyr_downstream_build_daily/zephyr/tests/drivers/mspi/flash/prj.conf'
 Merged configuration '/home/jenkins/agent/workspace/zephyr_downstream_build_daily/zephyr/twister-out/vmu_rt1170_mimxrt1176_cm7/zephyr/tests/drivers/mspi/flash/drivers.mspi.flash.mspi_nor_no_multithreading/twister/testsuite_extra.conf'
 Merged configuration '/home/jenkins/agent/workspace/zephyr_downstream_build_daily/zephyr/twister-out/vmu_rt1170_mimxrt1176_cm7/zephyr/tests/drivers/mspi/flash/drivers.mspi.flash.mspi_nor_no_multithreading/zephyr/misc/generated/extra_kconfig_options.conf'error: Aborting due to Kconfig warnings
 CMake Error at cmake/modules/kconfig.cmake:393 (message): 
 command failed with return code: 1Call Stack (most recent call first): 
 cmake/modules/zephyr_default.cmake:131 
 (include) share/zephyr-package/cmake/ZephyrConfig.cmake:75 
 (include) share/zephyr-package/cmake/ZephyrConfig.cmake:92 
 (include_boilerplate) cmake/package_helper.cmake:101 (find_package)

Impact

Annoyance – Minor irritation; no significant impact on usability or functionality.

Environment

  • os: ubuntu
  • toolchain: Zephyr
  • version: v4.3.0-rc2

Additional Context

No response

Metadata

Metadata

Assignees

Labels

area: KernelbugThe issue is a bug, or the PR is fixing a bugpriority: highHigh impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions