[Bug 46028] Provide separate debug/symbol info files (.pdb) for 32-bit and 64-bit Wine-Gecko 2.47+ package (unstripped 32-bit 'xul.dll' too large to be mapped)

WineHQ Bugzilla wine-bugs at winehq.org
Tue Dec 1 13:42:46 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=46028

--- Comment #14 from Jacek Caban <jacek at codeweavers.com> ---
(In reply to Anastasius Focht from comment #13)
> Hello Jacek,
> 
> I can confirm the provided tarballs containing PDB files for MinGW builds
> work for both, 32-bit and 64-bit Wine-Gecko.

Great, thanks for testing.

> Method 1: Extraction into WINEPREFIX (PDB live alongside the dlls).
> 
> 64-bit:
> 
> --- snip ---
> $ tar xJvf ~/.cache/wine/gecko/wine-gecko-2.47.2-x86_64-pdb.tar.xz \
>   --directory ~/.wine/drive_c/windows/system32/gecko/2.47.2/wine_gecko/ \
>   --wildcards '*.pdb' --strip=1
> 
> wine-gecko-2.47.2-x86_64/browsercomps.pdb
> wine-gecko-2.47.2-x86_64/xul.pdb
> wine-gecko-2.47.2-x86_64/mozavutil.pdb
> wine-gecko-2.47.2-x86_64/nss3.pdb
> wine-gecko-2.47.2-x86_64/clearkey.pdb
> wine-gecko-2.47.2-x86_64/plugin-container.pdb
> wine-gecko-2.47.2-x86_64/mozavcodec.pdb
> wine-gecko-2.47.2-x86_64/libGLESv2.pdb
> wine-gecko-2.47.2-x86_64/libEGL.pdb
> wine-gecko-2.47.2-x86_64/lgpllibs.pdb
> wine-gecko-2.47.2-x86_64/mozglue.pdb
> --- snip ---

If this usage pattern is common, then we can ship a tar containing only .pdb
files so that there is no need to filter. The way I ended up doing it is a bit
more convenient for using with shared build. You can just extract *-pdb.tar.xz
files into /opt/wine/gecko/ and it should just work without creating copies in
each prefix.

> In further future it might be feasible to distribute the PDB files for
> official Wine releases and its dependencies (Gecko, Mono) by using a symbol
> server/store (serve directory with a web server).
>
> Setting up a symbol store is not very hard
> (https://gist.github.com/rmi1974/90f14258c622fe57a9b70f6cabe69d66). There
> even exist Python tools mimicking the symstore tools from Debugging Tools
> for Windows (https://pypi.org/project/symstore/).

Agreed, it would be interesting.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list