cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE 1.14.0 flto build warning

SKape
Associate II

Hello. I have the following problem. When I enable flto optimization in a (freshly generated) project, several dozen warnings appear during compilation.

Sample warnings:

Drivers/STM32L4xx_HAL_Driver/Src/subdir.mk:88: warning: pattern recipe did not update peer target 'Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.su'.

Drivers/STM32L4xx_HAL_Driver/Src/subdir.mk:88: warning: pattern recipe did not update peer target 'Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.cyclo'.

This problem was not present on the previous version 1.13.2

How to solve this problem?

22 REPLIES 22
CsBe
Associate III

Version: 1.16.1 -- still not fixed

skowron
Associate

Version: 1.17.0 -- still not fixed. How to get around this?

just the internal builder (Properties --- C/C++ Build ---  Builder Settings ---- Builder Type = Internal B)