Bug 241109

Summary: [GTK][WPE] Build failure when cross-building for 64-bit ARM
Product: WebKit Reporter: Adrian Perez <aperez>
Component: Tools / TestsAssignee: 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
Reported 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
Attachments
Adrian Perez
Comment 1 2022-05-30 14:50:35 PDT
EWS
Comment 2 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.
Radar WebKit Bug Importer
Comment 3 2022-05-31 01:17:14 PDT
Note You need to log in before you can comment on or make changes to this bug.