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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 27 15:09:18 PDT 2014


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





--- Comment #1 from Landry Breuil <landry at openbsd.org>  2014-03-27 15:09:36 PST ---
Note that there's another std::atomic<int64_t> in Source/WebKit2/UIProcess/StatisticsRequest.cpp, and apparently one more in git master/svn head.

A workaround is to #if out the std::atomic template for 64-bits types on ppc, but a better real solution would be welcome.
Cf http://www.openbsd.org/cgi-bin/cvsweb/ports/www/webkit/patches/patch-Source_WebKit2_Platform_IPC_Connection_h?rev=1.1
and http://www.openbsd.org/cgi-bin/cvsweb/ports/www/webkit/patches/patch-Source_WebKit2_UIProcess_StatisticsRequest_cpp?rev=1.3

+#if CPU(PPC)
+    static int64_t uniqueRequestID;
+#else
     static std::atomic<int64_t> uniqueRequestID;
+#endif


sunset:~/src/WebKit/ $git grep std::atomic | grep 64
Source/WebKit2/Platform/IPC/Connection.h:    std::atomic<uint64_t> m_syncRequestID;
Source/WebKit2/Shared/mac/SecItemShim.cpp:    static std::atomic<int64_t> uniqueSecItemRequestID;
Source/WebKit2/UIProcess/StatisticsRequest.cpp:    static std::atomic<int64_t> uniqueRequestID;

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