[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-windows
Subject:    Re: Crashes with libQtUiTools.a if linked multiple times into the same process (with Bsymbolic-funct
From:       Patrick Spendrin <ps_ml () gmx ! de>
Date:       2013-05-14 7:10:07
Message-ID: 5191E34F.8060201 () gmx ! de
[Download RAW message or body]

Am 14.05.2013 00:28, schrieb Friedrich W. H. Kossebau:
> Hi Windows-Warriors,
> 
> tl;dr how to prevent symbol clashes with static libs multiple times in the 
> same process with the supported windows linkers?

The problem you seem to hit on Linux doesn't exist on windows, since
symbols from the static libraries are not public symbols (an equivalent
of hidden symbols is always switched on). This means that you can link a
static library into every binary you have, and still they cannot
interact there. This also marks the problem: you will not be able to
share memory between those binaries, which means that a memory region
allocated from the static library in A.dll cannot be freed by the static
library in B.dll. similar issues exist for other kinds of memory transfers.

regards,
Patrick
_______________________________________________
Kde-windows mailing list
Kde-windows@kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic