[Webkit-unassigned] [Bug 284311] New: [CMake][LibWebRTC] Fix build after 287443 at main
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 9 12:03:52 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=284311
Bug ID: 284311
Summary: [CMake][LibWebRTC] Fix build after 287443 at main
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
On ARM platforms that do not support SVE, the build is failing with the following linking error:
FAILED: lib/libWPEWebKit-2.0.so.2.4.1
: && /usr/bin/clang++-18 -fPIC -fdiagnostics-color=always -fcolor-diagnostics -Wextra -Wall -Werror=undefined-internal -Werror=undefined-inline -pipe -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-parentheses-equality -Qunused-arguments -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -fasynchronous-unwind-tables -fdebug-types-section -fno-strict-aliasing -fno-exceptions -fno-rtti -fcoroutines -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,--no-undefined -L/home/pwuser/webkit/WebKitBuild/DependenciesWPE/Root/lib -Wl,--gc-sections -Wl,--disable-new-dtags -Wl,--version-script,/home/pwuser/webkit/Source/WebKit/webkitglib-symbols.map -shared -Wl,-soname,libWPEWebKit-2.0.so.2 -o lib/libWPEWebKit-2.0.so.2.4.1 @CMakeFiles/WebKit.rsp && :
/usr/bin/ld: lib/libwebrtc.a(convert.cc.o): in function `ARGBToI420':
convert.cc:(.text.ARGBToI420+0xe8): undefined reference to `ARGBToUVRow_SVE2 '
/usr/bin/ld: convert.cc:(.text.ARGBToI420+0xf4): undefined reference to `ARGBToUVRow_SVE2'
/usr/bin/ld: lib/libwebrtc.a(row_any.cc.o): in function `ARGBToUVRow_Any_SVE2':
row_any.cc:(.text.ARGBToUVRow_Any_SVE2+0x7c): undefined reference to `ARGBToUVRow_SVE2'
/usr/bin/ld: row_any.cc:(.text.ARGBToUVRow_Any_SVE2+0xe8): undefined reference to `ARGBToUVRow_SVE2'
clang++-18: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Changeset 287443 at main disables SVE in Source/ThirdParty/libwebrtc/Configurations/libyuv.xcconfig:
https://github.com/WebKit/WebKit/compare/865625bf942f%5E..865625bf942f#diff-2752c88e71f5346a457e0b6f67849c67ea4217f918d7966cd8561dc2a9e1765dR11
So probably a similar change should fix the build.
--
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/20241209/06f23d1e/attachment.htm>
More information about the webkit-unassigned
mailing list