bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/29389] pe renaming implib breaks bfd/cache.c reopening of


From: amodra at gmail dot com
Subject: [Bug binutils/29389] pe renaming implib breaks bfd/cache.c reopening of closed archives
Date: Tue, 02 Aug 2022 01:45:48 +0000

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

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