Donny9 commented on PR #17499: URL: https://github.com/apache/nuttx/pull/17499#issuecomment-3656079768
> @Donny9 > > /tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: region **`flash' overflowed by 352 bytes** > > ``` > Memory region Used Size Region Size %age Used > flash: 131424 B 128 KB 100.27% > sram: 9564 B 22 KB 42.45% > ``` > > ``` > ==================================================================================== > Cmake in present: nucleo-g431rb/qenco,CONFIG_ARM_TOOLCHAIN_CLANG > Configuration/Tool: nucleo-g431rb/qenco,CONFIG_ARM_TOOLCHAIN_CLANG > 2025-12-14 17:05:13 > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Select HOST_LINUX=y > Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI > Enabling CONFIG_ARM_TOOLCHAIN_CLANG > Building NuttX... > [1/5] cd /github/workspace/sources/nuttx/build/libs/libc/misc && /usr/local/bin/cmake -E touch /github/workspace/sources/nuttx/libs/libc/misc/lib_utsname.c > [2/5] Linking CXX executable nuttx > FAILED: nuttx > : && /tools/ccache/bin/arm-none-eabi-g++ --specs=nosys.specs -Wl,--print-memory-usage -Wl,--entry=__start -nostdlib -Wl,--gc-sections -Wl,--cref -Wl,-Map=nuttx.map @CMakeFiles/nuttx.rsp -o nuttx && : > /tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: nuttx section `.data' will not fit in region `flash' > /tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: region `flash' overflowed by 352 bytes > Memory region Used Size Region Size %age Used > flash: 131424 B 128 KB 100.27% > sram: 9564 B 22 KB 42.45% > collect2: error: ld returned 1 exit status > ninja: build stopped: subcommand failed. > cp: cannot stat 'nuttx.hex': No such file or directory > cp: cannot stat 'nuttx.bin': No such file or directory > cp: cannot stat 'nuttx.hex': No such file or directory > cp: cannot stat 'nuttx.bin': No such file or directory > ==================================================================================== > ``` Thanks, i need some time to optimize this patch. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
