-
Enhancement
-
Resolution: Fixed
-
P3
-
6
-
b75
-
generic
-
generic
Can we build on Solaris 9/10/11 and get our JDK to still run on Solaris 8?
This is part of that investigation.
Currently the official builds on Solaris 8 use -lm or /usr/lib/libm.so in links of libraries or programs that need libm (math library functions). On Solaris 8 this ends up being a dependency on libm.so.1 because libm.so is a softlink to libm.so.1. But when you build on Solaris 9/10/11, libm.so is a softlink to libm.so.2, which is a library that does not exist on Solaris 8.
Since we have no need for libm.so.2, I'm proposing that we explicitly ask for a dependency on libm.so.1, so that when building on Solaris 9/10/11, the libraries and executables have a chance of working on Solaris 8 or the older releases.
There may be other issues with builds on Solaris 9/10/11 running on Solaris 8, but this was the first one found.
After fixing this, a Solaris 10 built JDK actually is able to run 'java -version' on a Solaris 8 machine.
Further testing is required.
Will also clean up use of CPLUSPLUSLIBRARY and MIXEDCPLUSPLUSLIBRARY (which isn't needed anymore).
This is part of that investigation.
Currently the official builds on Solaris 8 use -lm or /usr/lib/libm.so in links of libraries or programs that need libm (math library functions). On Solaris 8 this ends up being a dependency on libm.so.1 because libm.so is a softlink to libm.so.1. But when you build on Solaris 9/10/11, libm.so is a softlink to libm.so.2, which is a library that does not exist on Solaris 8.
Since we have no need for libm.so.2, I'm proposing that we explicitly ask for a dependency on libm.so.1, so that when building on Solaris 9/10/11, the libraries and executables have a chance of working on Solaris 8 or the older releases.
There may be other issues with builds on Solaris 9/10/11 running on Solaris 8, but this was the first one found.
After fixing this, a Solaris 10 built JDK actually is able to run 'java -version' on a Solaris 8 machine.
Further testing is required.
Will also clean up use of CPLUSPLUSLIBRARY and MIXEDCPLUSPLUSLIBRARY (which isn't needed anymore).