bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under m


From: amodra at gmail dot com
Subject: [Bug ld/29998] ld terminated with signal 11 [Segmentation fault] under mingw with LTO
Date: Tue, 31 Jan 2023 04:37:59 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]