Closed Bug 1436513 Opened 6 years ago Closed 6 years ago

WebRTC tries to build with -msse2 on ARMv7 GNU/Linux

Categories

(Core :: WebRTC: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1434589

People

(Reporter: hsivonen, Unassigned)

Details

When building with --disable-debug --enable-optimize --enable-release (didn't try debug) on ARMv7 GNU/Linux (Ubuntu 16.04 running on Chrome OS kernel thanks to Crouton), the build fails with:

 0:22.92 g++: error: unrecognized command line option '-msse2'
 0:22.92 /var/host/media/removable/gecko/gecko/mozilla-central-ea00596eb02e/config/rules.mk:1047: recipe for target 'Unified_cpp_common_audio_sse2_gn0.o' failed
 0:22.92 make[4]: *** [Unified_cpp_common_audio_sse2_gn0.o] Error 1
 0:22.92 /var/host/media/removable/gecko/gecko/mozilla-central-ea00596eb02e/config/recurse.mk:73: recipe for target 'media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn/target' failed
 0:22.92 make[3]: *** [media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn/target] Error 2
 0:22.92 make[3]: *** Waiting for unfinished jobs....
 0:22.94 g++: error: unrecognized command line option '-msse2'
 0:22.94 /var/host/media/removable/gecko/gecko/mozilla-central-ea00596eb02e/config/rules.mk:1047: recipe for target 'Unified_cpp_o_processing_sse2_gn0.o' failed
 0:22.94 make[4]: *** [Unified_cpp_o_processing_sse2_gn0.o] Error 1
 0:22.94 /var/host/media/removable/gecko/gecko/mozilla-central-ea00596eb02e/config/recurse.mk:73: recipe for target 'media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn/target' failed
 0:22.95 make[3]: *** [media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn/target] Error 2
This is because we've switched to using gn to generate moz.build files. We don't currently have any gn configs for Linux on ARM, so the generated files attempt to use -msse2 for everything.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.