JDK-6452081 : Allow for Linux builds with Sun Studio Linux compilers
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2006-07-24
  • Updated: 2011-09-22
  • Resolved: 2011-04-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 6 Other
6u14Fixed hs12Fixed
Configure the makefiles to work with Sun Studio compilers for Linux. This would allow us to compare Linux builds with the two compilers and determine is performance could be improved by using the Sun compilers.

SUGGESTED FIX Please, see the webrev hs_sscc.Nov28.tar.gz with suggested fix in attachments. The fix has been prepared by the Sun Studio Compilers Team (Vladimir Klimov). The USE_SUNCC macro must be passed to gnumake to build VM with the Sun Studio Compilers. Original versions of webrevs from Vladimir Klimov: - First webrev passed on to the HotSpot VM team for review: http://sunprowww.sfbay/home/vk154045/hs.webrev.v3/index.html - Complete webrev with amd64 and USE_SUNCC functionality included: http://techpubs.eng.sun.com/home/vk154045/jdk/hs.webrev.v5/ - Final webrev where the SPARC_WORKS macro is used instead of __SUNPRO_C and __SUNPRO_CC: http://techpubs.eng.sun.com/home/vk154045/jdk/hs.webrev.v6/ This is the original webrev comment from Vladimir: Vladimir V. Klimov wrote: > Here webrev.v3 required to build hotspot on Linux using SS12. > I've lost my previous workspace, so it took me some time to recreate everything, > also some changes in master workspace influenced new patch... so here > it is and I hope this is the final version: > http://sunprowww.sfbay/home/vk154045/hs.webrev.v3/index.html > > Changes: > 1) Removed all redundancies from linux/sparcWorks.make and set > appropriate tested optimization levels for SS12 compilers > 2) FP_ZERO and fpclass put under LINUX macro in > globalDefinitions_sparcWorks.hpp > 3) CR reference is now available in SCCS comments > 4) Three files not appeared in webrev.v2 added (I wonder how this could happen, > but old workspace is lost): > src/os_cpu/linux_x86/vm/os_linux_x86.cpp > build/linux/platform_i486 > build/linux/makefiles/vm.make > > Thanks, > Vladimir

EVALUATION Taking my name off this RFE since I'm not doing any work on it right now.

EVALUATION Problem understood.