<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@igalia.com" title="Carlos Alberto Lopez Perez <clopez@igalia.com>"> <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">> (In reply to <a href="show_bug.cgi?id=161697#c4">comment #4</a>)
> > (In reply to <a href="show_bug.cgi?id=161697#c3">comment #3</a>)
> > > I'm curious (a) what cmake version you have, and (b) what linker flags are
> > > getting passed to that file?
> >
> > This is a clean build log with -j1: <a href="http://sprunge.us/LbIg">http://sprunge.us/LbIg</a>
>
> The problem seems to be adding -isystem $DEFAULTINCLUDEPATH before the
> others -isystems. Removing that one it builds.
>
> Also It don't matters the order, it fails awalys if i put it after, in the
> middle or before the others -isystem parameters. It only builds when the
> "-isystem $DEFAULTINCLUDEPATH" 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>