<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 - Bring back the GNU ar check to create thin archives on non-Linux systems"
href="https://bugs.webkit.org/show_bug.cgi?id=146681">146681</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Bring back the GNU ar check to create thin archives on non-Linux systems
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>528+ (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>Platform
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lantw44@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>We used 'ar -V' to check whether we are using GNU ar and add the T (thin archive) flag if GNU ar is used when we still had autotools build. It was added in <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - 'ar T' is not portable and breaks the build on FreeBSD"
href="show_bug.cgi?id=128596">https://bugs.webkit.org/show_bug.cgi?id=128596</a>. However, autotools build was removed, and we use '${CMAKE_SYSTEM_NAME} STREQUAL "Linux"' to do the GNU ar check instead in cmake build, which means all non-Linux systems cannot use GNU ar thin archive feature.
This means getting debug build of WebKit on *BSD or other non-Linux systems can be hard because WebCore static archive can be larger than 4 GiB and cause error: <a class="bz_bug_link
bz_status_NEW "
title="NEW - The debug build of WebCore static archive is too large"
href="show_bug.cgi?id=140384">https://bugs.webkit.org/show_bug.cgi?id=140384</a>. GNU ar thin archive feature is really needed to prevent the error.
After applying the attached patch and modifying some environment variables, I can get a debug build of WebKitGTK+ on FreeBSD now.</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>