Link time optimization

Hi,

Does link time optimization work?

I’ve added -flto to all the compiler flags of my libraries and app.
I’ve also added -flto the linker flags.

I get a whole slew of “plug in required” when the libs are created, followed by
undefined references to all the library routines when the app attempts to link.

Anyone had this working?

Thanks,

Steve.

Hi Steve,

Nsight Tegra uses android-ndk of google to do native compiling. This is a bug of android-ndk. It seems they will fix it in android-ndk-r14. https://github.com/android-ndk/ndk/issues/108.

Victor