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

Solaris 11 build issues using -xc99=%none

XMLWordPrintable

    • generic
    • generic

      Solaris 11 has changed some include files (e.g. /usr/include/netinet/sctp.h) such that we cannot use -xc99=%none without getting fatal compile errors:

      "/usr/include/netinet/sctp.h", line 138: null dimension: gaids_assoc_id
      "/usr/include/netinet/sctp.h", line 572: null dimension: ssfe_data

      We may need to either remove -xc99=%none, or do something to prevent this fatal build error.

      Official builds use Solaris 10, but many developers may be using Solaris 11.
      Another build failure on snv_173:

      "/usr/include/X11/Xfuncproto.h", line 136: invalid token in #define
      macro parameters: ...
      cc: acomp failed for
      ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c

            Unassigned Unassigned
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: