LTO Archives in Cross Builds: Keep Compiler Plugins and Binutils Compatible
A static archive containing GCC LTO objects is more than a collection of target machine instructions. Its consumer may need to read GCC’s intermediate representation through a compatible compiler and linker plugin. When an archive is visible but linking fails, establish that tool relationship before changing library order. This guide pins GCC 14.2 and GNU…