This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FW: libtool devel package still dll crippled.


Forwarding to the correct mailing list.

cgf

On Sun, Apr 21, 2002 at 07:15:25PM +0200, Ralf Habacker wrote:
>>>ld checks the symbols in the shared libs during compile time to see if
>>>it can resolve all symbols and appearantly also detects duplicated
>>>symbols.  On Linux it is not necassery impossible to have two libs that
>>>define the same symbols.  E.g.  this feature can be used to override
>>>the malloc implementation of libc.  Of course when this happens
>>>inadvertently it can lead to unexpected behaviour/crashes.  ELF (The
>>>linking format used on Linux) has rather complex rules for determining
>>>which symbol should be used if it is defined multiple times.  It also
>>>distinguishes between weak and strong symbols.  It might be that it is
>>>only possible to override weak-symbols and that multiple strong-symbols
>>>result in link-errors.
>>
>>Does the cygwin ld has some similar rules ?
>>
>Is nobody on this list, who can give an answer to this question ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]