Use right LP64 definition for 64 bit conditional build of hotspot

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • hs10
    • Affects Version/s: 7
    • Component/s: hotspot
    • None
    • b10
    • generic
    • solaris

        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

              Assignee:
              Xiaobin Lu (Inactive)
              Reporter:
              Xiaobin Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: