[Webkit-unassigned] [Bug 270689] New: [WPE] [LibWebRTC] Fix build for ARM 32-bit
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 8 03:02:36 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=270689
Bug ID: 270689
Summary: [WPE] [LibWebRTC] Fix build for ARM 32-bit
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dpino at igalia.com
When building WPE with build flag `--cmakeargs=-DUSE_GSTREAMER_WEBRTC=FALSE` (enables LibWebRTC) on ARM 32-bit, I got the following build error:
```
In file included from /home/dpino/WPEWebKit/Source/ThirdParty/libwebrtc/Source/third_party/pffft/src/pffft.c:155:
/home/dpino/WPEWebKit/Source/ThirdParty/libwebrtc/Source/third_party/pffft/src/pffft.c: In function ‘passf2_ps’:
/usr/lib/gcc/arm-linux-gnueabihf/11/include/arm_neon.h:1957:1: error: inlining failed in call to ‘always_inline’ ‘vsubq_f32’: target specific option mismatch
1957 | vsubq_f32 (float32x4_t a, float32x4_t b)
```
This build error also happens in other files such as:
Source/webrtc/modules/audio_processing/aec3/adaptive_fir_filter.cc
Source/webrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl.cc
Source/webrtc/modules/audio_processing/aec3/comfort_noise_generator.cc
Source/webrtc/modules/audio_processing/aec3/matched_filter.cc
Source/webrtc/modules/audio_processing/aec3/suppression_filter.cc
Source/webrtc/modules/audio_processing/aec3/suppression_gain.cc
These files need to be explicitly set with build flags "-mfpu=neon -mfloat-abi=hard". See:
- Source/ThirdParty/libwebrtc/Source/webrtc/modules/audio_processing/aec3/BUILD.gn
- Source/ThirdParty/libwebrtc/Source/third_party/pffft/README.txt
--
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/20240308/d953b18d/attachment.htm>
More information about the webkit-unassigned
mailing list