[Webkit-unassigned] [Bug 130837] New: Webkit2 doesnt build on powerpc 32 bits

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 27 06:28:43 PDT 2014


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

           Summary: Webkit2 doesnt build on powerpc 32 bits
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: landry at openbsd.org
                CC: ajacoutot at gnome.org


With a variety of patches i can build webkit1 on ppc 32 bits (it blows at runtime but that's another story), but webkit2 fails with:

webkit-2.4.0-gtk3/webkitgtk-2.4.0/.libs/libWebKit2Platform.a(libWebKit2Platform_l
a-Connection.o)(.gnu.linkonce.t._ZNSt13__atomic_baseIyEppEv+0x2c): In function `_ZNSt13__atomic_baseIyEppEv':                                                                                               
: undefined reference to `__atomic_fetch_add_8'

This is most probably due to the fact that ppc 32 bits cant have atomic ops on a 8-bytes value. The func is std::__atomic_base<unsigned long long>::operator++(),
and i'm pretty sure this comes from http://trac.webkit.org/browser/trunk/Source/WebKit2/Platform/IPC/Connection.h#L216
the ++ operator being called in http://trac.webkit.org/browser/trunk/Source/WebKit2/Platform/IPC/Connection.cpp#L341.

The std::atomic<> template was added in http://trac.webkit.org/browser/trunk/Source/WebKit2/Platform/CoreIPC/Connection.h?annotate=blame&rev=159724#file11 and i fail to see the reasoning for it.

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