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

AIX: link libjvm.so with -bernotok to detect missing symbols at build time and suppress warning 1540-1639

    Details

    • Subcomponent:
    • Resolved In Build:
      b47
    • OS:
      aix

      Backports

        Description

        '-bernotok' is the AIX linkers equivalent to Linux ld's '-z defs'.

        It's better to detect missing symbols already at build time.

        Also supress the warning "1540-1639 (I) The behavior of long type bit fields has changed from previous releases of this compiler. In 64-bit mode, long type bit fields now default to long, not int."

        The warning is only informational (i.e. "(I)") but very annoying because it is printed for the bit-fields in "src/share/vm/services/mallocTracker.hpp" which is included in virtually every compilation unit.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  simonis Volker Simonis
                  Reporter:
                  simonis Volker Simonis
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: