Skip to content

SOF compilation broken for p4wq.c with recent Zephyr #93020

@lyakh

Description

@lyakh

Describe the bug

Compiling p4wq.c breaks down for TGL:

/srv/home/jenkins/workspace/sof_config_build@2/zephyr/lib/os/p4wq.c:224: error: unknown field ‘srv’ specified in initializer

Regression

  • This is a regression.

Steps to reproduce

  • Update SOF to use a recent Zephyr version
  • Build SOF for TGL

Relevant log output

/srv/home/jenkins/workspace/sof_config_build@2/zephyr/lib/os/p4wq.c:224: error: unknown field ‘srv’ specified in initializer
/srv/home/jenkins/workspace/sof_config_build@2/zephyr/lib/os/p4wq.c:224: warning: missing braces around initializer
/srv/home/jenkins/workspace/sof_config_build@2/zephyr/lib/os/p4wq.c:224: warning: (near initialization for ‘__init_static_init.<anonymous>’)

Impact

Major – Severely degrades functionality; workaround is difficult or unavailable.

Environment

Zephyr commit e22ca6b

Additional Context

No response

Metadata

Metadata

Assignees

Labels

Release BlockerUse this label for justified release blockersarea: ToolchainsToolchainsbugThe 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