Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-841

native hadoop libraries don't build properly with 64-bit OS and a 32-bit jvm

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.10.0
    • Component/s: build
    • Labels:
      None

      Description

      src/native/lib/Makefile.am doesn't pass along the appropriate -m32/-m64 flag while using libtool to create the shared-object which results in this problem.

      Simple fix:
      -AM_LDFLAGS = @JNI_LDFLAGS@
      +AM_LDFLAGS = @JNI_LDFLAGS@ -m$(JVM_DATA_MODEL)

        Attachments

          Activity

            People

            • Assignee:
              acmurthy Arun C Murthy
              Reporter:
              acmurthy Arun C Murthy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: