[Webkit-unassigned] [Bug 103137] New: [Gtk] Tools/TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp fails to link

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 23 06:41:31 PST 2012


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

           Summary: [Gtk]
                    Tools/TestWebKitAPI/Tests/WTF/MemoryInstrumentationTes
                    t.cpp fails to link
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yurys at chromium.org
                CC: gns at gnome.org, pfeldman at chromium.org,
                    yurys at chromium.org, loislo at chromium.org
        Depends on: 102510


Adding Tools/TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp to Tools/TestWebKitAPI/GNUmakefile.am causes linker failure. Although doing the same with e.g. Tools/TestWebKitAPI/Tests/WTF/WTFSring.cpp works just fine.

I originally faced this issue while working on patch for webkit.org/b/102510. Compilation started failing when I moved part of wtf/MemoryInstrumentation.h into wtf/MemoryInstrumentation.cpp (see http://queues.webkit.org/results/14899240):

"ts/WTF/Programs_TestWebKitAPI_TestWTF-MemoryInstrumentationTest.o:MemoryInstrumentationTest.cpp:function typeinfo for (anonymous namespace)::InstrumentationTestImpl: error: undefined reference to 'typeinfo for WTF::MemoryInstrumentation"

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list