United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6531149 Use right LP64 definition for 64 bit conditional build of hotspot
6531149 : Use right LP64 definition for 64 bit conditional build of hotspot

Details
Type:
Bug
Submit Date:
2007-03-05
Status:
Closed
Updated Date:
2012-10-08
Project Name:
JDK
Resolved Date:
2007-03-15
Component:
hotspot
OS:
solaris
Sub-Component:
runtime
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs10

Related Reports
Backport:
Backport:

Sub Tasks

Description
In $(hotspot_ws)/build/solaris/makefiles/rules.make, it have different build rules for 64 bit and 32 bit. Currently, it explicitly tests whether LP64 equals to 1 or not. This works only when one set LP64=1 as the build option (or ARCH_DATA_MODEL=64). If one set LP64=true or something else, it won't work. The right way of testing whether it is performing 64 bit build or 32 bit is to test whether LP64 exists or not. So we need to change:
ifeq ($(LP64), 1) to
ifdef LP64

                                    

Comments
EVALUATION

Fix is described in the description section.
                                     
2007-03-05



Hardware and Software, Engineered to Work Together