<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CMake] Build failure with GCC 6 (fatal error: stdlib.h: No such file or directory)"
   href="https://bugs.webkit.org/show_bug.cgi?id=161697#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CMake] Build failure with GCC 6 (fatal error: stdlib.h: No such file or directory)"
   href="https://bugs.webkit.org/show_bug.cgi?id=161697">bug 161697</a>
              from <span class="vcard"><a class="email" href="mailto:clopez&#64;igalia.com" title="Carlos Alberto Lopez Perez &lt;clopez&#64;igalia.com&gt;"> <span class="fn">Carlos Alberto Lopez Perez</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=161697#c5">comment #5</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=161697#c4">comment #4</a>)
&gt; &gt; (In reply to <a href="show_bug.cgi?id=161697#c3">comment #3</a>)
&gt; &gt; &gt; I'm curious (a) what cmake version you have, and (b) what linker flags are
&gt; &gt; &gt; getting passed to that file?
&gt; &gt; 
&gt; &gt; This is a clean build log with -j1: <a href="http://sprunge.us/LbIg">http://sprunge.us/LbIg</a>
&gt; 
&gt; The problem seems to be adding -isystem $DEFAULTINCLUDEPATH before the
&gt; others -isystems. Removing that one it builds.
&gt; 
&gt; Also It don't matters the order, it fails awalys if i put it after, in the
&gt; middle or before the others -isystem parameters. It only builds when the
&gt; &quot;-isystem $DEFAULTINCLUDEPATH&quot; is removed... strange.</span >

Yes, the issue is specifically adding -isystem $DEFAULTINCLUDEPATH

Explanation here: <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823145#25">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823145#25</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>