<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:dbates&#64;webkit.org" title="Daniel Bates &lt;dbates&#64;webkit.org&gt;"> <span class="fn">Daniel Bates</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebKit fails to build with musl libc library"
   href="https://bugs.webkit.org/show_bug.cgi?id=152625">bug 152625</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Attachment #268112 Flags</td>
           <td>review?, commit-queue?
           </td>
           <td>review+, commit-queue-
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebKit fails to build with musl libc library"
   href="https://bugs.webkit.org/show_bug.cgi?id=152625#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebKit fails to build with musl libc library"
   href="https://bugs.webkit.org/show_bug.cgi?id=152625">bug 152625</a>
              from <span class="vcard"><a class="email" href="mailto:dbates&#64;webkit.org" title="Daniel Bates &lt;dbates&#64;webkit.org&gt;"> <span class="fn">Daniel Bates</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=268112&amp;action=diff" name="attach_268112" title="patch v3">attachment 268112</a> <a href="attachment.cgi?id=268112&amp;action=edit" title="patch v3">[details]</a></span>
patch v3

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=268112&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=268112&amp;action=review</a>

<span class="quote">&gt; Source/JavaScriptCore/ChangeLog:4
&gt; +        <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebKit fails to build with musl libc library"
   href="show_bug.cgi?id=152625">https://bugs.webkit.org/show_bug.cgi?id=152625</a>
&gt; +        qualify isnan() calls with std namespace.</span >

This ChangeLog entry does not conform to the format described in &lt;<a href="https://webkit.org/contributing-code/#changelogs">https://webkit.org/contributing-code/#changelogs</a>&gt;. In particular, these two lines should be the bug title and bug URL in that order. The description (line 4) should be placed under the Reviewed by line and begin with a capital letter (Q). We should also explain in the description that the motivation of this change is to fix the build when building with the musl libc library on Linux. I also suggest that we omit the description of Option::operator== (line 9) because this ChangeLog only describes a change to a single function, Option::operator==, and the change description for Option::operator== (line 9) is almost the same as the description (line 4). Making the above changes, we have: 

2016-01-02 Khem Raj &lt;<a href="mailto:raj.khem&#64;gmail.com">raj.khem&#64;gmail.com</a>&gt;

        WebKit fails to build with musl libc library
        <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebKit fails to build with musl libc library"
   href="show_bug.cgi?id=152625">https://bugs.webkit.org/show_bug.cgi?id=152625</a>

        Reviewed by Daniel Bates.

        Qualify isnan() calls with std namespace to fix the build when building with the musl libc library on Linux.

        * runtime/Options.cpp:
        (Option::operator==):

<span class="quote">&gt; Source/WTF/ChangeLog:4
&gt; +        Disable ctype.h check for musl C library on Linux.</span >

Similar to my remarks for the ChangeLog entry in Source/JavaScriptCore/ChangeLog, please move this description under the Reviewed by line, change line 3 to the the bug title (&quot;WebKit fails to build with musl libc library&quot;) and change line 4 to be bug URL (<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebKit fails to build with musl libc library"
   href="show_bug.cgi?id=152625">https://bugs.webkit.org/show_bug.cgi?id=152625</a>).

<span class="quote">&gt; Source/WTF/ChangeLog:8
&gt; +        * wtf/DisallowCType.h</span >

Please add a colon character (:) at the end of this line to fix the style bot warning (*):

ERROR: Source/WTF/ChangeLog:8:  Need whitespace between colon and description  [changelog/filechangedescriptionwhitespace] [5]

(*) This error message is disingenuous. The actual error is that there is no colon character after the filename. We should teach the style bot to detect the omission of the ':' and provide a better error message. This work should be done in a separate bug.

<span class="quote">&gt; Source/WTF/ChangeLog:10
&gt; +        Enable backtrace on linux when using glibc</span >

linux =&gt; Linux

Please add a period to the end of this sentence.

(These are very small issues. As part of addressing the bug title/description corrections I suggest we also make these changes).

<span class="quote">&gt; Source/WTF/ChangeLog:11
&gt; +        We dont have backtrace() implemented on non-glibc libc's on Linux.</span >

dont =&gt; don't

(This is a very small issue. As part of addressing the bug title/description corrections I suggest we also make this change).

<span class="quote">&gt; Source/WTF/ChangeLog:13
&gt; +        * wtf/Assertions.cpp</span >

Please add a colon character (:) at the end of this line to fix the style bot warning (*):

ERROR: Source/WTF/ChangeLog:13:  Need whitespace between colon and description  [changelog/filechangedescriptionwhitespace] [5]

<span class="quote">&gt; Source/WTF/wtf/Assertions.cpp:71
&gt; +#if OS(DARWIN) || (OS(LINUX) &amp;&amp; defined(__GLIBC__) &amp;&amp; !defined(__UCLIBC__))</span >

For completeness, we must explicitly check for !defined(__UCLIBC__) (i.e. cannot check OS(LINUX) &amp;&amp; defined(__GLIBC__)) because uClibc usually defines __GLIBC__ when being compiled per &lt;<a href="https://git.uclibc.org/uClibc/tree/include/features.h?id=266bdc1f623fe6fe489e5115e0f8ef723705d949">https://git.uclibc.org/uClibc/tree/include/features.h?id=266bdc1f623fe6fe489e5115e0f8ef723705d949</a>&gt;. The criterion for defining __GLIBC__ and the motivation for doing so is described at &lt;<a href="https://git.uclibc.org/uClibc/tree/include/features.h?id=266bdc1f623fe6fe489e5115e0f8ef723705d949#n81">https://git.uclibc.org/uClibc/tree/include/features.h?id=266bdc1f623fe6fe489e5115e0f8ef723705d949#n81</a>&gt; and &lt;<a href="https://git.uclibc.org/uClibc/tree/include/features.h?id=266bdc1f623fe6fe489e5115e0f8ef723705d949#n376">https://git.uclibc.org/uClibc/tree/include/features.h?id=266bdc1f623fe6fe489e5115e0f8ef723705d949#n376</a>&gt;.

On another note, the musl libc project does not expose any preprocessor macros to identify the use of the musl libc library during compilation as a matter of policy (<a href="http://wiki.musl-libc.org/wiki/FAQ#Q:_why_is_there_no_MUSL_macro_.3F">http://wiki.musl-libc.org/wiki/FAQ#Q:_why_is_there_no_MUSL_macro_.3F</a>).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>