[Mesa-dev] Compiling llvm windows name mangled

Emil Velikov emil.l.velikov at gmail.com
Thu Dec 11 00:40:33 PST 2014


Hi Jose,
On 10/12/14 14:18, Jose Fonseca wrote:
> I never tried, but it doesn't surprise that ?USE_MGL_NAMESPACE doesn't work properly on Windows.
> 
> 
> At very least the src/mesa/drivers/windows/gdi and src/gallium/targets/libgl-gdi targets will fail because the .DEF files there explicitly request the non-mangled symbols.
> 
> 
> Not sure if src/mesa/drivers/osmesa will produce something useful. You can ask scons to only build osmesa by passing "scons osmesa .."
> 
> ?
> 
> 
> That said, there's little to zero merit in USE_MGL_NAMESPACE on Windows because on Windows it's fine to have different DLLs exporting the same symbols, since unlike Unixes, DLLs exports are not dumped into a global namespace.
> 
As you mentioned MGL and *nix in one sentience - did you have any
success building a mangled libgl (under Linux) recently ?

I've had a few unsuccessful attempts 2+months ago, and it is still
somewhat busted.


Cheers,
Emil


More information about the mesa-dev mailing list