cancel
Showing results for 
Search instead for 
Did you mean: 

Linker Garbage Collection Notes in CubeIDE for Target MCU F767

Chao
Senior II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Souhaib MAZHOUD
ST Employee

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.

View solution in original post

2 REPLIES 2
Souhaib MAZHOUD
ST Employee

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.

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

Chao