Open Bug 1373354 Opened 7 years ago Updated 2 years ago

mach buildsymbols fails building/running dump_syms.exe with Visual Studio 2015 Express: [Error 2] The system cannot find the file specified.

Categories

(Firefox Build System :: General, defect)

Unspecified
Windows
defect

Tracking

(Not tracked)

People

(Reporter: lsalzman, Unassigned)

References

Details

Attachments

(1 file)

mach buildsymbols fails on Windows trying to run dump_syms.exe on certain files such as dlls that don't seem to exist. Log of errors is attached.

mozconfig shouldn't be controversial, just:

ac_add_options --enable-profiling
ac_add_options --enable-debug

mach build was run before mach buildsymbols.
I tried an opt build without the --enable-debug, and it still fails with the same result...
Further development: it appears dump_syms.exe is missing?
I was able to reproduce something like this in my Windows environment. dump_syms.exe was missing due to configure failing to find "dia2.h". I was able to dump and pack symbols locally after fiddling with my VS2017 installation and registering a relevant dll, so I don't think this stems from bug 1337986.
No longer blocks: 1337986
So it would appear this is related to me using 2015 express edition, which does not install the DIA SDK. And apparently there is no pre-built version of dump_syms.exe for VS 2015 in the tree, so I can't seem to just use the ones there for older versions...
Summary: mach buildsymbols fails trying to run dump_syms.exe on non-existent files: [Error 2] The system cannot find the file specified. → mach buildsymbols fails trying to building/running dump_syms.exe with Visual Studio 2015 Express: [Error 2] The system cannot find the file specified.
Summary: mach buildsymbols fails trying to building/running dump_syms.exe with Visual Studio 2015 Express: [Error 2] The system cannot find the file specified. → mach buildsymbols fails building/running dump_syms.exe with Visual Studio 2015 Express: [Error 2] The system cannot find the file specified.
See Also: → 623183
(In reply to Lee Salzman [:lsalzman] from comment #4)
> So it would appear this is related to me using 2015 express edition, which
> does not install the DIA SDK. And apparently there is no pre-built version
> of dump_syms.exe for VS 2015 in the tree, so I can't seem to just use the
> ones there for older versions...

Ugh. We should just print a useful error if you wind up in this situation. FWIW, the VS Community installers include the DIA SDK.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: