https://sourceware.org/bugzilla/show_bug.cgi?id=29389

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Failed assertions in        |pe renaming implib breaks
                   |bfd/cofflink.c and          |bfd/cache.c reopening of
                   |bfd/coff-x86_64.c during    |closed archives
                   |the linking stage (MSYS2    |
                   |MinGW64)                    |

--- Comment #19 from Alan Modra <amodra at gmail dot com> ---
This code in ld/emultempl/pe.em is the cause.  (also in pep.em)

                        /* Rename this implib to match the other one.  */
                        if (!bfd_set_filename (is->the_bfd->my_archive,
                                               other_bfd_filename))

You just can't do that when the filename is needed to reopen closed files.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to