Closed Bug 901208 Opened 11 years ago Closed 10 years ago

Skia fails to build on debian armel since bug 777614

Categories

(Core :: Graphics, defect)

24 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34
Tracking Status
firefox24 --- fixed
firefox25 --- fixed
firefox26 --- fixed
firefox31 --- wontfix
firefox32 --- fixed
firefox33 --- fixed
firefox34 --- fixed
firefox-esr31 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

(Whiteboard: [qa-])

Attachments

(2 files, 1 obsolete file)

Skia r5539 brought some armv6+ instructions without counterpart for older arm. There's also a #if SK_ARM_ARCH == 6 that should really be a <= 6.
Attached patch Fix Skia for ARM v4t (obsolete) — Splinter Review
Note the #ifdef for pld is technically wrong, because it's supported on ARMv5TE, but i didn't want to go through hoops to do this right, considering apart from me, probably nobody cares, and I'm targetting ARMv4T anyways.
Attachment #785360 - Flags: review?(tterribe)
Assignee: nobody → mh+mozilla
With a typo fix.
Attachment #790567 - Flags: review?(tterribe)
Attachment #785360 - Attachment is obsolete: true
Attachment #785360 - Flags: review?(tterribe)
Comment on attachment 790567 [details] [diff] [review]
Fix Skia for ARM v4t

Review of attachment 790567 [details] [diff] [review]:
-----------------------------------------------------------------

r=me, but see one question below.

::: gfx/skia/patches/0026-Bug-901208-Fix-ARM-v4t.patch
@@ +9,5 @@
> +                   "blo     2f                           \n\t"
> +                   "and     r4, r3, #0x0000f8            \n\t"
> +                   "and     r5, r3, #0x00fc00            \n\t"
> +                   "and     r6, r3, #0xf80000            \n\t"
> ++#if SK_ARM_ARCH >= 6

This is safe, so I have no objection, but isn't this what SK_ARM_HAS_EDSP is for?
Attachment #790567 - Flags: review?(tterribe) → review+
(In reply to Timothy B. Terriberry (:derf) from comment #3)
> This is safe, so I have no objection, but isn't this what SK_ARM_HAS_EDSP is
> for?

Indeed, thanks.
https://hg.mozilla.org/mozilla-central/rev/0bb8a5f5724e
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Comment on attachment 790567 [details] [diff] [review]
Fix Skia for ARM v4t

[Approval Request Comment]
I'd like this to land for the next ESR to avoid carrying the patch around for a year.
Bug caused by last skia upstream import
User impact if declined: Failure to build on the debian armel port
Testing completed (on m-c, etc.): Tested on Firefox 23 and 24 on debian.
Risk to taking this patch (and alternatives if risky): NPoTB
String or IDL/UUID changes made by this patch: None
Attachment #790567 - Flags: approval-mozilla-beta?
Attachment #790567 - Flags: approval-mozilla-aurora?
Comment on attachment 790567 [details] [diff] [review]
Fix Skia for ARM v4t

Please make sure that any Builds that may be impacted by this patch are generated once the patch lands on Beta.
Attachment #790567 - Flags: approval-mozilla-beta?
Attachment #790567 - Flags: approval-mozilla-beta+
Attachment #790567 - Flags: approval-mozilla-aurora?
Attachment #790567 - Flags: approval-mozilla-aurora+
Assuming no verification needed here. Please add the verifyme keyword and remove the [qa-] whiteboard tag to request verification.
Whiteboard: [qa-]
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This is the same patch as what landed in Fx26, but was left out in bug 910754.
Comment on attachment 8466837 [details] [diff] [review]
Fix Skia for ARM v4t, refreshed against current trunk

Carrying over r+
Attachment #8466837 - Attachment description: Fix Skia for ARM v4t → Fix Skia for ARM v4t, refreshed against current trunk
Attachment #8466837 - Flags: review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/f1a641e3d9dd
Whiteboard: [qa-] → [qa-][npotb][checkin-needed-aurora][checkin-needed-beta][checkin-needed-esr31]
Target Milestone: mozilla26 → ---
https://hg.mozilla.org/mozilla-central/rev/f1a641e3d9dd
Status: REOPENED → RESOLVED
Closed: 11 years ago10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: