From kde-windows Tue May 14 07:10:07 2013 From: Patrick Spendrin Date: Tue, 14 May 2013 07:10:07 +0000 To: kde-windows Subject: Re: Crashes with libQtUiTools.a if linked multiple times into the same process (with Bsymbolic-funct Message-Id: <5191E34F.8060201 () gmx ! de> X-MARC-Message: https://marc.info/?l=kde-windows&m=136851543620984 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