If you do not need to enable IPA, the whole ld-new and other IPA related stuffs ( all files in osprey/ipa ) can be ignored.<br><br>If IPA is needed, the ld-new must be migrated because the system ld does not know WHIRL related sections at all. <br>
The ld-new ( osprey/cygnus ) is based on gnu binutils-2.16.1. I do know if gnu ld is compatible with the OpenSolaris ld. <br>But it should not be trouble because the output of ld-new will be fed into Open64 backend. Then the Open64 driver will<br>
call the system ld to do the final linking.<br><br><div class="gmail_quote">2009/3/6 Rayson Ho <span dir="ltr">&lt;<a href="mailto:raysonlogin@gmail.com">raysonlogin@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jian-Xin:<br>
<br>
Is there anything modified in &quot;ld-new&quot;?? How is it different from the<br>
GNU linker??<br>
<br>
I assume the object files with IPA information (WHIRL sections?) need<br>
special treatment... but I am hoping that we can workaround the issues<br>
and use the system linker to reduce maintenance effort...<br>
<br>
<br>
Christopher:<br>
<br>
I very quickly went through the diff, most of the changes are #defines<br>
for solaris. Except a few places I need to further investigate I think<br>
most of the code is good!<br>
<br>
I have some questions:<br>
<br>
- is the diff against the open64 src tarball or from cvs HEAD??<br>
<br>
- are you able to get HelloWorld compiled yet??<br>
<font color="#888888"><br>
Rayson<br>
</font><br>
P.S. talking about Google summer of Code, I still need to see what we<br>
want for SGE: <a href="http://wiki.gridengine.info/wiki/index.php/GSoCIdeas" target="_blank">http://wiki.gridengine.info/wiki/index.php/GSoCIdeas</a><br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
On Tue, Mar 3, 2009 at 3:07 AM, Jian-Xin Lai &lt;<a href="mailto:laijx03@gmail.com">laijx03@gmail.com</a>&gt; wrote:<br>
&gt; ld-new is based on gnu ld and used as the ipa linker. It&#39;s only used if IPA<br>
&gt; is enabled. Open64 always use the system ld(or system gcc) as the final<br>
&gt; linker by default.<br>
&gt;<br>
&gt; 2009/3/3 &quot;C. Bergström&quot; &lt;<a href="mailto:cbergstrom@netsyncro.com">cbergstrom@netsyncro.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; &gt;&gt; 2) The patch comments out building ld-new.  This needs to be fixed, but<br>
&gt;&gt; &gt;&gt; what&#39;s the best way to do this on OpenSolaris only?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; So are we planning to use the native Solaris linker??<br>
&gt;&gt; &gt;<br>
&gt;&gt; I assume the linker included is just gnu ld?  If so there&#39;s numerous<br>
&gt;&gt; benefits to using sun ld.  Unless there&#39;s a compelling reason not to I<br>
&gt;&gt; say comment it out for Solaris and use sun ld by default.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ./C<br>
&gt;&gt; - 显示引用文字 -<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------------------<br>
&gt;&gt; Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,<br>
&gt;&gt; CA<br>
&gt;&gt; -OSBC tackles the biggest issue in open source: Open Sourcing the<br>
&gt;&gt; Enterprise<br>
&gt;&gt; -Strategies to boost innovation and cut costs with open source<br>
&gt;&gt; participation<br>
&gt;&gt; -Receive a $600 discount off the registration fee with the source code:<br>
&gt;&gt; SFAD<br>
&gt;&gt; <a href="http://p.sf.net/sfu/XcvMzF8H" target="_blank">http://p.sf.net/sfu/XcvMzF8H</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Open64-devel mailing list<br>
&gt;&gt; <a href="mailto:Open64-devel@lists.sourceforge.net">Open64-devel@lists.sourceforge.net</a><br>
&gt;&gt; <a href="https://lists.sourceforge.net/lists/listinfo/open64-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/open64-devel</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Regards,<br>
&gt; Lai Jian-Xin<br>
&gt;<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Lai Jian-Xin<br>