United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6452081 : Allow for Linux builds with Sun Studio Linux compilers

Details
Type:
Enhancement
Submit Date:
2006-07-24
Status:
Closed
Updated Date:
2011-09-22
Project Name:
JDK
Resolved Date:
2011-04-20
Component:
hotspot
OS:
linux
Sub-Component:
runtime
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:
hs12 (b02)

Related Reports
Backport:
Backport:
Relates:
Relates:

Sub Tasks

Description
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.

                                    

Comments
EVALUATION

Problem understood.
                                     
2007-03-17
EVALUATION

Taking my name off this RFE since I'm not doing any work on it right now.
                                     
2007-07-05
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
                                     
2008-01-29



Hardware and Software, Engineered to Work Together