Did your LTO fixes work for GCC 5 in the end? I'm hitting those kind of errors with LTO on the ARM-based NRF51/2 ports too, and I'm not sure why because as far as I can tell there's no real linker magic going on.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Did your LTO fixes work for GCC 5 in the end? I'm hitting those kind of errors with LTO on the ARM-based NRF51/2 ports too, and I'm not sure why because as far as I can tell there's no real linker magic going on.