Skip to main content
Senior
October 19, 2025
Solved

Linker Garbage Collection Notes in CubeIDE for Target MCU F767

  • October 19, 2025
  • 1 reply
  • 369 views

Hi

Recently, when I import an LWIP example project from MDK to CubeIDE, I get the following note message::

     "note: the message above does not take linker garbage collection into account"

Chao_1-1760861480860.png

I have 2 questions against these notes:

1. Do these notes have any negative affects on generatiing correct binary of the project ?

2. If they don't have any negative affects, then how to avoid these annoying messages ?

Thanks

Chao

Best answer by Souhaib MAZHOUD

Hello @Chao 

I assume that this issue has been answered here: Solved: STM32CubeIDE 1.13.0 problem - Page 3 - STMicroelectronics Community "this is ‘just’ a warning, and the linker is able to generate a proper ELF file. As long as your application does not use read/write/close/lseek (which should be the case for a bare metal application), your application will run properly."

KR, Souhaib

1 reply

Souhaib MAZHOUDBest answer
Technical Moderator
October 20, 2025

Hello @Chao 

I assume that this issue has been answered here: Solved: STM32CubeIDE 1.13.0 problem - Page 3 - STMicroelectronics Community "this is ‘just’ a warning, and the linker is able to generate a proper ELF file. As long as your application does not use read/write/close/lseek (which should be the case for a bare metal application), your application will run properly."

KR, Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
ChaoAuthor
Senior
October 25, 2025

Thank you so much! I found the syscall.c is missing in my project.

Chao