posix:fpu: Enabling CONFIG_FPU and CONFIG_FPU_SHARING causes compiler error #81781
Labels
area: native port
Host native arch port (native_sim)
bug
The issue is a bug, or the PR is fixing a bug
Describe the bug
When I build the hello_world sample for native_sim with
CONFIG_FPU
andCONFIG_FPU_SHARING
enabled, the compiler throws an error. I am checked out on Zephyr53738cf92479610bcf79fe738636a2b920224a36
.To Reproduce
Run the following command:
west build samples/hello_world -b native_sim -p -- -DCONFIG_FPU=y -DCONFIG_FPU_SHARING=y
Expected behavior
I would expect it to build successfully.
Logs and console output
Compiler output:
Additional context
I added the following to
zephyr/arch/posix/core/thread.c
but I am not sure if this is correct.The text was updated successfully, but these errors were encountered: