Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Platform] Silabs efr32 build fail if -Werror=array-bounds flag is used #26170

Closed
jmartinez-silabs opened this issue Apr 19, 2023 · 0 comments · Fixed by #29020
Closed

[Platform] Silabs efr32 build fail if -Werror=array-bounds flag is used #26170

jmartinez-silabs opened this issue Apr 19, 2023 · 0 comments · Fixed by #29020
Assignees

Comments

@jmartinez-silabs
Copy link
Member

Reproduction steps

Building an EFR32 example with is_debug=false argument with GCC 12.2.1 fails.

An error is flagged in a Silabs GSDK source file. The GSDK fix will only be available, for matter apps, in the next release cycle (this summer).

The temp fix is to disable the error flag with "-Wno-error=array-bounds", for the gsdk source.

Todo, circle back and re-enable the flag when fixed in gsdk

Bug prevalence

Always

GitHub hash of the SDK that was being used

any

Platform

efr32

Platform Version(s)

No response

Anything else?

Only seen if GCC 12.2.1 is used (upcoming pigweed roll up updates the GCC version)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant