[Webkit-unassigned] [Bug 193073] [JSC] Lots of missing #include's when building with -DENABLE_UNIFIED_BUILDS=OFF
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 7 17:05:38 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=193073
Carlos Eduardo Ramalho <cadubentzen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #358181|0 |1
is obsolete| |
--- Comment #2 from Carlos Eduardo Ramalho <cadubentzen at gmail.com> ---
Created attachment 358558
--> https://bugs.webkit.org/attachment.cgi?id=358558&action=review
Progress: only failing when linking testapi
After this patch we can compile up to libJavaScriptCore.so but when linking the testapi executable it fails with many missing symbols (all from *Inline.h files).
Yusuke, maybe you have some idea on why this is happening? Ps: does not happen with unified sources enabled.
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Wasm::SignatureInformation::singleton()'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::StructureRareData::setCachedOwnKeys(JSC::VM&, JSC::JSImmutableButterfly*)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::StructureRareData::cachedOwnKeysIgnoringSentinel() const'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::StructureRareData::cachedOwnKeys() const'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSValue::JSUndefinedTag)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::JSValue::encode(JSC::JSValue)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::SlotVisitor::appendValuesHidden(JSC::WriteBarrierBase<JSC::Unknown, WTF::DumbValueTraits<JSC::Unknown> > con
st*, unsigned long)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::JSValue::isNumber() const'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::JSValue::isInt32() const'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'void JSC::JIT::privateCompilePutByValWithCachedId<JSC::OpPutByValDirect>(JSC::ByValInfo*, JSC::ReturnAddressPtr,
JSC::PutKind, JSC::Identifier const&)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'void JSC::JIT::privateCompilePutByValWithCachedId<JSC::OpPutByVal>(JSC::ByValInfo*, JSC::ReturnAddressPtr, JSC::P
utKind, JSC::Identifier const&)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'void JSC::JIT::privateCompilePutByVal<JSC::OpPutByValDirect>(JSC::ByValInfo*, JSC::ReturnAddressPtr, JSC::JITArra
yMode)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'void JSC::JIT::privateCompilePutByVal<JSC::OpPutByVal>(JSC::ByValInfo*, JSC::ReturnAddressPtr, JSC::JITArrayMode)
'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::ExecState::isStackOverflowFrame() const'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Strong<JSC::Unknown>::Strong(JSC::VM&, JSC::JSValue)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Strong<JSC::JSGlobalObject>::Strong(JSC::VM&, JSC::JSGlobalObject*)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::IsoSubspace::allocateNonVirtual(JSC::VM&, unsigned long, JSC::GCDeferralContext*, JSC::AllocationFailureMode
)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::RegisterID* JSC::BytecodeGenerator::emitEqualityOp<JSC::OpLess>(JSC::RegisterID*, JSC::RegisterID*, JSC::Reg
isterID*)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::RegisterID* JSC::BytecodeGenerator::emitEqualityOp<JSC::OpEq>(JSC::RegisterID*, JSC::RegisterID*, JSC::Regis
terID*)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::UnlinkedMetadataTable::addEntry(JSC::OpcodeID)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::JSCell::structure(JSC::VM&) const'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::JSValue::isNull() const'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Structure::prototypeForLookup(JSC::JSGlobalObject*, JSC::JSCell*) const'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::JSValue::isEmpty() const'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::JSValue::decode(long)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::HeapCell::vm() const'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::JSValue::JSValue(JSC::JSCell*)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'void JSC::SlotVisitor::append<JSC::CodeBlock, WTF::DumbPtrTraits<JSC::CodeBlock> >(JSC::WriteBarrierBase<JSC::CodeBlock, WTF::DumbPtrTraits<JSC::CodeBlock> > const&)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::SlotVisitor::appendUnbarriered(JSC::JSCell*)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::SlotVisitor::vm()'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Heap::writeBarrier(JSC::JSCell const*, JSC::JSCell*)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::JSValue::asCell() const'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::JSValue::operator bool() const'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Heap::isMarked(void const*)'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Heap::mutatorFence()'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Heap::vm() const'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Structure::prototypeForLookup(JSC::JSGlobalObject*) const'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<40u>(JSC::VM*, char const (&) [40u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<32u>(JSC::VM*, char const (&) [32u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<34u>(JSC::VM*, char const (&) [34u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<49u>(JSC::VM*, char const (&) [49u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<29u>(JSC::VM*, char const (&) [29u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<36u>(JSC::VM*, char const (&) [36u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<24u>(JSC::VM*, char const (&) [24u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<3u>(JSC::VM*, char const (&) [3u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<41u>(JSC::VM*, char const (&) [41u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<39u>(JSC::VM*, char const (&) [39u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<16u>(JSC::VM*, char const (&) [16u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<13u>(JSC::VM*, char const (&) [13u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<12u>(JSC::VM*, char const (&) [12u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<9u>(JSC::VM*, char const (&) [9u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<14u>(JSC::VM*, char const (&) [14u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<10u>(JSC::VM*, char const (&) [10u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<8u>(JSC::VM*, char const (&) [8u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<28u>(JSC::VM*, char const (&) [28u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<31u>(JSC::VM*, char const (&) [31u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<15u>(JSC::VM*, char const (&) [15u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<17u>(JSC::VM*, char const (&) [17u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<5u>(JSC::VM*, char const (&) [5u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<11u>(JSC::VM*, char const (&) [11u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<25u>(JSC::VM*, char const (&) [25u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<27u>(JSC::VM*, char const (&) [27u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<22u>(JSC::VM*, char const (&) [22u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<23u>(JSC::VM*, char const (&) [23u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<6u>(JSC::VM*, char const (&) [6u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<7u>(JSC::VM*, char const (&) [7u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<26u>(JSC::VM*, char const (&) [26u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<20u>(JSC::VM*, char const (&) [20u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<18u>(JSC::VM*, char const (&) [18u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<21u>(JSC::VM*, char const (&) [21u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<4u>(JSC::VM*, char const (&) [4u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<19u>(JSC::VM*, char const (&) [19u])'
lib/libJavaScriptCore.so.1.0.0: error: undefined reference to 'JSC::Identifier JSC::Identifier::fromString<33u>(JSC::VM*, char const (&) [33u])'
Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/testapi.cpp.o:testapi.cpp:function TestAPI::basicSymbol(): error: undefined reference to 'JSValueIsSymbol'
Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/testapi.cpp.o:testapi.cpp:function WTF::SharedTaskFunctor<void (TestAPI&), testCAPIViaCpp::{lambda(TestAPI&)#2}>
::run(TestAPI&): error: undefined reference to 'JSValueIsSymbol'
--
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/20190108/216331a2/attachment-0001.html>
More information about the webkit-unassigned
mailing list