[Webkit-unassigned] [Bug 197907] New: Webkit build failure on linux

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 14 23:59:34 PDT 2019


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

            Bug ID: 197907
           Summary: Webkit build failure on linux
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CMake
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kenwong20052006 at gmail.com

I tried to clone the latest version of webkit from github, and build it with following commands on Ubuntu 16.04 :
./Tools/Scripts/build-jsc --jsc-only --cmakeargs="-DCMAKE_C_COMPILER='/usr/bin/clang' -DCMAKE_CXX_COMPILER='/usr/bin/clang++'", crashed on here :


../../Source/WTF/wtf/PtrTag.h:431:23: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'?
inline T* tagArrayPtr(nullptr_t, size_t size)
                      ^~~~~~~~~
                      nullptr
../../Source/WTF/wtf/PtrTag.h:431:34: error: unexpected type name 'size_t': expected expression
inline T* tagArrayPtr(nullptr_t, size_t size)
                                 ^
../../Source/WTF/wtf/PtrTag.h:431:46: error: expected ';' at end of declaration
inline T* tagArrayPtr(nullptr_t, size_t size)
                                             ^
                                             ;
../../Source/WTF/wtf/PtrTag.h:432:1: error: expected unqualified-id
{
^
../../Source/WTF/wtf/PtrTag.h:438:11: error: redefinition of 'tagArrayPtr' as different kind of symbol
inline T* tagArrayPtr(T* ptr, size_t)
          ^
../../Source/WTF/wtf/PtrTag.h:431:11: note: previous definition is here
inline T* tagArrayPtr(nullptr_t, size_t size)
          ^
5 errors generated.

for clang, I have tried both clang-6.0 and 8.0, none of them works 
Seems this patch has break the webkit : https://github.com/WebKit/webkit/commit/9bca742407c2a68c4aeeb12e7ff744f8ec653b91

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190515/f78417b7/attachment-0001.html>


More information about the webkit-unassigned mailing list