Closed Bug 819246 Opened 12 years ago Closed 12 years ago

Built failed when $target_arch is "arm" but not armv7

Categories

(Core :: WebRTC, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: slee, Assigned: slee)

Details

(Whiteboard: [WebRTC] [qa-])

Attachments

(1 file, 2 obsolete files)

As comment 7 on bug 818843, we should 
1. set default value of "arm_neon" to 0, or
2. go through all gypi files and fix the logistic error. That is only when "armv7" is true then we check the value of "arm_neon"
Assignee: nobody → slee
Blocks: 818843
Attached patch patch (obsolete) — Splinter Review
Hi ted,

Could you please review the patch or suggest someone to review it? I am not sure who is suitable to review the patch. I found that you are the reviewer of the file from log. 
Thanks.
Attachment #689593 - Flags: review?(ted)
Comment on attachment 689593 [details] [diff] [review]
patch

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

::: media/webrtc/trunk/build/common.gypi
@@ +189,5 @@
>        # Set ARM-v7 compilation flags
>        'armv7%': 0,
>  
>        # Set Neon compilation flags (only meaningful if armv7==1).
> +      'arm_neon%': 0,

This can be overridden without changing the source (the '%' suffix).  If this needs to be un-set, please do so via either configure.in (if it depends on something configure tests, which I suspect it does), or set it in media/webrtc/webrtc_config.gypi (perhaps conditionally).

If the logic that uses arm_neon is incorrect (needs to test something else, etc), please instead provide a patch for that.
Attachment #689593 - Flags: review?(ted) → review-
Attached patch patch v2 (obsolete) — Splinter Review
Only when "armv7" is true, we check the value of "arm_neon."
Attachment #689593 - Attachment is obsolete: true
Attachment #689748 - Flags: review?(rjesup)
Attachment #689748 - Flags: review?(rjesup) → review+
Attached patch patch v2Splinter Review
rebase.
Try server log,
* try: -b do -p all -u none -t none
** https://tbpl.mozilla.org/?tree=Try&rev=e123d87ad9be
Attachment #689748 - Attachment is obsolete: true
Attachment #690290 - Flags: review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/0f599b93f34d
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Whiteboard: [WebRTC] → [WebRTC] [qa-]
No longer blocks: 818843
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: