Rayson Ho wrote: > 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?? > > Hi Rayson,
HelloWorld did not work for me for a few of reasons.. 1) The gmake install did not seem to work correctly and complained later that it couldn't find gcc.. (Making that symlink to gcc-4.4 == bad I think ;) 2) I'm using gcc-4.4 experimental since that is what I easily had available on OpenSolaris 3) From a gmake clean and then going back to fix the compile issues with ld-new was minimal.. I can make a new diff if you want 4) The diff is against svn head Revision: 2105 https://svn.open64.net/svnroot/open64/trunk Thanks for looking at the patch.. I have this feeling if I use gcc-3.4-4.1 + pull the CPUID bits from mplayer it'll work.. Not sure though.. ./C