Bug 241109
Summary: | [GTK][WPE] Build failure when cross-building for 64-bit ARM | ||
---|---|---|---|
Product: | WebKit | Reporter: | Adrian Perez <aperez> |
Component: | Tools / Tests | Assignee: | Adrian Perez <aperez> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | psaavedra, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Local Build | ||
Hardware: | Other | ||
OS: | Linux |
Adrian Perez
The following happens when trying to cross-build 2.36.3 or ToT targeting
64-bit ARM (e.g. Raspberry Pi 4) using a Buildroot toolchain (GCC 11,
BFD linker, Musl libc):
[100%] Linking CXX shared library ../../lib/libwebkit2gtk-4.0.so
/home/aperez/buildroot/output-rpi3-wpe/per-package/webkitgtk/host/bin/../lib/gcc/aarch64-buildroot-linux-musl/10.3.0/../../../../aarch64-buildroot-linux-musl/bin/ld: ../WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-68aea4ac-6.cpp.o: in function `WebCore::getBackingMap(JSC::JSGlobalObject&, JSC::JSObject&)':
UnifiedSource-68aea4ac-6.cpp:(.text+0x6908): undefined reference to `JSC::HashMapImpl<JSC::HashMapBucket<JSC::HashMapBucketDataKeyValue> >::finishCreation(JSC::JSGlobalObject*, JSC::VM&)'
collect2: error: ld returned 1 exit status
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Adrian Perez
Pull request: https://github.com/WebKit/WebKit/pull/1165
EWS
Committed r295045 (251140@main): <https://commits.webkit.org/251140@main>
Reviewed commits have been landed. Closing PR #1165 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/94138068>