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.
If IPA is needed, the ld-new must be migrated because the system ld does not know WHIRL related sections at all. 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. But it should not be trouble because the output of ld-new will be fed into Open64 backend. Then the Open64 driver will call the system ld to do the final linking. 2009/3/6 Rayson Ho <raysonlogin at gmail.com> > Jian-Xin: > > Is there anything modified in "ld-new"?? How is it different from the > GNU linker?? > > I assume the object files with IPA information (WHIRL sections?) need > special treatment... but I am hoping that we can workaround the issues > and use the system linker to reduce maintenance effort... > > > Christopher: > > I very quickly went through the diff, most of the changes are #defines > for solaris. Except a few places I need to further investigate I think > most of the code is good! > > I have some questions: > > - is the diff against the open64 src tarball or from cvs HEAD?? > > - are you able to get HelloWorld compiled yet?? > > Rayson > > P.S. talking about Google summer of Code, I still need to see what we > want for SGE: http://wiki.gridengine.info/wiki/index.php/GSoCIdeas > > > > > On Tue, Mar 3, 2009 at 3:07 AM, Jian-Xin Lai <laijx03 at gmail.com> wrote: > > ld-new is based on gnu ld and used as the ipa linker. It's only used if > IPA > > is enabled. Open64 always use the system ld(or system gcc) as the final > > linker by default. > > > > 2009/3/3 "C. Bergstr?m" <cbergstrom at netsyncro.com> > >> > >> >> 2) The patch comments out building ld-new. This needs to be fixed, > but > >> >> what's the best way to do this on OpenSolaris only? > >> >> > >> > > >> > So are we planning to use the native Solaris linker?? > >> > > >> I assume the linker included is just gnu ld? If so there's numerous > >> benefits to using sun ld. Unless there's a compelling reason not to I > >> say comment it out for Solaris and use sun ld by default. > >> > >> > >> > >> ./C > >> - ?????? - > >> > >> > >> > ------------------------------------------------------------------------------ > >> Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, > >> CA > >> -OSBC tackles the biggest issue in open source: Open Sourcing the > >> Enterprise > >> -Strategies to boost innovation and cut costs with open source > >> participation > >> -Receive a $600 discount off the registration fee with the source code: > >> SFAD > >> http://p.sf.net/sfu/XcvMzF8H > >> _______________________________________________ > >> Open64-devel mailing list > >> Open64-devel at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/open64-devel > > > > > > > > -- > > Regards, > > Lai Jian-Xin > > > -- Regards, Lai Jian-Xin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/hpcdev-discuss/attachments/20090306/d999ed0e/attachment.html>