[Webkit-unassigned] [Bug 246515] Non-unified build with LLD fails due to undefined AuxiliaryBarrier<JSC::Butterfly*> constructor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 14 05:25:14 PDT 2022


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

Adrian Perez <aperez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|webkit-unassigned at lists.web |aperez at igalia.com
                   |kit.org                     |

--- Comment #1 from Adrian Perez <aperez at igalia.com> ---
JFTR, given that the linker error is all but useful, I ended up using
the following big hammer ��️ approach to find which .o file had an
undefined reference to the inline:

  % nm -PCul WebKitBuild/GTK/Debug/Source/JavaScriptCore/**/*.o \
      | grep AuxiliaryBarrier
 JSC::AuxiliaryBarrier<JSC::Butterfly*>::AuxiliaryBarrier<JSC::Butterfly*&>(JSC::VM&, JSC::JSCell*, JSC::Butterfly*&)  U    WebAssemblyArrayPrototype.cpp:0

Scanning all the object files works because, as an inline, the undefined
function implementation should have been inlined into each object file
that needs it, instead of resulting in an undefined symbol ��️

Patch incoming...

-- 
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/20221014/3905941c/attachment.htm>


More information about the webkit-unassigned mailing list