Duplicate relocations in DLL

Alessandro Pignotti alexpigna.dev at gmail.com
Fri May 17 06:40:15 CDT 2013


Wine does not seem to even try to load DLLs at their preferred address. Still, 
I'm not sure this is actually bad and I think Win8 forces randomization of the 
layout anyway,

Alessandro

> He believes that this was done on purpose to break Wine and other non-
> Windows environments. It's an interface to BASS/fmod, and these
> libraries supposedly have very strict licensing requirements that
> require you to pay per platform you want to support. By constructing
> the dll this way it will always (with the caveat mentioned above) run
> on Windows, but not under Wine (unless the preferred load address is
> available and Wine loads it there, but there are no guarantees for
> that; I don't even know whether Wine tries to do this).
> As to the best solution: not sure. Current Wine behaviour matches that
> of Windows, it's the unavailable preferred load address that triggers
> the "problem".
> 
> 
> Jonas



More information about the wine-devel mailing list