WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
270689
[WPE] [LibWebRTC] Fix build for ARM 32-bit
https://bugs.webkit.org/show_bug.cgi?id=270689
Summary
[WPE] [LibWebRTC] Fix build for ARM 32-bit
Diego Pino
Reported
2024-03-08 03:02:36 PST
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
Attachments
Add attachment
proposed patch, testcase, etc.
Diego Pino
Comment 1
2024-03-08 03:08:54 PST
Pull request:
https://github.com/webkit/webkit/pull/25620
EWS
Comment 2
2024-03-11 11:37:54 PDT
Committed
275915@main
(565848432d81): <
https://commits.webkit.org/275915@main
> Reviewed commits have been landed. Closing PR #25620 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2024-03-11 11:38:12 PDT
<
rdar://problem/124399531
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug