GCC 4.5 20091008. In lto-plugin/configure.ac, AC_SYS_LARGEFILE should stay before AC_OUTPUT.
Otherwise, LTO plugin is compiled without -D_FILE_OFFSET_BITS=64, which then causes an error in lto-plugin.c:576: claim_file_handler: Assertion `status == LDPS_OK' failed. -- Summary: LTO plugin misconfiguration Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41652