Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore lines with "in function" and "In function"
In recent binutils version, the warning, for stubbed functions, is properly printed and due to this correction, linking a project with stubbed functions fails the build in headless build rather than just printing the warnings. Example: .../arm-none-eabi/bin/ld.exe: .../libc.a(libc_a-writer.o): in function `_write_r': (.text._write_r+0x10): warning: _write is not implemented and will always fail ... 12:02:52 Build Failed. 8 errors, 8 warnings. (took 6s.284ms) The first line matches the error pattern (.*[/\\])?ld(\.exe)?: (.*) that incorectly fails the build in headless mode (a single line matching a pattern with severity "error" fails the build) when there are really only warnings in the build log. The problem can be obsered using the GCC 11 (and later) toolchain builds with newlib for the arm-none-eabi target provided by Arm. Signed-off-by: Torbjörn Svensson <[email protected]>
- Loading branch information