<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] Compilation fails if using ninja together with icecream and cmake > 3.5"
href="https://bugs.webkit.org/show_bug.cgi?id=168770">168770</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[GTK] Compilation fails if using ninja together with icecream and cmake > 3.5
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>WebKit Gtk
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>tpopela@redhat.com
</td>
</tr>
<tr>
<th>CC</th>
<td>bugs-noreply@webkitgtk.org
</td>
</tr></table>
<p>
<div>
<pre>Compilation fails if using ninja together with icecream and cmake > 3.5. It's because we turn on the response files support (because of <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [CMake] Ninja generator builds fail with "Argument list too long""
href="show_bug.cgi?id=129771">bug 129771</a>) in Source/cmake/OptionsCommon.cmake (by enabling CMAKE_NINJA_FORCE_RESPONSE_FILE), but the icecream compiler it not processing the response files correctly, and it's not passing compiler flags from the response files to the compiler (in our case it's -fPIC). The compilation succeeds with cmake <= 3.5, because the support for the ninja's response files was added in 3.6. For more information see the cmake bug <a href="https://gitlab.kitware.com/cmake/cmake/issues/16664">https://gitlab.kitware.com/cmake/cmake/issues/16664</a> the issue was reported to icecream as well <a href="https://github.com/icecc/icecream/issues/188">https://github.com/icecc/icecream/issues/188</a>. In the meantime we should turn off the response files support if using cmake > 3.5 together with ninja generator and icecream.</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>