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

Can't build 'images' with --disable-zip-debug-info on OS X after jigsaw m2 merge

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b68
    • OS:
      os_x

      Backports

        Description

        If I run configure with --disable-zip-debug-info and then try to build the 'images' target the build fails. Without the --disable-zip-debug-info flag, it builds ok.


        ...
        Copying support/modules_libs-stripped/java.base/libjsig.dylib.dSYM/Contents/Resources/DWARF/libjsig.dylib
        Copying support/modules_libs-stripped/java.base/server/libjvm.dylib.dSYM/Contents/Resources/DWARF/libjvm.dylib
        Copying support/modules_libs-stripped/java.desktop/libawt.dylib
        Stripping support/modules_libs/java.base/libjsig.dylib.dSYM/Contents/Resources/DWARF/libjsig.dylib
        Stripping support/modules_libs/java.base/server/libjvm.dylib.dSYM/Contents/Resources/DWARF/libjvm.dylib
        Stripping support/modules_libs/java.desktop/libawt.dylib
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: string table not at the end of the file (can't be processed) in file: /Users/staffan/mercurial/jdk9-dev/build/macosx-x86_64-normal-server-release/support/modules_libs-stripped/java.base/libjsig.dylib.dSYM/Contents/Resources/DWARF/libjsig.dylib.tmp
        make[3]: *** [/Users/staffan/mercurial/jdk9-dev/build/macosx-x86_64-normal-server-release/support/modules_libs-stripped/java.base/libjsig.dylib.dSYM/Contents/Resources/DWARF/libjsig.dylib] Error 1
        make[3]: *** Waiting for unfinished jobs....
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: string table not at the end of the file (can't be processed) in file: /Users/staffan/mercurial/jdk9-dev/build/macosx-x86_64-normal-server-release/support/modules_libs-stripped/java.base/server/libjvm.dylib.dSYM/Contents/Resources/DWARF/libjvm.dylib.tmp
        make[3]: *** [/Users/staffan/mercurial/jdk9-dev/build/macosx-x86_64-normal-server-release/support/modules_libs-stripped/java.base/server/libjvm.dylib.dSYM/Contents/Resources/DWARF/libjvm.dylib] Error 1
        make[2]: *** [strip-binaries] Error 2
        make[2]: *** Waiting for unfinished jobs....
        make[1]: *** [main-wrapper] Error 2
        make: *** [images] Error 2

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sla Staffan Larsen (Inactive)
                  Reporter:
                  sla Staffan Larsen (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: