Closed
Bug 1507052
Opened 6 years ago
Closed 4 years ago
ppc64le tries to build x86 sse webrtc code
Categories
(Core :: WebRTC, defect, P5)
Core
WebRTC
Tracking
()
RESOLVED
DUPLICATE
of bug 1465274
People
(Reporter: joel, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3602.2 Safari/537.36 Expected results: Building Firefox from mozilla central on Linux ppc64le (Ubuntu Cosmic): 2:50.74 In file included from /scratch/joel/gecko/obj-powerpc64le-unknown-linux-gnu/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn/Unified_cpp_o_processing_sse2_gn0.cpp:2: 2:50.74 In file included from /scratch/joel/gecko/media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_core_sse2.cc:15: 2:50.74 In file included from /usr/include/clang/7.0.0/include/emmintrin.h:27: 2:50.74 In file included from /usr/include/clang/7.0.0/include/xmmintrin.h:27: 2:50.74 /usr/include/clang/7.0.0/include/mmintrin.h:47:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'? 2:50.74 __builtin_ia32_emms(); 2:50.74 ^ 2:50.74 /usr/include/clang/7.0.0/include/mmintrin.h:47:5: note: '__builtin_isless' declared here 2:50.74 /usr/include/clang/7.0.0/include/mmintrin.h:47:25: error: too few arguments to function call, expected 2, have 0 2:50.74 __builtin_ia32_emms(); 2:50.74 ^ 2:50.74 /usr/include/clang/7.0.0/include/mmintrin.h:64:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si' 2:50.75 return (__m64)__builtin_ia32_vec_init_v2si(__i, 0); 2:50.75 ^ Webrtc needs to be told not to include these files on non-x86 platforms.
Might be related to https://bugzilla.mozilla.org/show_bug.cgi?id=1376873 We need to add configs for ppc to media/webrtc/gn-configs/
This may describe how to do so: https://bugzilla.mozilla.org/show_bug.cgi?id=1437670
Comment 3•6 years ago
|
||
Yes, unfortunately you will have to regenerate json files for this platform after the webrtc.org update. Please let me know if you need any help with the process. I imagine the most difficult part will be to get a version of gn that runs on your platform.
Rank: 45
Component: Untriaged → WebRTC
Priority: -- → P5
Product: Firefox → Core
Comment 4•4 years ago
|
||
I think this was fixed by bug 1465274 and I continue to build regularly on Fedora ppc64le without seeing the problem recur, so I'm going to dupe this. Advise if otherwise.
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•