------- Comment #2 from Daniel dot Davies at xerox dot com 2010-06-21 23:42 ------- Excellent! Here's where I must have gotten confused. http://gcc.gnu.org/install/configure.html says
--enable-gold Enable support for using gold as the linker. If gold support is enabled together with --enable-lto, an additional directory lto-plugin will be built. The code in this directory is a plugin for gold that allows the link-time optimizer to extract object files with LTO information out of library archives. See -flto and -fwhopr for details. Since I have object files in library archive, I assumed that gold was required. Two other hints: attempting to apply LTO to my large 32-bit application has absolutely no effect on performance; and attempting to link a 64-bit version of the same large application results in an error because the linker tries to link in the 32-bit lto-plugin.so. I'm hoping that actually having gold available will help, but perhaps that's just another mistake. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44621