Skip to content

[BUG] IPC3/4 fuzzer build broken with Zephyr PR 71378 #9101

@kv2019i

Description

@kv2019i

Describe the bug
As discussed in zephyrproject-rtos/zephyr#71378 (review) , recent changes in Zephyr mainline break the SOF fuzzer builds and the github CI checks using these builds.

To Reproduce
https://github.com/thesofproject/sof/actions/runs/8972185189/job/24639608648?pr=9098

Reproduction Rate
100%

Expected behavior
Fuzzer build works.

Impact
Fuzzer not usable with SOF.

Environment
https://sof-ci.01.org/sofpr/PR9098/build4470/build/index.html

Parsing /home/runner/work/sof/sof/workspace/zephyr/Kconfig
/home/runner/work/sof/sof/workspace/build-fuzz/zephyr/misc/generated/extra_kconfig_options.conf:2: warning:
      attempt to assign the value '100' to the undefined symbol ARCH_POSIX_FUZZ_TICKS

error: Aborting due to Kconfig warnings

Loaded configuration '/home/runner/work/sof/sof/workspace/zephyr/boards/native/native_posix/native_posix_defconfig'
Merged configuration '/home/runner/work/sof/sof/workspace/sof/app/prj.conf'
Merged configuration '/home/runner/work/sof/sof/workspace/sof/app/stub_build_all_ipc3.conf'
Merged configuration '/home/runner/work/sof/sof/workspace/build-fuzz/zephyr/misc/generated/extra_kconfig_options.conf'
CMake Error at /home/runner/work/sof/sof/workspace/zephyr/cmake/modules/kconfig.cmake:391 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  /home/runner/work/sof/sof/workspace/zephyr/cmake/modules/zephyr_default.cmake:132 (include)
  /home/runner/work/sof/sof/workspace/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:[66](https://github.com/thesofproject/sof/actions/runs/8972185189/job/24639608648?pr=9098#step:7:67) (include)
  /home/runner/work/sof/sof/workspace/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:5 (find_package)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Blocker bugs or important featuresZephyrIssues only observed with Zephyr integratedbugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions