MinGW needs to bundle d3dcompiler_47.dll
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox-esr60 fixed, firefox66 fixed)
People
(Reporter: tjr, Assigned: tjr)
References
Details
Attachments
(2 files, 1 obsolete file)
|
59 bytes,
text/x-review-board-request
|
RyanVM
:
approval-mozilla-esr60+
|
Details |
|
4.61 KB,
patch
|
tjr
:
review+
|
Details | Diff | Splinter Review |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 3•7 years ago
|
||
Updated•7 years ago
|
Comment 4•7 years ago
|
||
Updated•6 years ago
|
| Assignee | ||
Comment 5•6 years ago
|
||
A cypherpunk over at https://trac.torproject.org/projects/tor/ticket/28874#comment:12 pointed out this inconsistency: in the DirectX SDK we look for _47: https://github.com/apitrace/dxsdk/blob/master/Include/d3dcompiler.h#L18 but in MinGW we look for _43: https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-headers/direct-x/include/d3dcompiler.h#l38
This is almost certainly the cause of this problem.
| Assignee | ||
Comment 6•6 years ago
|
||
Here's a try run with this patch:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7bfb8a8eb9f07e4de22a05730b3715c6d9acc706
Notice all the gl failures.
Here's a try run with this patch and updating MinGW to look for _47.dll:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=2d604bfba609fec964d8f1ab0ca1ba80b1ad38c8&selectedJob=220674737
All the gl tests are now green.
Horrah!
| Assignee | ||
Comment 7•6 years ago
|
||
Comment on attachment 8974763 [details]
Bug 1460620 Have MinGW look for d3dcompiler_47.dll (so it will be packaged) (esr60)
[ESR Uplift Approval Request]
If this is not a sec:{high,crit} bug, please state case for ESR consideration: Needed for MinGW Build
User impact if declined: We will be one step further from being able to run tests for mingw-gcc builds in TaskCluster
Fix Landed on Version:
Risk to taking this patch: Low
Why is the change risky/not risky? (and alternatives if risky): This is a toolchain-only patch that bundles a new file in the resulting target.zip
String or UUID changes made by this patch:
| Assignee | ||
Comment 8•6 years ago
|
||
The original patch applies cleanly to ESR60, so I left it there and marked it for approval. But I need review on the patch still; here is one that applies to central.
Try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=d5ab209f56c145273ac2c666cce2b826a08fd059
| Assignee | ||
Updated•6 years ago
|
Comment 9•6 years ago
|
||
Comment on attachment 9035144 [details] [diff] [review]
Bug 1460620 Have MinGW look for d3dcompiler_47.dll (so it will be packaged) r?Build
Review of attachment 9035144 [details] [diff] [review]:
Splinter is yelling at me that these are windows line-ending patches, please fix that prior to landing (maybe hg does that automagically?).
| Assignee | ||
Comment 10•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
Comment 11•6 years ago
|
||
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/763f90cc2fac
Have MinGW look for d3dcompiler_47.dll (so it will be packaged) r=froydnj
Comment 12•6 years ago
|
||
| bugherder | ||
Comment 13•6 years ago
|
||
Comment on attachment 8974763 [details]
Bug 1460620 Have MinGW look for d3dcompiler_47.dll (so it will be packaged) (esr60)
NPOTB for official Firefox builds. Makes MinGW builds easier to test by packaging necessary DLLs with them. Approved for 60.5.0esr.
Comment 14•6 years ago
|
||
| bugherder uplift | ||
Description
•