<div dir="ltr">On Mon, May 16, 2016 at 8:03 AM, Ryan Lovelett via swift-dev <span dir="ltr">&lt;<a href="mailto:swift-dev@swift.org" target="_blank">swift-dev@swift.org</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Sat, May 14, 2016, at 12:17 PM, William Dillon via swift-dev wrote:<br>
&gt; I&#39;m in favor.  The current disparate use of linkers overly complicates<br>
&gt; the build scripts, and given that BFD seems to be a liability, I think it<br>
&gt; makes sense to transition.  In the interest of full disclosure, I don&#39;t<br>
&gt; fully understand all the implications of this change, especially on x86.<br>
&gt;<br>
&gt; - Will<br>
&gt;<br>
&gt; &gt; On May 13, 2016, at 6:50 PM, Saleem Abdulrasool via swift-dev &lt;<a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; On ARM targets, gold is already required due to a certain bugs in the handling of relocations for those targets.<br>
&gt; &gt;<br>
&gt; &gt; For other targets, there was a bug exposed in the BFD linker (which is believed to have been fixed in a newer release).<br>
&gt; &gt;<br>
&gt; &gt; Recently, another change seems to have exposed yet another issue with linking on x86 targets.<br>
&gt; &gt;<br>
&gt; &gt; Given the frequency with which issues occurring with the BFD linker, is it reasonable to say that building swift requires the gold linker?  To the previous three issues, I believe that two of them were worked around with the approach of using gold.  So, there is some precedent to that approach.  Furthermore, this idea has been brought up before.<br>
&gt; &gt;<br>
&gt; &gt; Im hoping that this can spark a thread which can come up to some conclusion to whether it is reasonable to expect that the linux builds would use gold for the foreseeable future.<br>
<br>
</span>Count me in favor of this as well.</blockquote><div><br></div><div>Given the overall positive reaction, and no objections, Ive created <a href="https://github.com/apple/swift/pull/2609">https://github.com/apple/swift/pull/2609</a> to switch Linux over to gold by default on all the targets.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Saleem Abdulrasool<br>
&gt; &gt; compnerd (at) compnerd (dot) org<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; swift-dev mailing list<br>
&gt; &gt; <a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a><br>
&gt; &gt; <a href="https://lists.swift.org/mailman/listinfo/swift-dev" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-dev</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; swift-dev mailing list<br>
&gt; <a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a><br>
&gt; <a href="https://lists.swift.org/mailman/listinfo/swift-dev" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-dev</a><br>
_______________________________________________<br>
swift-dev mailing list<br>
<a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-dev" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Saleem Abdulrasool<br>compnerd (at) compnerd (dot) org</div>
</div></div>