update toolchain to gcc13.2#9579
Conversation
stronnag
commented
Dec 19, 2023
- rework for Arm's new naming / paths / case inconsistency
- support native binary on darwin/aarch64
- fix ATF4 link warning
- workaround spurious linker warnings for unused functions
add "-Wl,--no-warn-rwx-segments" for ATF4
|
As will be seen from the cmake file, there is a fairly ugly workaround for some strange behaviour in newlib 4.3, which results in many (16) link warnings for functions not used (AFAIK) by INAV:
In order to suppress the warnings, as they (a) appear spurious / harmless and (b) would be a support burden, the warnings are suppressed by removing the It is possible that someone with rather more insight into the Arm compiler / linker may have a better solution. With the above workaround, all release targets build locally without warnings. |
Comparative images sizes for various firmwareGcc 10.3Gcc 13.2.1 |
|
All release firmware link sizes (no warnings present) |
|
Test Built on the following platforms:
Not tested on:
|
add "-Wl,--no-warn-rwx-segments" for ATF4