Bug 241109 - [GTK][WPE] Build failure when cross-building for 64-bit ARM
Summary: [GTK][WPE] Build failure when cross-building for 64-bit ARM
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Local Build
Hardware: Other Linux
: P2 Normal
Assignee: Adrian Perez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-30 13:59 PDT by Adrian Perez
Modified: 2022-05-31 01:17 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Perez 2022-05-30 13:59:08 PDT
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
Comment 1 Adrian Perez 2022-05-30 14:50:35 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1165
Comment 2 EWS 2022-05-31 01:16:29 PDT
Committed r295045 (251140@main): <https://commits.webkit.org/251140@main>

Reviewed commits have been landed. Closing PR #1165 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-05-31 01:17:14 PDT
<rdar://problem/94138068>