I just download the arm-none-eabi-gcc 11 version from:
https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads
But I can not compile my project that succeed before with arm-none-eabi-gcc 10.
it fail with the assembler file, that I embeded a binary file with 'incbin' instruction,
seem it can not find the include path, if the binary is not same path with asmbler file.
Here is a simple demo code incbin_test.S:
.section .rodata .global thing .balign 4 thing: .incbin "demo.bin" thing_end: .global thing_size .balign 4 thing_size: .int thing_end - thing
there is a demo.bin in the path inc/
Then compile with gcc
arm-none-eabi-gcc -Iinc -c incbin_test.S -o incbin_test.o
It issue the error:
incbin_test.S: Assembler messages:incbin_test.S:6: Error: file not found: demo.bin
But that work with the arm-none-eabi-gcc(gcc version 10.2.1 20201103 (release) (GNU Arm Embedded Toolchain 10-2020-q4-major))
Br,
Yingchun
I dont think this is a bug from Linaro, the source code should be ok, just who delivered
this compiler binary made some change.