-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
area: XtensaXtensa ArchitectureXtensa ArchitecturebugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug
Description
Reported by Andrew Boie:
We are experiencing multiple build failures with the XCC toolchain.
Steps to reproduce:
- Set up XCC on local workstation, you need both Xplorer 7.0.4 and 6.0.4
- export ZEPHYR_GCC_VARIANT=xcc
- Run sanitycheck --all
This bug needs to be split by root cause, there are a few of them:
- Use of self-referential designated initializers for wait queue members of kernel objects, like fifo/lifos
- Designated initializers for anonymous structs/unions
- { 0 } initializers where the first member of the initialized struct is not a scalar type
- Some problem with D_233L which results in 'file truncted' errors
It is NOT necessarily the case that we should just change all our code to work around limitations of this compiler.
We may instead pull up to a newer XCC version for all SOC targets and use its built-in clang support.
End result of this bug is all issues fixed, sanitycheck --all passes, or bugs filed for individual issues.
(Imported from Jira ZEP-2517)
Metadata
Metadata
Assignees
Labels
area: XtensaXtensa ArchitectureXtensa ArchitecturebugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug