http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53780
Matt Hargett <matt at use dot net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matt at use dot net --- Comment #11 from Matt Hargett <matt at use dot net> 2012-10-11 19:10:00 UTC --- I am also seeing the message: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::gregorian::bad_day_of_year> warning: relocation refers to discarded section in my final link of a large C++ program compiled with LTO (with boost not compiled as LTO). I tried compiling boost with LTO to work around the problem, but got an ICE instead (will file that later). Do the patches mentioned below (still) fix the problem in 4.7.x?