bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/30140] LD does not link PE executable with symbols from DEF file


From: ebotcazou at gcc dot gnu.org
Subject: [Bug ld/30140] LD does not link PE executable with symbols from DEF file
Date: Sun, 19 Feb 2023 22:07:32 +0000

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-02-19
             Status|UNCONFIRMED                 |NEW
                 CC|                            |ebotcazou at gcc dot gnu.org
           Severity|normal                      |minor
     Ever confirmed|0                           |1

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> I think that this is an issue in LD because it should be able to handle DEF
> file correctly. Or if LD does not support DEF files then it should throw
> meaningful human readable error. Not that "symbol not defined" because it
> *is* defined in test-library.def file.

GNU ld supports direct linking to DLLs on MinGW in addition to the standard
method with import libraries so I don't see any point in supporting another
indirect method like this.  But a proper error message indeed cannot hurt.

-- 
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]