Bug 194484 - libWPEWebKit-0.1.so: undefined reference to `JSC::JSValue::asCell() const
Summary: libWPEWebKit-0.1.so: undefined reference to `JSC::JSValue::asCell() const
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Pablo Saavedra
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-02-10 15:48 PST by Pablo Saavedra
Modified: 2019-02-10 16:30 PST (History)
5 users (show)

See Also:


Attachments
patch (1.14 KB, patch)
2019-02-10 15:52 PST, Pablo Saavedra
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Saavedra 2019-02-10 15:48:26 PST
A ld ERROR happens linking against WPE built VIDEO=disabled:

  -DENABLE_VIDEO=OFF
  -DPORT=WPE 


Error:

/usr/lib/libWPEWebKit-0.1.so: undefined reference to `JSC::JSValue::asCell() const'
collect2: error: ld returned 1 exit status


$ readelf  -s  /usr/lib/libWPEWebKit-0.1.so | grep -i  asCell
  1271: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND _ZNK3JSC7JSValue6asCellEv


Related to: https://bugs.webkit.org/show_bug.cgi?id=194341

Ref1: https://trac.webkit.org/changeset/240315/webkit
Ref2: https://github.com/Igalia/meta-webkit/issues/66
Comment 1 Pablo Saavedra 2019-02-10 15:48:57 PST
`#include <JavaScriptCore/JSCJSValueInlines.h>` is missing in Source/WebCore/bindings/js/JSUndoItemCustom.cpp
Comment 2 Pablo Saavedra 2019-02-10 15:52:59 PST
Created attachment 361648 [details]
patch
Comment 3 WebKit Commit Bot 2019-02-10 16:29:41 PST
Comment on attachment 361648 [details]
patch

Clearing flags on attachment: 361648

Committed r241253: <https://trac.webkit.org/changeset/241253>
Comment 4 WebKit Commit Bot 2019-02-10 16:29:43 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2019-02-10 16:30:30 PST
<rdar://problem/47951970>