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

libosxapp.dylib fails to build on Mac OS 10.9 with clang

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Environment:

      New installation of Mac OS X 10.9.3 with Xcode 5.1.1

    • Subcomponent:
    • Resolved In Build:
      b22
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      Undefined symbols for architecture x86_64:
        "_attachCurrentThread", referenced from:
            +[ThreadUtilities getJNIEnv] in ThreadUtilities.o
            +[ThreadUtilities getJNIEnvUncached] in ThreadUtilities.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[2]: *** [/Volumes/work/tot/jdk9/build/macosx-x86_64-normal-server-slowdebug/jdk/lib/libosxapp.dylib] Error 1

      This is with JDK checked out using "hg clone http://hg.openjdk.java.net/jdk9/hs-rt jdk9" as of today (May 21, 2014)

      JDK configured using "./configure --with-boot-jdk=`/usr/libexec/java_home -v 1.8` --with-debug-level=slowdebug --with-jobs=8" and build using "make images"

        Attachments

          Activity

            People

            • Assignee:
              pchelko Petr Pchelko (Inactive)
              Reporter:
              gziemski Gerard Ziemski
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: