[Webkit-unassigned] [Bug 198722] New: [JSC] Linker fails when unified sources are not in use

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 10 09:03:23 PDT 2019


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

            Bug ID: 198722
           Summary: [JSC] Linker fails when unified sources are not in use
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com

Configuring the GTK port with unified sources disabled (by passing
-DENABLE_UNIFIED_BUILDS=OFF to CMake) results in a long linker error
which is caused by some .cpp files missing needed #includes for some
headers that define inline functions.

---

% samu -j33 jsc
samu: job failed: : && /usr/lib/ccache/bin/c++  -fdiagnostics-color=always -Wextra -Wall -Wno-expansion-to-defined -Wno-psabi -Wno-noexcept-type -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align  -fno-strict-aliasing -fno-exceptions -fno-rtti -std=c++17 -O3 -DNDEBUG  -fuse-ld=gold -Wl,--disable-new-dtags Source/JavaScriptCore/shell/CMakeFiles/jsc.dir/__/jsc.cpp.o  -o bin/jsc  -ldl /usr/lib/libglib-2.0.so /usr/lib/libgmodule-2.0.so lib/libJavaScriptCore.a /usr/lib/libgmodule-2.0.so lib/libWTF.a lib/libbmalloc.a /usr/lib/libicudata.so /usr/lib/libicui18n.so /usr/lib/libicuuc.so -ldl -lpthread /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libz.so && :
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/ftl/FTLCompile.cpp.o):FTLCompile.cpp:function _ZZZN3JSC3FTL7compileERNS0_5StateERNS_3DFG9Safepoint6ResultEENKUlPNS_2B35ValueEE1_clES9_ENKUlT_S9_E_clISt17reference_wrapperIKN3WTF16RecursableLambdaISC_EEEEEvSB_S9_: error: undefined reference to 'JSC::B3::Value::adjacencyListOffset() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/ftl/FTLCompile.cpp.o):FTLCompile.cpp:function _ZZZN3JSC3FTL7compileERNS0_5StateERNS_3DFG9Safepoint6ResultEENKUlPNS_2B35ValueEE1_clES9_ENKUlT_S9_E_clISt17reference_wrapperIKN3WTF16RecursableLambdaISC_EEEEEvSB_S9_: error: undefined reference to 'JSC::B3::Value::adjacencyListOffset() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/ftl/FTLCompile.cpp.o):FTLCompile.cpp:function _ZZZN3JSC3FTL7compileERNS0_5StateERNS_3DFG9Safepoint6ResultEENKUlPNS_2B35ValueEE1_clES9_ENKUlT_S9_E_clISt17reference_wrapperIKN3WTF16RecursableLambdaISC_EEEEEvSB_S9_: error: undefined reference to 'JSC::B3::Value::adjacencyListOffset() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmSectionParser.cpp.o):WasmSectionParser.cpp:function JSC::Wasm::SectionParser::parseInitExpr(unsigned char&, unsigned long&, JSC::Wasm::Type&): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSNullTag)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmSectionParser.cpp.o):WasmSectionParser.cpp:function JSC::Wasm::SectionParser::parseInitExpr(unsigned char&, unsigned long&, JSC::Wasm::Type&): error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::Table(unsigned int, WTF::Optional<unsigned int>, JSC::Wasm::TableElementType): error: undefined reference to 'JSC::JSValue::JSValue()'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::Table(unsigned int, WTF::Optional<unsigned int>, JSC::Wasm::TableElementType): error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::Table(unsigned int, WTF::Optional<unsigned int>, JSC::Wasm::TableElementType): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSNullTag)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::Table(unsigned int, WTF::Optional<unsigned int>, JSC::Wasm::TableElementType): error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::visitChildren(JSC::SlotVisitor&): error: undefined reference to 'JSC::JSCellLock::lock()'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::visitChildren(JSC::SlotVisitor&): error: undefined reference to 'void JSC::SlotVisitor::append<JSC::Unknown, WTF::DumbValueTraits<JSC::Unknown> >(JSC::WriteBarrierBase<JSC::Unknown, WTF::DumbValueTraits<JSC::Unknown> > const&)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::clear(unsigned int): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSNullTag)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::clear(unsigned int): error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::set(unsigned int, JSC::JSValue): error: undefined reference to 'JSC::HeapCell::vm() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::grow(unsigned int): error: undefined reference to 'JSC::JSCellLock::lock()'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::grow(unsigned int): error: undefined reference to 'JSC::JSValue::JSValue()'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::FuncRefTable::setFunction(unsigned int, JSC::JSObject*, JSC::Wasm::WasmToWasmImportableFunction, JSC::Wasm::Instance*): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSCell*)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::FuncRefTable::setFunction(unsigned int, JSC::JSObject*, JSC::Wasm::WasmToWasmImportableFunction, JSC::Wasm::Instance*): error: undefined reference to 'JSC::HeapCell::vm() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::get(unsigned int) const: error: undefined reference to 'JSC::JSValue::decode(long)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmValidate.cpp.o):WasmValidate.cpp:function JSC::Wasm::FunctionParser<JSC::Wasm::Validate>::parseExpression(): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSNullTag)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/b3/B3LowerMacrosAfterOptimizations.cpp.o):B3LowerMacrosAfterOptimizations.cpp:function JSC::B3::(anonymous namespace)::lowerMacrosImpl(JSC::B3::Procedure&): error: undefined reference to 'JSC::B3::Value::adjacencyListOffset() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/b3/B3PureCSE.cpp.o):B3PureCSE.cpp:function JSC::B3::PureCSE::process(JSC::B3::Value*, JSC::B3::Dominators&): error: undefined reference to 'JSC::B3::Value::isConstant() const'
collect2: error: ld returned 1 exit status
samu: job failed: : && /usr/lib/ccache/bin/c++  -fdiagnostics-color=always -Wextra -Wall -Wno-expansion-to-defined -Wno-psabi -Wno-noexcept-type -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align  -fno-strict-aliasing -fno-exceptions -fno-rtti -std=c++17 -O3 -DNDEBUG  -fuse-ld=gold -Wl,--disable-new-dtags Source/JavaScriptCore/shell/CMakeFiles/testmasm.dir/__/assembler/testmasm.cpp.o  -o bin/testmasm  lib/libJavaScriptCore.a lib/libWTF.a lib/libbmalloc.a /usr/lib/libicudata.so /usr/lib/libicui18n.so /usr/lib/libicuuc.so -ldl -lpthread /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libz.so /usr/lib/libglib-2.0.so /usr/lib/libgmodule-2.0.so && :
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/ftl/FTLCompile.cpp.o):FTLCompile.cpp:function _ZZZN3JSC3FTL7compileERNS0_5StateERNS_3DFG9Safepoint6ResultEENKUlPNS_2B35ValueEE1_clES9_ENKUlT_S9_E_clISt17reference_wrapperIKN3WTF16RecursableLambdaISC_EEEEEvSB_S9_: error: undefined reference to 'JSC::B3::Value::adjacencyListOffset() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/ftl/FTLCompile.cpp.o):FTLCompile.cpp:function _ZZZN3JSC3FTL7compileERNS0_5StateERNS_3DFG9Safepoint6ResultEENKUlPNS_2B35ValueEE1_clES9_ENKUlT_S9_E_clISt17reference_wrapperIKN3WTF16RecursableLambdaISC_EEEEEvSB_S9_: error: undefined reference to 'JSC::B3::Value::adjacencyListOffset() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/ftl/FTLCompile.cpp.o):FTLCompile.cpp:function _ZZZN3JSC3FTL7compileERNS0_5StateERNS_3DFG9Safepoint6ResultEENKUlPNS_2B35ValueEE1_clES9_ENKUlT_S9_E_clISt17reference_wrapperIKN3WTF16RecursableLambdaISC_EEEEEvSB_S9_: error: undefined reference to 'JSC::B3::Value::adjacencyListOffset() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmSectionParser.cpp.o):WasmSectionParser.cpp:function JSC::Wasm::SectionParser::parseInitExpr(unsigned char&, unsigned long&, JSC::Wasm::Type&): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSNullTag)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmSectionParser.cpp.o):WasmSectionParser.cpp:function JSC::Wasm::SectionParser::parseInitExpr(unsigned char&, unsigned long&, JSC::Wasm::Type&): error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::Table(unsigned int, WTF::Optional<unsigned int>, JSC::Wasm::TableElementType): error: undefined reference to 'JSC::JSValue::JSValue()'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::Table(unsigned int, WTF::Optional<unsigned int>, JSC::Wasm::TableElementType): error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::Table(unsigned int, WTF::Optional<unsigned int>, JSC::Wasm::TableElementType): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSNullTag)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::Table(unsigned int, WTF::Optional<unsigned int>, JSC::Wasm::TableElementType): error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::visitChildren(JSC::SlotVisitor&): error: undefined reference to 'JSC::JSCellLock::lock()'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::visitChildren(JSC::SlotVisitor&): error: undefined reference to 'void JSC::SlotVisitor::append<JSC::Unknown, WTF::DumbValueTraits<JSC::Unknown> >(JSC::WriteBarrierBase<JSC::Unknown, WTF::DumbValueTraits<JSC::Unknown> > const&)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::clear(unsigned int): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSNullTag)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::clear(unsigned int): error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::set(unsigned int, JSC::JSValue): error: undefined reference to 'JSC::HeapCell::vm() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::grow(unsigned int): error: undefined reference to 'JSC::JSCellLock::lock()'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::grow(unsigned int): error: undefined reference to 'JSC::JSValue::JSValue()'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::FuncRefTable::setFunction(unsigned int, JSC::JSObject*, JSC::Wasm::WasmToWasmImportableFunction, JSC::Wasm::Instance*): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSCell*)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::FuncRefTable::setFunction(unsigned int, JSC::JSObject*, JSC::Wasm::WasmToWasmImportableFunction, JSC::Wasm::Instance*): error: undefined reference to 'JSC::HeapCell::vm() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::get(unsigned int) const: error: undefined reference to 'JSC::JSValue::decode(long)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmValidate.cpp.o):WasmValidate.cpp:function JSC::Wasm::FunctionParser<JSC::Wasm::Validate>::parseExpression(): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSNullTag)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/b3/B3LowerMacrosAfterOptimizations.cpp.o):B3LowerMacrosAfterOptimizations.cpp:function JSC::B3::(anonymous namespace)::lowerMacrosImpl(JSC::B3::Procedure&): error: undefined reference to 'JSC::B3::Value::adjacencyListOffset() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/b3/B3PureCSE.cpp.o):B3PureCSE.cpp:function JSC::B3::PureCSE::process(JSC::B3::Value*, JSC::B3::Dominators&): error: undefined reference to 'JSC::B3::Value::isConstant() const'
collect2: error: ld returned 1 exit status
samu: job failed: : && /usr/lib/ccache/bin/c++  -fdiagnostics-color=always -Wextra -Wall -Wno-expansion-to-defined -Wno-psabi -Wno-noexcept-type -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align  -fno-strict-aliasing -fno-exceptions -fno-rtti -std=c++17 -O3 -DNDEBUG  -fuse-ld=gold -Wl,--disable-new-dtags Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/CompareAndSwapTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/CustomGlobalObjectClassTest.c.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/ExecutionTimeLimitTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/FunctionOverridesTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/GlobalContextWithFinalizerTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/JSONParseTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/JSObjectGetProxyTargetTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/MultithreadedMultiVMExecutionTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/PingPongStackOverflowTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/TypedArrayCTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/testapi.c.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/testapi.cpp.o  -o bin/testapi  lib/libJavaScriptCore.a lib/libWTF.a lib/libbmalloc.a /usr/lib/libicudata.so /usr/lib/libicui18n.so /usr/lib/libicuuc.so -ldl -lpthread /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libz.so /usr/lib/libglib-2.0.so /usr/lib/libgmodule-2.0.so && :
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/ftl/FTLCompile.cpp.o):FTLCompile.cpp:function _ZZZN3JSC3FTL7compileERNS0_5StateERNS_3DFG9Safepoint6ResultEENKUlPNS_2B35ValueEE1_clES9_ENKUlT_S9_E_clISt17reference_wrapperIKN3WTF16RecursableLambdaISC_EEEEEvSB_S9_: error: undefined reference to 'JSC::B3::Value::adjacencyListOffset() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/ftl/FTLCompile.cpp.o):FTLCompile.cpp:function _ZZZN3JSC3FTL7compileERNS0_5StateERNS_3DFG9Safepoint6ResultEENKUlPNS_2B35ValueEE1_clES9_ENKUlT_S9_E_clISt17reference_wrapperIKN3WTF16RecursableLambdaISC_EEEEEvSB_S9_: error: undefined reference to 'JSC::B3::Value::adjacencyListOffset() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/ftl/FTLCompile.cpp.o):FTLCompile.cpp:function _ZZZN3JSC3FTL7compileERNS0_5StateERNS_3DFG9Safepoint6ResultEENKUlPNS_2B35ValueEE1_clES9_ENKUlT_S9_E_clISt17reference_wrapperIKN3WTF16RecursableLambdaISC_EEEEEvSB_S9_: error: undefined reference to 'JSC::B3::Value::adjacencyListOffset() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmSectionParser.cpp.o):WasmSectionParser.cpp:function JSC::Wasm::SectionParser::parseInitExpr(unsigned char&, unsigned long&, JSC::Wasm::Type&): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSNullTag)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmSectionParser.cpp.o):WasmSectionParser.cpp:function JSC::Wasm::SectionParser::parseInitExpr(unsigned char&, unsigned long&, JSC::Wasm::Type&): error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::Table(unsigned int, WTF::Optional<unsigned int>, JSC::Wasm::TableElementType): error: undefined reference to 'JSC::JSValue::JSValue()'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::Table(unsigned int, WTF::Optional<unsigned int>, JSC::Wasm::TableElementType): error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::Table(unsigned int, WTF::Optional<unsigned int>, JSC::Wasm::TableElementType): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSNullTag)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::Table(unsigned int, WTF::Optional<unsigned int>, JSC::Wasm::TableElementType): error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::visitChildren(JSC::SlotVisitor&): error: undefined reference to 'JSC::JSCellLock::lock()'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::visitChildren(JSC::SlotVisitor&): error: undefined reference to 'void JSC::SlotVisitor::append<JSC::Unknown, WTF::DumbValueTraits<JSC::Unknown> >(JSC::WriteBarrierBase<JSC::Unknown, WTF::DumbValueTraits<JSC::Unknown> > const&)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::clear(unsigned int): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSNullTag)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::clear(unsigned int): error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::set(unsigned int, JSC::JSValue): error: undefined reference to 'JSC::HeapCell::vm() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::grow(unsigned int): error: undefined reference to 'JSC::JSCellLock::lock()'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::grow(unsigned int): error: undefined reference to 'JSC::JSValue::JSValue()'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::FuncRefTable::setFunction(unsigned int, JSC::JSObject*, JSC::Wasm::WasmToWasmImportableFunction, JSC::Wasm::Instance*): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSCell*)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::FuncRefTable::setFunction(unsigned int, JSC::JSObject*, JSC::Wasm::WasmToWasmImportableFunction, JSC::Wasm::Instance*): error: undefined reference to 'JSC::HeapCell::vm() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::get(unsigned int) const: error: undefined reference to 'JSC::JSValue::decode(long)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmValidate.cpp.o):WasmValidate.cpp:function JSC::Wasm::FunctionParser<JSC::Wasm::Validate>::parseExpression(): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSNullTag)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/b3/B3LowerMacrosAfterOptimizations.cpp.o):B3LowerMacrosAfterOptimizations.cpp:function JSC::B3::(anonymous namespace)::lowerMacrosImpl(JSC::B3::Procedure&): error: undefined reference to 'JSC::B3::Value::adjacencyListOffset() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/b3/B3PureCSE.cpp.o):B3PureCSE.cpp:function JSC::B3::PureCSE::process(JSC::B3::Value*, JSC::B3::Dominators&): error: undefined reference to 'JSC::B3::Value::isConstant() const'
collect2: error: ld returned 1 exit status
samu: job failed: : && /usr/lib/ccache/bin/c++  -fdiagnostics-color=always -Wextra -Wall -Wno-expansion-to-defined -Wno-psabi -Wno-noexcept-type -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align  -fno-strict-aliasing -fno-exceptions -fno-rtti -std=c++17 -O3 -DNDEBUG  -fuse-ld=gold -Wl,--disable-new-dtags Source/JavaScriptCore/shell/CMakeFiles/testRegExp.dir/__/testRegExp.cpp.o  -o bin/testRegExp  lib/libJavaScriptCore.a lib/libWTF.a lib/libbmalloc.a /usr/lib/libicudata.so /usr/lib/libicui18n.so /usr/lib/libicuuc.so -ldl -lpthread /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libz.so /usr/lib/libglib-2.0.so /usr/lib/libgmodule-2.0.so && :
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/ftl/FTLCompile.cpp.o):FTLCompile.cpp:function _ZZZN3JSC3FTL7compileERNS0_5StateERNS_3DFG9Safepoint6ResultEENKUlPNS_2B35ValueEE1_clES9_ENKUlT_S9_E_clISt17reference_wrapperIKN3WTF16RecursableLambdaISC_EEEEEvSB_S9_: error: undefined reference to 'JSC::B3::Value::adjacencyListOffset() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/ftl/FTLCompile.cpp.o):FTLCompile.cpp:function _ZZZN3JSC3FTL7compileERNS0_5StateERNS_3DFG9Safepoint6ResultEENKUlPNS_2B35ValueEE1_clES9_ENKUlT_S9_E_clISt17reference_wrapperIKN3WTF16RecursableLambdaISC_EEEEEvSB_S9_: error: undefined reference to 'JSC::B3::Value::adjacencyListOffset() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/ftl/FTLCompile.cpp.o):FTLCompile.cpp:function _ZZZN3JSC3FTL7compileERNS0_5StateERNS_3DFG9Safepoint6ResultEENKUlPNS_2B35ValueEE1_clES9_ENKUlT_S9_E_clISt17reference_wrapperIKN3WTF16RecursableLambdaISC_EEEEEvSB_S9_: error: undefined reference to 'JSC::B3::Value::adjacencyListOffset() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmSectionParser.cpp.o):WasmSectionParser.cpp:function JSC::Wasm::SectionParser::parseInitExpr(unsigned char&, unsigned long&, JSC::Wasm::Type&): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSNullTag)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmSectionParser.cpp.o):WasmSectionParser.cpp:function JSC::Wasm::SectionParser::parseInitExpr(unsigned char&, unsigned long&, JSC::Wasm::Type&): error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::Table(unsigned int, WTF::Optional<unsigned int>, JSC::Wasm::TableElementType): error: undefined reference to 'JSC::JSValue::JSValue()'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::Table(unsigned int, WTF::Optional<unsigned int>, JSC::Wasm::TableElementType): error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::Table(unsigned int, WTF::Optional<unsigned int>, JSC::Wasm::TableElementType): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSNullTag)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::Table(unsigned int, WTF::Optional<unsigned int>, JSC::Wasm::TableElementType): error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::visitChildren(JSC::SlotVisitor&): error: undefined reference to 'JSC::JSCellLock::lock()'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::visitChildren(JSC::SlotVisitor&): error: undefined reference to 'void JSC::SlotVisitor::append<JSC::Unknown, WTF::DumbValueTraits<JSC::Unknown> >(JSC::WriteBarrierBase<JSC::Unknown, WTF::DumbValueTraits<JSC::Unknown> > const&)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::clear(unsigned int): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSNullTag)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::clear(unsigned int): error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::set(unsigned int, JSC::JSValue): error: undefined reference to 'JSC::HeapCell::vm() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::grow(unsigned int): error: undefined reference to 'JSC::JSCellLock::lock()'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::grow(unsigned int): error: undefined reference to 'JSC::JSValue::JSValue()'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::FuncRefTable::setFunction(unsigned int, JSC::JSObject*, JSC::Wasm::WasmToWasmImportableFunction, JSC::Wasm::Instance*): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSCell*)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::FuncRefTable::setFunction(unsigned int, JSC::JSObject*, JSC::Wasm::WasmToWasmImportableFunction, JSC::Wasm::Instance*): error: undefined reference to 'JSC::HeapCell::vm() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmTable.cpp.o):WasmTable.cpp:function JSC::Wasm::Table::get(unsigned int) const: error: undefined reference to 'JSC::JSValue::decode(long)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/WasmValidate.cpp.o):WasmValidate.cpp:function JSC::Wasm::FunctionParser<JSC::Wasm::Validate>::parseExpression(): error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSNullTag)'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/b3/B3LowerMacrosAfterOptimizations.cpp.o):B3LowerMacrosAfterOptimizations.cpp:function JSC::B3::(anonymous namespace)::lowerMacrosImpl(JSC::B3::Procedure&): error: undefined reference to 'JSC::B3::Value::adjacencyListOffset() const'
lib/libJavaScriptCore.a(lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/b3/B3PureCSE.cpp.o):B3PureCSE.cpp:function JSC::B3::PureCSE::process(JSC::B3::Value*, JSC::B3::Dominators&): error: undefined reference to 'JSC::B3::Value::isConstant() const'
collect2: error: ld returned 1 exit status
samu: subcommands failed

-- 
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/20190610/d3732f81/attachment-0001.html>


More information about the webkit-unassigned mailing list