Closed
Bug 945292
Opened 11 years ago
Closed 11 years ago
Fix ANGLE compilation on mingw.
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: jacek, Assigned: jacek)
Details
(Whiteboard: [qa-] leave open)
Attachments
(2 files, 1 obsolete file)
2.40 KB,
patch
|
glandium
:
review+
jgilbert
:
checkin+
|
Details | Diff | Splinter Review |
13.77 KB,
patch
|
jgilbert
:
review+
jacek
:
checkin+
|
Details | Diff | Splinter Review |
The last update of ANGLE broke mingw build. I fixed it upstream:
https://codereview.appspot.com/13821044/
The fix also contains fix from angle-build-case-sensitive.patch in our tree, so I removed it. I didn't create a new .patch file, because it won't be needed when updating to recent version. Let me know if you want that in tree anyways.
Attachment #8341124 -
Flags: review?(bjacob)
Updated•11 years ago
|
Attachment #8341124 -
Flags: review?(bjacob) → review?(jgilbert)
Assignee | ||
Comment 1•11 years ago
|
||
Makefile.in part. Other than using SSE2 for ImageSSE2.cpp, this avoids overrding OS_COMPILE_CFLAGS and OS_COMPILE_CXXFLAGS. The problem is that those contain arguments for generating .pp files, which are needed for mingw compilation. I don't see any harm in having MOZILLA_CLIENT defined here.
Attachment #8341153 -
Flags: review?(mh+mozilla)
Comment 2•11 years ago
|
||
Comment on attachment 8341153 [details] [diff] [review]
Makefile.in part
Review of attachment 8341153 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/angle/src/libEGL/Makefile.in
@@ +13,5 @@
> # mozilla-config.h and -DMOZILLA_CLIENT automatically included and defined, so
> # we just overwrite OS_COMPILE_C(XX)FLAGS.
> OS_COMPILE_CFLAGS = $(OS_CPPFLAGS)
> OS_COMPILE_CXXFLAGS = $(OS_CPPFLAGS)
> +endif
Just remove those four lines.
Attachment #8341153 -
Flags: review?(mh+mozilla) → review+
Assignee | ||
Comment 3•11 years ago
|
||
OK, pushed with those removed. Thanks for review.
https://hg.mozilla.org/integration/mozilla-inbound/rev/32ad0b1d8a3f
Whiteboard: leave open
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Comment on attachment 8341124 [details] [diff] [review]
patch.diff
Review of attachment 8341124 [details] [diff] [review]:
-----------------------------------------------------------------
We do need a record of this change in the tree, in case we don't upgrade all the way to tip.
::: gfx/angle/angle-build-case-sensitive.patch
@@ -1,5 @@
> -From: Jeff Gilbert <jgilbert@mozilla.com>
> -* * *
> -Bug 840577 - Fix ANGLE cross compilation on case sensitive OSes, relanded
> -
> -diff --git a/gfx/angle/src/libGLESv2/precompiled.h b/gfx/angle/src/libGLESv2/precompiled.h
This is a non-sensical change. You can see this patch applied if you check 'precompiled.h'.
Attachment #8341124 -
Flags: review?(jgilbert) → review-
Assignee | ||
Comment 6•11 years ago
|
||
This version adds a patch file to the tree.
Attachment #8341124 -
Attachment is obsolete: true
Attachment #8365572 -
Flags: review?(jgilbert)
Updated•11 years ago
|
Attachment #8365572 -
Flags: review?(jgilbert) → review+
Updated•11 years ago
|
Attachment #8365572 -
Flags: checkin?
Updated•11 years ago
|
Attachment #8341153 -
Flags: checkin+
Updated•11 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 7•11 years ago
|
||
Thanks for the review.
https://hg.mozilla.org/integration/mozilla-inbound/rev/2cf46ef0d1da
Keywords: checkin-needed
Assignee | ||
Updated•11 years ago
|
Attachment #8365572 -
Flags: checkin? → checkin+
Comment 8•11 years ago
|
||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Updated•11 years ago
|
Whiteboard: leave open → [qa-] leave open
You need to log in
before you can comment on or make changes to this bug.
Description
•