https://sourceware.org/bugzilla/show_bug.cgi?id=29998
--- Comment #27 from Alan Modra <amodra at gmail dot com> --- Hmm, archives are not supposed to be on file_chain. See ldlang.c:load_symbols. /* We don't call ldlang_add_file for an archive. Instead, the add_symbols entry point will call ldlang_add_file, via the add_archive_element callback, for each element of the archive which is used. */ Thus archives' input_statement->next should be free to use for the trick in ldmain.c:add_archive_element and used in find_rescan_insertion. How did the archive manage to get on the file_chain list? I'm guessing we have some list corruption somewhere. -- You are receiving this mail because: You are on the CC list for the bug.