Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8291899

Zero VM is broken on MacOS after JDK-8290840 due to os::setup_fpu() is missing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 20
    • 20
    • hotspot
    • b10

    Description


      Undefined symbols for architecture x86_64:
        "os::setup_fpu()", referenced from:
            attach_current_thread(JavaVM_*, void**, void*, bool) in jni.o
      ld: symbol(s) not found for architecture x86_64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      make[3]: *** [/Users/fool/workspace/jdk/build/macosx-x86_64-zero-fastdebug/support/modules_libs/java.base/zero/libjvm.dylib] Error 1
      make[3]: *** Waiting for unfinished jobs....
      make[2]: *** [hotspot-zero-libs] Error 2

      ERROR: Build failed for target 'images' in configuration 'macosx-x86_64-zero-fastdebug' (exit code 2)
      Stopping sjavac server

      === Output from failing command(s) repeated here ===
      * For target hotspot_variant-zero_libjvm_objs_BUILD_LIBJVM_link:
      Undefined symbols for architecture x86_64:
        "os::setup_fpu()", referenced from:
            attach_current_thread(JavaVM_*, void**, void*, bool) in jni.o
      ld: symbol(s) not found for architecture x86_64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      ~

      Attachments

        Issue Links

          Activity

            People

              jiefu Jie Fu
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: