<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <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#c9">Comment # 9</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:raj.khem&#64;gmail.com" title="Khem Raj &lt;raj.khem&#64;gmail.com&gt;"> <span class="fn">Khem Raj</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=152625#c7">comment #7</a>)
<span class="quote">&gt; 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>
&gt; patch v3
&gt; 
&gt; View in context:
&gt; <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>
&gt; 
&gt; &gt; Source/JavaScriptCore/ChangeLog:4
&gt; &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; &gt; +        qualify isnan() calls with std namespace.
&gt; 
&gt; This ChangeLog entry does not conform to the format described in
&gt; &lt;<a href="https://webkit.org/contributing-code/#changelogs">https://webkit.org/contributing-code/#changelogs</a>&gt;. In particular, these two
&gt; lines should be the bug title and bug URL in that order. The description
&gt; (line 4) should be placed under the Reviewed by line and begin with a
&gt; capital letter (Q). We should also explain in the description that the
&gt; motivation of this change is to fix the build when building with the musl
&gt; libc library on Linux. I also suggest that we omit the description of
&gt; Option::operator== (line 9) because this ChangeLog only describes a change
&gt; to a single function, Option::operator==, and the change description for
&gt; Option::operator== (line 9) is almost the same as the description (line 4).
&gt; Making the above changes, we have: 
&gt; 
&gt; 2016-01-02 Khem Raj &lt;<a href="mailto:raj.khem&#64;gmail.com">raj.khem&#64;gmail.com</a>&gt;
&gt;         
&gt;         WebKit fails to build with musl libc library
&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; 
&gt;         Reviewed by Daniel Bates.
&gt; 
&gt;         Qualify isnan() calls with std namespace to fix the build when
&gt; building with the musl libc library on Linux.
&gt; 
&gt;         * runtime/Options.cpp:
&gt;         (Option::operator==):
&gt; 
&gt; &gt; Source/WTF/ChangeLog:4
&gt; &gt; +        Disable ctype.h check for musl C library on Linux.
&gt; 
&gt; Similar to my remarks for the ChangeLog entry in
&gt; Source/JavaScriptCore/ChangeLog, please move this description under the
&gt; Reviewed by line, change line 3 to the the bug title (&quot;WebKit fails to build
&gt; with musl libc library&quot;) and change line 4 to be bug URL
&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; 
&gt; &gt; Source/WTF/ChangeLog:8
&gt; &gt; +        * wtf/DisallowCType.h
&gt; 
&gt; Please add a colon character (:) at the end of this line to fix the style
&gt; bot warning (*):
&gt; 
&gt; ERROR: Source/WTF/ChangeLog:8:  Need whitespace between colon and
&gt; description  [changelog/filechangedescriptionwhitespace] [5]
&gt; 
&gt; (*) This error message is disingenuous. The actual error is that there is no
&gt; colon character after the filename. We should teach the style bot to detect
&gt; the omission of the ':' and provide a better error message. This work should
&gt; be done in a separate bug.
&gt; 
&gt; &gt; Source/WTF/ChangeLog:10
&gt; &gt; +        Enable backtrace on linux when using glibc
&gt; 
&gt; linux =&gt; Linux
&gt; 
&gt; Please add a period to the end of this sentence.
&gt; 
&gt; (These are very small issues. As part of addressing the bug
&gt; title/description corrections I suggest we also make these changes).
&gt; 
&gt; &gt; Source/WTF/ChangeLog:11
&gt; &gt; +        We dont have backtrace() implemented on non-glibc libc's on Linux.
&gt; 
&gt; dont =&gt; don't
&gt; 
&gt; (This is a very small issue. As part of addressing the bug title/description
&gt; corrections I suggest we also make this change).
&gt; 
&gt; &gt; Source/WTF/ChangeLog:13
&gt; &gt; +        * wtf/Assertions.cpp
&gt; 
&gt; Please add a colon character (:) at the end of this line to fix the style
&gt; bot warning (*):
&gt; 
&gt; ERROR: Source/WTF/ChangeLog:13:  Need whitespace between colon and
&gt; description  [changelog/filechangedescriptionwhitespace] [5]
&gt; 
&gt; &gt; Source/WTF/wtf/Assertions.cpp:71
&gt; &gt; +#if OS(DARWIN) || (OS(LINUX) &amp;&amp; defined(__GLIBC__) &amp;&amp; !defined(__UCLIBC__))
&gt; 
&gt; For completeness, we must explicitly check for !defined(__UCLIBC__) (i.e.
&gt; cannot check OS(LINUX) &amp;&amp; defined(__GLIBC__)) because uClibc usually defines
&gt; __GLIBC__ when being compiled per
&gt; &lt;<a href="https://git.uclibc.org/uClibc/tree/include/features">https://git.uclibc.org/uClibc/tree/include/features</a>.
&gt; h?id=266bdc1f623fe6fe489e5115e0f8ef723705d949&gt;. The criterion for defining
&gt; __GLIBC__ and the motivation for doing so is described at
&gt; &lt;<a href="https://git.uclibc.org/uClibc/tree/include/features">https://git.uclibc.org/uClibc/tree/include/features</a>.
&gt; h?id=266bdc1f623fe6fe489e5115e0f8ef723705d949#n81&gt; and
&gt; &lt;<a href="https://git.uclibc.org/uClibc/tree/include/features">https://git.uclibc.org/uClibc/tree/include/features</a>.
&gt; h?id=266bdc1f623fe6fe489e5115e0f8ef723705d949#n376&gt;.
&gt; 
&gt; On another note, the musl libc project does not expose any preprocessor
&gt; macros to identify the use of the musl libc library during compilation as a
&gt; matter of policy
&gt; (<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>).</span >

backtrace() is not implemented on uclibc as well. So this fix also fixes uclibc builds</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>