https://sourceware.org/bugzilla/show_bug.cgi?id=20267
--- Comment #4 from huang zhenyu <zyfwong at gmail dot com> --- (In reply to H.J. Lu from comment #2) > (In reply to huang zhenyu from comment #0) > > > If I add one more check after `bfd_check_format`, it seems that the problem > > is fixed: > > > > if (abfd->plugin_format == bfd_plugin_yes) > > return FALSE; > > This will ignore archive with IR. I've tried this in one of my project, seems to work fine. Your second patch seems fix this problem, I've tried it with the same project, no segfault, and produce same binary. Thanks for your quick replying. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils