Hi All, I have an issue while linking with lto. Adding lto switch causes linking problem: /tmp/ccxSBT93.ltrans2.ltrans.o:(.rodata+0x48): undefined reference to `non-virtual thunk to boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >::~clone_impl()' /tmp/ccxSBT93.ltrans2.ltrans.o:(.rodata+0x50): undefined reference to `non-virtual thunk to boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >::~clone_impl()' /tmp/ccxSBT93.ltrans2.ltrans.o:(.rodata+0x78): undefined reference to `non-virtual thunk to boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >::~clone_impl()' /tmp/ccxSBT93.ltrans2.ltrans.o:(.rodata+0x80): undefined reference to `non-virtual thunk to boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >::~clone_impl()' /opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/ld: boostTest: hidden symbol `.LTHUNK17.18652' isn't defined /opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/ld: final link failed: Bad value collect2: error: ld returned 1 exit status gcc version is Redhat one 4.8.2, compilation without -flto works, do you have any ideas? regards Łukasz Tasz