Closed sambhurst closed 3 years ago
clang handles attribute(( optimize("-O1") )) in different way. add below code before line 8881 #elif defined ( GNUC ) in modules/hal/cmsis/CMSIS/DSP/Include/arm_math.h:
__attribute__(( optnone ))
Not sure how you are running into this as we mark the filtering tests as not supported on llvm:
https://github.com/zephyrproject-rtos/zephyr/commit/9614581ebed7f14dbbe938182022630e0d79e675
I needed to sync my repo. The tests are passing now. Thanks
Describe the bug Locally executing
twister
to run the lib/cmsis_dsp/filtering test on the native_posix platform fails.To Reproduce Steps to reproduce the behavior: In the zephyr directory.
Expected behavior The test should pass
Impact Push Request is blocked due to Build with Clang/LLVM failure that's caused by this error
Logs and console output
Environment (please complete the following information):
Additional context Error from log file: