[Webkit-unassigned] [Bug 147816] New: Enable optimization causes undefined reference error for debug build

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 9 05:43:12 PDT 2015


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

            Bug ID: 147816
           Summary: Enable optimization causes undefined reference error
                    for debug build
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: Other
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lantw44 at gmail.com

We usually disable optimization for debug build, but I hope it doesn't fail when optimization is enabled. I got these messages when my CXXFLAGS contains -O2:

lib/libjavascriptcoregtk-4.0.so.18.2.4: undefined reference to 'JSC::JSCell::inherits(JSC::ClassInfo const*) const'
lib/libjavascriptcoregtk-4.0.so.18.2.4: undefined reference to 'JSC::JSCell::structure() const'
../../Source/WebCore/editing/InsertNodeBeforeCommand.cpp:47: error: undefined reference to 'WebCore::ContainerNode::renderer() const'

I will attach a patch that add 3 lines of include to fix this problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150809/8fbef0e6/attachment-0001.html>


More information about the webkit-unassigned mailing list