<html>
<head>
<base href="https://bugs.llvm.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 - The -platform_version flag behavior is a breaking change"
href="https://bugs.llvm.org/show_bug.cgi?id=44813">44813</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>The -platform_version flag behavior is a breaking change
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Driver
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dmajor@mozilla.com
</td>
</tr>
<tr>
<th>CC</th>
<td>arphaman@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
</td>
</tr>
<tr>
<th>Blocks</th>
<td>44555
</td>
</tr></table>
<p>
<div>
<pre>One of our build configurations is a Linux-to-Mac cross-compile that uses
cctools-port, which is currently at ld64 version 450.
Using the clang 10.0 release candidates, these builds fail, because of `unknown
option: -platform_version`, coming from <a href="https://reviews.llvm.org/D71579">https://reviews.llvm.org/D71579</a>.
I see that there is a way to get the old behavior by adding `-mlinker-version`,
but something doesn't feel right about having to do this. Generally the tools
are pretty good about preserving compatibility, unless there is a _really_
strong reason not to.
I'd like to request that either:
* The default be reconsidered, or
* To make an explicit statement that the current behavior should stay,
acknowledging that it is a build-breaking change for some codebases, and update
the release notes to mention this change and the workaround.</pre>
</div>
</p>
<div id="referenced">
<hr style="border: 1px dashed #969696">
<b>Referenced Bugs:</b>
<ul>
<li>
[<a class="bz_bug_link
bz_status_CONFIRMED "
title="CONFIRMED - [meta] 10.0.0 Release Blockers"
href="https://bugs.llvm.org/show_bug.cgi?id=44555">Bug 44555</a>] [meta] 10.0.0 Release Blockers
</li>
</ul>
</div>
<br>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>