------- Additional Comments From hjl dot tools at gmail dot com 2010-09-15 14:51 ------- The problem is
#define BFD_CACHE_MAX_OPEN 10 ... bfd_boolean bfd_cache_init (bfd *abfd) { BFD_ASSERT (abfd->iostream != NULL); if (open_files >= BFD_CACHE_MAX_OPEN) { if (! close_one ()) return FALSE; } abfd->iovec = &cache_iovec; insert (abfd); ++open_files; return TRUE; } When you use AR with more than 9 files, one of them will be closed. But plugin isn't prepared to deal with it. -- What |Removed |Added ---------------------------------------------------------------------------- Summary|assertion fail |"ar --plugin" doesn't work |../../binutils/bfd/plugin.c:|with more than 9 files |250 while using ar with gcc | |lto plugin | http://sourceware.org/bugzilla/show_bug.cgi?id=12004 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils