Skip to content

tests: cxx_tests: imx943_evk/mimx94398/m33: build failure #97023

@hakehuang

Description

@hakehuang

Describe the bug

  • imx943_evk/mimx94398/m33/ddr
  • imx943_evk/mimx94398/m33

c992e1a is the first bad commit
commit c992e1a
Author: Yongxu Wang [email protected]
Date: Mon Sep 15 11:12:07 2025 +0800

soc: nxp: imx943: implement basic PM flow for Cortex-M cores

Add initial power management support for i.MX943 M-core (M33/M7)
This lays the foundation for multi-core PM handling on i.MX943

Signed-off-by: Yongxu Wang <[email protected]>

Regression

  • This is a regression.

Steps to reproduce

west build -b imx943_evk/mimx94398/m33/ddr tests/lib/cpp/cxx

Relevant log output

/home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/lib/utils/bitarray.c:686: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 686 | } else if (match_region(bitarray, offset, num_bits, true, &bd, NULL)) { | /home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/lib/utils/bitarray.c:686: note: adding '-flarge-source-files' will allow for more column-tracking support, at the expense of compilation time and memory[33/212] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitmask.c.obj[34/212] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/ring_buffer.c.obj[35/212] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/last_section_id.c.obj[36/212] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj[37/212] Building C object zephyr/CMakeFiles/zephyr.dir/soc/nxp/imx/imx9/imx943/pm_mcore.c.objFAILED: zephyr/CMakeFiles/zephyr.dir/soc/nxp/imx/imx9/imx943/pm_mcore.c.obj ld_platform/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/tests/lib/cpp/cxx=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/jenkins/agent/workspace/bitbucket_build_platform/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/jenkins/agent/workspace/bitbucket_build_platform=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/CMakeFiles/zephyr.dir/soc/nxp/imx/imx9/imx943/pm_mcore.c.obj -MF zephyr/CMakeFiles/zephyr.dir/soc/nxp/imx/imx9/imx943/pm_mcore.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/soc/nxp/imx/imx9/imx943/pm_mcore.c.obj -c /home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/soc/nxp/imx/imx9/imx943/pm_mcore.c/home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/soc/nxp/imx/imx9/imx943/pm_mcore.c: In function 'pm_state_before':/home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/soc/nxp/imx/imx9/imx943/pm_mcore.c:40: error: iteration 15 invokes undefined behavior [-Werror=aggressive-loop-optimizations] 40 | wake_mask[idx] = ~(NVIC->ISER[idx]); | /home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/soc/nxp/imx/imx9/imx943/pm_mcore.c:39: note: within this loop 39 | for (uint32_t idx = 0; idx < nvic_iser_nb; idx++) {cc1: all warnings being treated as errorsninja: build stopped: subcommand failed.

Impact

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

Environment

  • os: ubuntu
  • toolchain: zephyr
  • version: v4.2.0-5025-g4ef1163e3957

Additional Context

No response

Metadata

Metadata

Labels

bugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXP

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions