Sun Studio Express and Patches

Good Afternoon,

I was wondering if it's possible to apply a patch to Sun Studio Express. If so, how would I go about it?

A patch was recently released for the Studio compiler back end which may address a bug I've been experiencing and I wanted to give it a try.

The patch is 120759-08.

Thanks in advance,

Jon

[347 byte] By [PerryBothron] at [2007-11-26 10:55:15]
# 1
In general a SunStudio11 patches should not work with expresses well.The codebases of SS11 and SSX have diverged, so there are no guaranties of things to match. You can wait for the next express, though. Do you have the Id of the particular bug you care about?
horsh at 2007-7-7 3:08:26 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
The bug ID is 6395037 and the patch number which includes the fix is 120759-08 for x86.Thanks,Jon
PerryBothron at 2007-7-7 3:08:26 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3

Have you tried the workarounds that are suggested in the bug report? These are the ones that might work for you:

-xdepend=no

-xdepend=yes -Qoption iropt -Rloop_dist

-xdepend=yes -Qoption iropt -O2

If -xdepend=no doesn't solve your problem, then this bug fix will not help either.

igb at 2007-7-7 3:08:26 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4
I know that -xdepend=no fixes the problem.I tried the other compiler options suggested and they both appear to work.I find the -Qoption iropt -Rloop_dist gives slightly better performance than the other choice.Cheers,Jon
PerryBothron at 2007-7-7 3:08:26 > top of Java-index,Development Tools,Solaris and Linux Development Tools...