GCC -flto causes linker errors for STM32L476RGT6
I have a program for which I would like to enable link-time optimization. However, once I pass the -flto flag to the compiler and linker, I get two linker errors, one complaining about multiple definition of _exit and undefined reference to _sbrk. I...