Skip to content

Commit

Permalink
Warn about cross-compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelfj committed Mar 8, 2024
1 parent 51b1e1e commit 405b139
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2333,6 +2333,12 @@ Docker image:
Users have been reporting some degree of success using cross compiles
from Linux x86 host to embedded ARM Linux devices.

2024-03-08: WARNING:
-O2 -mcpu=cortex-m7 targets using the arm-none-eabi 13.2.Rel1 toolchain
can result in uninitialized stack access when not compiled with
-fno-strict-aliasing, see also #274.
-mcpu=cortex-m0 and -mcpu=cortex-m1 appears to be unaffected.

For this to work, `FLATCC_TEST` option should be disabled in part
because cross-compilation cannot run the cross-compiled flatcc tool, and
in part because there appears to be some issues with CMake custom build
Expand Down

0 comments on commit 405b139

Please sign in to comment.