Closed
Bug 1359552
Opened 8 years ago
Closed 8 years ago
Angle Build Broken on MinGW
Categories
(Firefox Build System :: General, enhancement)
Tracking
(firefox55 fixed)
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: tjr, Assigned: tjr)
References
(Blocks 1 open bug)
Details
(Whiteboard: [tor])
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
Details |
In Bug 1314979, I turned off an Angle-related section of old-configure.in when we were compiling on Linux with MinGW for Windows. I did this thinking it was unneeded; and since the section errorred about the lack of a Windows SDK being present, that was the way to fix the error.
That was a mistake. We need to hit that section to set MOZ_HAS_WINSDK_WITH_D3D - if that define is not set we don't include d3d11.h which (surprise) is required for stuff.
The mistake about why the patch worked or not was caused by some confusion about the state of my tree while waiting for Bug 1331335 to get reviewed.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8861570 -
Flags: review?(mh+mozilla)
![]() |
||
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8861570 [details]
Bug 1359552 ANGLE requires MOZ_HAS_WINSDK_WITH_D3D to be set for required includes in MINGW
https://reviewboard.mozilla.org/r/133536/#review137074
glandium is on holiday. So stealing this review so it doesn't sit idle.
This change looks fine. Thank you for writing a good commit message.
You can ignore the indentation nit if you want: it shouldn't be relevant.
::: old-configure.in:3132
(Diff revision 1)
>
> if test "$COMPILE_ENVIRONMENT" ; then
> case "$target_os" in
> *mingw*)
> - if test "$OS_ARCH" = "$HOST_OS_ARCH"; then
> MOZ_ANGLE_RENDERER=1
This line should be unindented.
Attachment #8861570 -
Flags: review+
Comment hidden (mozreview-request) |
![]() |
||
Comment 5•8 years ago
|
||
hg error in cmd: hg rebase -s 50fd9cf1d1fd -d 1219abce0035: abort: can't rebase public changeset 50fd9cf1d1fd
(see 'hg help phases' for details)
Updated•8 years ago
|
Keywords: checkin-needed
![]() |
||
Comment 6•8 years ago
|
||
hg error in cmd: hg rebase -s 50fd9cf1d1fd -d c2b3ef7f8efe: abort: can't rebase public changeset 50fd9cf1d1fd
(see 'hg help phases' for details)
Pushed by kwierso@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/21fb5fb40df5
ANGLE requires MOZ_HAS_WINSDK_WITH_D3D to be set for required includes in MINGW r=gps
Unsure what was wrong with autoland. I just pushed the patch to inbound instead.
![]() |
||
Comment 9•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Comment 10•8 years ago
|
||
mozreview-review |
Comment on attachment 8861570 [details]
Bug 1359552 ANGLE requires MOZ_HAS_WINSDK_WITH_D3D to be set for required includes in MINGW
https://reviewboard.mozilla.org/r/133536/#review140410
::: old-configure.in:3164
(Diff revision 2)
> fi
>
> ######################################
> # Find _46+ for use by Vista+.
>
> # Find a D3D compiler DLL in a Windows SDK.
If you ignore the error, you might as well skip the entire test.
That being said, on reflection, it seems like we should still require the d3d compiler dll for those builds... except if the gfx team says otherwise.
Attachment #8861570 -
Flags: review?(mh+mozilla)
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•