<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jan 19, 2015 at 1:20 PM, Joerg Sonnenberger <span dir="ltr"><<a href="mailto:joerg@britannica.bec.de" target="_blank">joerg@britannica.bec.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Jan 19, 2015 at 03:57:50PM -0500, Ed Maste wrote:<br>
> On 19 January 2015 at 11:32, Joerg Sonnenberger <<a href="mailto:joerg@britannica.bec.de">joerg@britannica.bec.de</a>> wrote:<br>
> > On Sun, Jan 18, 2015 at 10:28:27PM +0000, Davide Italiano wrote:<br>
> >> Some Makefiles on FreeBSD use -export-dynamic rather than --export-dynamic.<br>
> >> We're gonna patch them in the FreeBSD tree, but as long as this is<br>
> >> supposed to be a drop-in replacement for GNU ld, I think supporting<br>
> >> single dash flag is fine.<br>
> ><br>
> > I dislike this for the overlap with the -e option.<br>
><br>
> It is unfortunate, but necessary if we want to aim for full GNU ld<br>
> compatibility. Do we chase down various ld consumers and convince them<br>
> to switch to --?<br>
<br>
</span>I've seen existing bugs around -export-dynamic with typos and the like,<br>
so personally, I would prefer to handle it as error. In short: yes.<br></blockquote><div><br></div><div>I think my preference is opposite. Trying to make an "improvement" over GNU command line options would end up with a linker which is not fully compatible with GNU. I think that would cause confusion. I want it to be a drop-in replacement that just works.</div><div><br></div><div>If we really want to ban -export-dynamic, we should convince GNU to not accept that option (or warn on that at least), maybe?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
Joerg<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div></div>