[Webkit-unassigned] [Bug 20225] New: [Qt] build failure after r35440

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 30 02:12:26 PDT 2008


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

           Summary: [Qt] build failure after r35440
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: oszi at inf.u-szeged.hu


I think this code must be in #if USE(MULTIPLE_THREADS)... #endif block:

JavaScriptCore/kjs/collector.cpp line 126-128:
int error = pthread_key_create(&m_currentThreadRegistrar, unregisterThread); 
if (error) 
    CRASH();
---
Preprocessor don't find a header when processing JSContextRef.cpp:
JavaScriptCore/API/JSContextRef.h line 7:
#include <JavaScriptCore/WebKitAvailability.h>

I removed this line and all "AVAILABLE_AFTER_WEBKIT_VERSION_3_1" macros in
JSContextRef.h, and it seems a useable but ugly workaround. 
---
With these workaround and with my patch submitted in bugzilla previously
(https://bugs.webkit.org/show_bug.cgi?id=20170) r35444 was built correctly, and
regression tests was succeeded.


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



More information about the webkit-unassigned mailing list