> > It is exactly the warning newly added by this patch. > > /scratch/sandra/arm-eabi-upstream/install/lib/gcc/arm-none-eabi/9.0.0/../../../../arm-none-eabi/bin/ld: > warning: incremental linking of LTO and non-LTO objects; using > -flinker-output=nolto-rel which will bypass whole program optimization > > I built a completely fresh arm-none-eabi toolchain with a brand-new > binutils-gdb trunk checkout, so this isn't a problem with an old binutils.
This is different issue. Perhaps it is because we normaly link in shared lib but now we bring -fno-lto object into LTO incremental link. What object files are being linked together here? Honza > > -Sandra