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

mapfile use check in jdk/make/common/shared/Defs-macosx.gmk is throwing '/bin/sh: -g: command not found'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 9
    • 8
    • infrastructure
    • x86
    • os_x

      The macro NM is undefined in the MacOS build, resulting in the following bogus warning in the build log:

      Checking for mapfile use in: /opt/jprt/tbell/8019470/build/macosx-x86_64-normal-server-fastdebug/install/lib/libsettings.dylib
      /bin/sh: -g: command not found
      WARNING: File was not built with a mapfile: /opt/jprt/tbell/8019470/build/macosx-x86_64-normal-server-fastdebug/install/lib/libsettings.dylib

            Unassigned Unassigned
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: