Closed Bug 1620832 Opened 4 years ago Closed 4 years ago

lld-link: error: undefined symbol: _GetFileVersionInfoSizeW

Categories

(Thunderbird :: Build Config, defect)

All
Windows
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 75.0

People

(Reporter: Paenglab, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

treeherder and I get following errors
0:16.00 lld-link: error: undefined symbol: GetFileVersionInfoSizeW
0:16.00 >>> referenced by ......\security\sandbox\file_version_info_win.obj:(public: static class std::unique_ptr<class FileVersionInfoWin, struct std::default_delete<class FileVersionInfoWin>> __cdecl FileVersionInfoWin::CreateFileVersionInfoWin(class base::FilePath const &))
0:16.00 lld-link: error: undefined symbol: GetFileVersionInfoW
0:16.00 >>> referenced by ......\security\sandbox\file_version_info_win.obj:(public: static class std::unique_ptr<class FileVersionInfoWin, struct std::default_delete<class FileVersionInfoWin>> __cdecl FileVersionInfoWin::CreateFileVersionInfoWin(class base::FilePath const &))
0:16.00 lld-link: error: undefined symbol: VerQueryValueW
0:16.00 >>> referenced by ......\security\sandbox\file_version_info_win.obj:(public: static class std::unique_ptr<class FileVersionInfoWin, struct std::default_delete<class FileVersionInfoWin>> __cdecl FileVersionInfoWin::CreateFileVersionInfoWin(class base::FilePath const &))
0:16.00 >>> referenced by ......\security\sandbox\file_version_info_win.obj:(public: static class std::unique_ptr<class FileVersionInfoWin, struct std::default_delete<class FileVersionInfoWin>> __cdecl FileVersionInfoWin::CreateFileVersionInfoWin(class base::FilePath const &))
0:16.00 >>> referenced by ......\security\sandbox\file_version_info_win.obj:(private: __cdecl FileVersionInfoWin::FileVersionInfoWin(class std::vector<unsigned char, class std::allocator<unsigned char>> &&, unsigned short, unsigned short))

When I back-out bug 1615401 my build is successful.

This compiles anyway. No idea what the implications of doing that are.
Assignee: nobody → rob
Status: NEW → ASSIGNED
Assignee: rob → nobody
Status: ASSIGNED → NEW
Comment on attachment 9131745 [details] [diff] [review]
Include version.dll when linking thunderbird.exe

https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=0deacf7d1d4693419b300d90ebd3677e58066c66

I'm inclined to wait for the unittests to run before landing.
Attachment #9131745 - Flags: review?(richard.marti)
Attachment #9131745 - Flags: review?(mkmelin+mozilla)
Comment on attachment 9131745 [details] [diff] [review]
Include version.dll when linking thunderbird.exe

Thanks! Works locally.
Attachment #9131745 - Flags: review?(richard.marti) → review+
Attachment #9131745 - Flags: review?(mkmelin+mozilla)

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/5c68b2fdcca6
Include version.dll when linking thunderbird.exe. r=Paenglab

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Component: General → Build Config
Target Milestone: --- → Thunderbird 75.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: