[Webkit-unassigned] [Bug 239036] WebKit-GTK 2.36.0 fails to build with Webassembly/JIT disabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 9 12:06:43 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=239036

--- Comment #5 from dave at killthe.net ---
More information--here's the full error output from BFD when linking JavaScriptCore:


[ 26%] Linking CXX shared library ../../lib/libjavascriptcoregtk-4.1.so
/usr/bin/ld: CMakeFiles/JavaScriptCore.dir/dfg/DFGCapabilities.cpp.o: in function `JSC::DFG::capabilityLevel(JSC::CodeBlock*)':
/sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::HeapCell::vm() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::inherits(JSC::VM&, JSC::ClassInfo const*) const'
/usr/bin/ld: CMakeFiles/JavaScriptCore.dir/jit/JITDisassembler.cpp.o: in function `JSC::JITDisassembler::JITDisassembler(JSC::CodeBlock*)':
/sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::HeapCell::vm() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::inherits(JSC::VM&, JSC::ClassInfo const*) const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::HeapCell::vm() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::inherits(JSC::VM&, JSC::ClassInfo const*) const'
/usr/bin/ld: CMakeFiles/JavaScriptCore.dir/jit/JITDisassembler.cpp.o: in function `JSC::JITDisassembler::dumpHeader(WTF::PrintStream&, JSC::LinkBuffer&)':
/sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::HeapCell::vm() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::inherits(JSC::VM&, JSC::ClassInfo const*) const'
/usr/bin/ld: CMakeFiles/JavaScriptCore.dir/jit/JITPlan.cpp.o: in function `JSC::JITPlan::compileInThread(JSC::JITWorklistThread*)':
/sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::inherits(JSC::VM&, JSC::ClassInfo const*) const'
/usr/bin/ld: CMakeFiles/JavaScriptCore.dir/llint/LLIntEntrypoint.cpp.o: in function `JSC::LLInt::setFunctionEntrypoint(JSC::CodeBlock*)':
/sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::inherits(JSC::VM&, JSC::ClassInfo const*) const'
/usr/bin/ld: CMakeFiles/JavaScriptCore.dir/llint/LLIntEntrypoint.cpp.o: in function `JSC::LLInt::setEntrypoint(JSC::CodeBlock*)':
/sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::inherits(JSC::VM&, JSC::ClassInfo const*) const'
/usr/bin/ld: CMakeFiles/JavaScriptCore.dir/runtime/FileBasedFuzzerAgentBase.cpp.o: in function `JSC::FileBasedFuzzerAgentBase::getPrediction(JSC::CodeBlock*, JSC::CodeOrigin const&, unsigned long)':
/sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::structure() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::HeapCell::vm() const'
/usr/bin/ld: /sources/stage4/webkitgtk-2.36.0/build/Source/JavaScriptCore/../../../Source/JavaScriptCore/runtime/WriteBarrier.h:59: undefined reference to `JSC::JSCell::inherits(JSC::VM&, JSC::ClassInfo const*) const'
collect2: error: ld returned 1 exit status
make[2]: *** [Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/build.make:19673: lib/libjavascriptcoregtk-4.1.so.0.1.4] Error 1
make[1]: *** [CMakeFiles/Makefile2:873: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

-- 
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/20220409/a1811aa9/attachment.htm>


More information about the webkit-unassigned mailing list