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

Remove unsupported xlc16 compile options on aix

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b05
    • CPU:
      ppc
    • OS:
      aix

      Description

      When compiling jdk/jdk on AIX (using current xlc16 / xlclang) we run into these warnings :

      warning: 1540-5200 The option "langlvl=c99vla" is not supported. :
      This option controls variable length arrays / Enables or disables support for C99-type variable length arrays.
      warning: 1540-5200 The option "langlvl=noredefmac" is not supported. :
      Controls whether a macro can be redefined without a prior #undef or undefine() statement.

      see https://www.ibm.com/support/knowledgecenter/SSGH3R_16.1.0/com.ibm.compilers.aix.doc/compiler.pdf


      The mentioned options are only available with the legacy xlc (non xlclang).
      I propose to remove these options, because xlc16 / xlclang is now the default compiler.

        Attachments

          Activity

            People

            Assignee:
            mbaesken Matthias Baesken
            Reporter:
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: