<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>197907</bug_id>
          
          <creation_ts>2019-05-14 23:59:34 -0700</creation_ts>
          <short_desc>Webkit build failure on linux</short_desc>
          <delta_ts>2019-05-15 14:41:16 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>197911</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>kenwong20052006</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>keith_miller</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>saam</cc>
    
    <cc>vjaquez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1536361</commentid>
    <comment_count>0</comment_count>
    <who name="">kenwong20052006</who>
    <bug_when>2019-05-14 23:59:34 -0700</bug_when>
    <thetext>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=&quot;-DCMAKE_C_COMPILER=&apos;/usr/bin/clang&apos; -DCMAKE_CXX_COMPILER=&apos;/usr/bin/clang++&apos;&quot;, crashed on here :


../../Source/WTF/wtf/PtrTag.h:431:23: error: use of undeclared identifier &apos;nullptr_t&apos;; did you mean &apos;nullptr&apos;?
inline T* tagArrayPtr(nullptr_t, size_t size)
                      ^~~~~~~~~
                      nullptr
../../Source/WTF/wtf/PtrTag.h:431:34: error: unexpected type name &apos;size_t&apos;: expected expression
inline T* tagArrayPtr(nullptr_t, size_t size)
                                 ^
../../Source/WTF/wtf/PtrTag.h:431:46: error: expected &apos;;&apos; 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 &apos;tagArrayPtr&apos; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536603</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-05-15 14:41:16 -0700</bug_when>
    <thetext>Seems fixed already.

*** This bug has been marked as a duplicate of bug 197911 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>