2025-03-04 2:04 AM - edited 2025-03-04 2:08 AM
Hi All
Greetings
Im using the SBSFU folder from b-U585-IOT2A and was successfully running the codes. When updated the cube ide to latest version v1.18 from version v1.17, the following compilation is occuring in the Secure Application
Error message:
"C:/ST/STM32CubeIDE_1.15.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: C:/ST/STM32CubeIDE_1.15.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v8-m.main+fp/hard\libc_nano.a(libc_a-gettimeofdayr.o): note: the message above does not take linker garbage collection into account"
and the compilation is failing. Anyone could you suggest a fix to this issue
Thanks for the support in advance
Regards
Philip
Solved! Go to Solution.
2025-03-05 1:40 AM
Actually, STM32CubeIDE v1.18.0 was updated to GCC 13.2 version as default toolchain.
Try to install the older GCC version you were using from the "Toolchain Manager" in STM32CubeIDE and re-build the project.
KR,
Souhaib
2025-03-04 6:30 AM
> note: the message above does not take linker garbage collection into account
and what is the message above? Post the full error message.
2025-03-04 9:29 PM
Hi
posting full error message again
"C:/ST/STM32CubeIDE_1.15.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: C:/ST/STM32CubeIDE_1.15.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v8-m.main+fp/hard\libc_nano.a(libc_a-gettimeofdayr.o): note: the message above does not take linker garbage collection into account"
Thanks
Philip
2025-03-05 1:20 AM - edited 2025-03-05 1:33 AM
Same error as @PJose.4 here, appeared after updating STM32CubeIDE to 1.18 version.
After hitting 'Build' button, the message in the Console says 'Build Failed. 1 errors' with the following message lines ( the 1st and the 3rd lines are marked with yellow background, while the 2nd is marked with red :
(.text._gettimeofday_r+0xe): warning: _gettimeofday is not implemented and will always fail
C:/ST/STM32CubeIDE_1.17.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: C:/ST/STM32CubeIDE_1.17.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-gettimeofdayr.o): note: the message above does not take linker garbage collection into account
C:/ST/STM32CubeIDE_1.17.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: evdos_leakage.elf has a LOAD segment with RWX permissions
However, there are output files (.elf ) created in the Debug folder (in my case), so I suppose that is something with the IDE and not critical. Also, if I hit the 'Build' button again, the error clears.
After updating CubeIDE, a message appeared saying if I wanted to update the current workspace or create a new one. I chose to update the current workspace, could that be the issue ?
2025-03-05 1:40 AM
2025-03-05 2:47 AM
Hi @Souhaib MAZHOUD
Thanks for your solution with GNU Tool 12.3 rel1 in the STM32Cube IDE V1.18 the compilation is working.
Thanks for your support
Best Regards
Philip