[Webkit-unassigned] [Bug 245621] New: [WPE][GTK] Build error in in ARM64 after 254645 at main
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Sep 24 07:55:55 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=245621
Bug ID: 245621
Summary: [WPE][GTK] Build error in in ARM64 after 254645 at main
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebRTC
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dpino at igalia.com
CC: youennf at gmail.com
While building WebKitGTK/WPE in ARM64 using LibWebRTC, I get the following build error:
```
FAILED: Source/ThirdParty/libwebrtc/CMakeFiles/webrtc.dir/Source/webrtc/common_audio/fir_filter_sse.cc.o
<CXX> -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WPE__=1 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DEXPAT_RELATIVE_PATH -DGETTEXT_PACKAGE=\"WPE\" -DHAVE_CONFIG_H -DHAVE_CONFIG_H=1 -DHAVE_LRINT -DHAVE_LRINTF -DHAVE_NETINET_IN_H -DHAVE_SCTP -DHAVE_STDINT_H -DHAVE_STDLIB_H -DHAVE_UINT64_T -DHAVE_WEBRTC_VIDEO -DHAVE_WEBRTC_VOICE
In file included from ../../../Source/ThirdParty/libwebrtc/Source/webrtc/common_audio/fir_filter_sse.cc:15:
In file included from /usr/lib/llvm-12/lib/clang/12.0.0/include/xmmintrin.h:13:
/usr/lib/llvm-12/lib/clang/12.0.0/include/mmintrin.h:33:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
__builtin_ia32_emms();
^
/usr/lib/llvm-12/lib/clang/12.0.0/include/mmintrin.h:33:5: note: '__builtin_isless' declared here
/usr/lib/llvm-12/lib/clang/12.0.0/include/mmintrin.h:33:25: error: too few arguments to function call, expected 2, have 0
__builtin_ia32_emms();
~~~~~~~~~~~~~~~~~~~~^
/usr/lib/llvm-12/lib/clang/12.0.0/include/mmintrin.h:50:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
```
It seems the build is using x86 SSE instead of ARM64 NEON.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220924/d9eb7375/attachment-0001.htm>
More information about the webkit-unassigned
mailing list