------- Comment #2 from davek at gcc dot gnu dot org 2010-04-28 13:38 ------- Quoting RG from the gcc list:
"[ ... ] Or you fix collect2 to do processing of archives and hand lto1 the required information (it expects archive components with LTO bytecode like archiv...@offset with offset being the offset of the .o file with LTO bytecode inside the archive). See lto/lto-elf.c:lto_obj_file_open for "details"." -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41376