Closed
Bug 1252699
Opened 9 years ago
Closed 9 years ago
Build error on ubuntu 15.04 with an arm-hf toolchain
Categories
(Core :: WebRTC, defect)
Core
WebRTC
Tracking
()
RESOLVED
FIXED
mozilla47
People
(Reporter: fabrice, Assigned: glandium)
Details
Attachments
(1 file)
|
58 bytes,
text/x-review-board-request
|
jesup
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta-
Sylvestre
:
approval-mozilla-esr45+
|
Details |
When building with the docker image at https://github.com/makotokato/dockerfile-gecko-armhf-cross we fail to link:
../../build/unix/gold/ld: error: /mozilla/obj-gecko/toolkit/library/../../media/webrtc/trunk/webrtc/modules/modules_iSACFix/Unified_c_webrtc_modules1.o: multiple definition of 'WebRtcIsacfix_kSinTab2'
../../build/unix/gold/ld: /mozilla/obj-gecko/toolkit/library/../../media/webrtc/trunk/webrtc/modules/modules_isac_neon/transform_neon.o: previous definition here
../../build/unix/gold/ld: error: /mozilla/obj-gecko/toolkit/library/../../media/webrtc/trunk/webrtc/modules/modules_iSACFix/Unified_c_webrtc_modules1.o: multiple definition of 'WebRtcIsacfix_kSinTab1'
../../build/unix/gold/ld: /mozilla/obj-gecko/toolkit/library/../../media/webrtc/trunk/webrtc/modules/modules_isac_neon/transform_neon.o: previous definition here
../../build/unix/gold/ld: error: /mozilla/obj-gecko/toolkit/library/../../media/webrtc/trunk/webrtc/modules/modules_iSACFix/Unified_c_webrtc_modules1.o: multiple definition of 'WebRtcIsacfix_kCosTab1'
../../build/unix/gold/ld: /mozilla/obj-gecko/toolkit/library/../../media/webrtc/trunk/webrtc/modules/modules_isac_neon/transform_neon.o: previous definition here
| Reporter | ||
Updated•9 years ago
|
Summary: Build error on ubuntu 15.04 with an arm-hg toolchain → Build error on ubuntu 15.04 with an arm-hf toolchain
| Reporter | ||
Comment 1•9 years ago
|
||
So it seems like we are going into https://mxr.mozilla.org/mozilla-central/source/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_tables.c#21
Looks like the WEBRTC_DETECT_ARM_NEON and/or WEBRTC_ARCH_ARM_NEON feature detection is broken?
| Assignee | ||
Comment 2•9 years ago
|
||
Those tables are *also* defined in media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_neon.S. That would be the problem.
| Assignee | ||
Updated•9 years ago
|
| Assignee | ||
Comment 3•9 years ago
|
||
The question becomes... why does this not affect our android builds?
| Reporter | ||
Comment 4•9 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #3)
> The question becomes... why does this not affect our android builds?
Because of http://mxr.mozilla.org/mozilla-central/source/media/webrtc/trunk/webrtc/build/common.gypi#323 I believe.
| Reporter | ||
Comment 5•9 years ago
|
||
I mean, why aren't we detecting neon everywhere?
| Assignee | ||
Comment 6•9 years ago
|
||
Oh, we're forcing arm_neon to 0 in build/gyp.mozbuild.
| Assignee | ||
Comment 7•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/37509/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/37509/
Attachment #8725496 -
Flags: review?(rjesup)
| Assignee | ||
Comment 8•9 years ago
|
||
Fabrice, can you check the patch works for you?
| Reporter | ||
Comment 9•9 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #8)
> Fabrice, can you check the patch works for you?
Yes, this works.
Comment 10•9 years ago
|
||
Comment on attachment 8725496 [details]
MozReview Request: Bug 1252699 - Set WEBRTC_DETECT_ARM_NEON when optional neon is requested
https://reviewboard.mozilla.org/r/37509/#review34131
Attachment #8725496 -
Flags: review?(rjesup) → review+
Comment 11•9 years ago
|
||
| Assignee | ||
Comment 12•9 years ago
|
||
Comment on attachment 8725496 [details]
MozReview Request: Bug 1252699 - Set WEBRTC_DETECT_ARM_NEON when optional neon is requested
Approval Request Comment
[Feature/regressing bug #]: Regression from bug 1198458
[User impact if declined]: Cannot compile Firefox for non-Android/b2g armhf architectures
[Describe test coverage new/current, TreeHerder]: N/A
[Risks and why]: NPOTB. I guess it's too late to make it to the 45 release :( At least getting it in 46 would be nice.
[String/UUID change made/needed]: None
Attachment #8725496 -
Flags: approval-mozilla-beta?
Attachment #8725496 -
Flags: approval-mozilla-aurora?
Comment 13•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Comment 14•9 years ago
|
||
Comment on attachment 8725496 [details]
MozReview Request: Bug 1252699 - Set WEBRTC_DETECT_ARM_NEON when optional neon is requested
It is too late for 45 but we can take a patch for esr45.1
Could be a ride along if we do a 45.0.1
Attachment #8725496 -
Flags: approval-mozilla-beta?
Attachment #8725496 -
Flags: approval-mozilla-beta-
Attachment #8725496 -
Flags: approval-mozilla-aurora?
Attachment #8725496 -
Flags: approval-mozilla-aurora+
Updated•9 years ago
|
Comment 16•9 years ago
|
||
| bugherder uplift | ||
Comment 17•9 years ago
|
||
Comment on attachment 8725496 [details]
MozReview Request: Bug 1252699 - Set WEBRTC_DETECT_ARM_NEON when optional neon is requested
cf comment #12
Attachment #8725496 -
Flags: approval-mozilla-esr45?
Updated•9 years ago
|
| Assignee | ||
Comment 18•9 years ago
|
||
Why am I receiving mails that this is tracked for esr38? (and can we get it on esr45?)
Comment 19•9 years ago
|
||
Comment on attachment 8725496 [details]
MozReview Request: Bug 1252699 - Set WEBRTC_DETECT_ARM_NEON when optional neon is requested
Simplify the life of some people, taking it.
Attachment #8725496 -
Flags: approval-mozilla-esr45? → approval-mozilla-esr45+
Comment 20•9 years ago
|
||
| bugherder uplift | ||
You need to log in
before you can comment on or make changes to this bug.
Description
•