[Webkit-unassigned] [Bug 29175] New: JavaScriptCore: corrects build break on sparc 64 with gcc

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 11 03:09:02 PDT 2009


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

           Summary: JavaScriptCore: corrects build break on sparc 64 with
                    gcc
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jocelyn.turcotte at nokia.com



Jocelyn Turcotte <jocelyn.turcotte at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39420|                            |review?
               Flag|                            |


Created an attachment (id=39420)
 --> (https://bugs.webkit.org/attachment.cgi?id=39420)
Patch

Compiling JavaScriptCore on sparc 64 with gcc fails.

ThreadSafeShared uses the atomic __gnu_cxx::__exchange_and_add with an int,
however on sparc 64 the _Atomic_word argument is typedefed to long (8 bytes).

The patch disables WTF_USE_LOCKFREE_THREADSAFESHARED in ThreadSafeShared to use
a mutex instead when compiling for sparc 64 with gcc.

-- 
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