<div dir="ltr">Hi Bill,<br><br>Will the sun linker gc the sections itself then? or do we need to avoid using -ffunction-section/-fdata-sections as well?<div><br></div><div>-eric</div></div><br><div class="gmail_quote">On Fri, Feb 27, 2015 at 10:09 AM bill rushmore <<a href="mailto:bill.rushmore@oracle.com">bill.rushmore@oracle.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a very simple patch for Makefile.rules that solves the problem of<br>
trying to build on Solaris.  The issue is that Solaris' gcc uses the<br>
Solaris linker and that linker doesn't have the --gc-sections flag.<br>
This patch fixes Bug 18517.<br>
<br>
Bill Rushmore<br>
______________________________<u></u>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">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/<u></u>mailman/listinfo/llvm-commits</a><br>
</blockquote></div>