RESOLVED DUPLICATE of bug 305233305387
[GTK] [2.51.4] undefined reference to `JSC::JSFunction::getCallDataInline(JSC::JSCell*)'
https://bugs.webkit.org/show_bug.cgi?id=305387
Summary [GTK] [2.51.4] undefined reference to `JSC::JSFunction::getCallDataInline(JSC...
Alberto Garcia
Reported 2026-01-13 06:23:48 PST
Hi, when building WebKitGTK 2.51.4 on armhf with gcc I get the following error when linking libjsc: /usr/bin/ld: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-15db4ad9-14.cpp.o: in function `JSC::getCallDataInline(JSC::JSCell*)': ./build-gtk3/./build-gtk3/JavaScriptCore/PrivateHeaders/JavaScriptCore/JSObjectInlines.h:767:(.text._ZN3JSCL30callWebAssemblyWrapperFunctionEPNS_14JSGlobalObjectEPNS_9CallFrameE+0x9c): undefined reference to `JSC::JSFunction::getCallDataInline(JSC::JSCell*)' collect2: error: ld returned 1 exit status I can fix the problem with the following patch: diff --git a/Source/JavaScriptCore/wasm/js/WebAssemblyWrapperFunction.cpp b/Source/JavaScriptCore/wasm/js/WebAssemblyWrapperFunction.cpp index 0c94dc864d19..7b7a652c2647 100644 --- a/Source/JavaScriptCore/wasm/js/WebAssemblyWrapperFunction.cpp +++ b/Source/JavaScriptCore/wasm/js/WebAssemblyWrapperFunction.cpp @@ -28,6 +28,7 @@ #if ENABLE(WEBASSEMBLY) +#include "JSFunctionInlines.h" #include "JSObjectInlines.h" #include "JSWebAssemblyInstance.h" #include "WasmTypeDefinitionInlines.h"
Attachments
Carlos Alberto Lopez Perez
Comment 1 2026-01-13 18:13:08 PST
can you check if https://commits.webkit.org/305548@main fixes this?
Alberto Garcia
Comment 2 2026-01-14 05:28:44 PST
It does fix the problem, thanks! *** This bug has been marked as a duplicate of bug 305233 ***
Note You need to log in before you can comment on or make changes to this bug.