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

May need workaround for C compiler bug compiling awt file awt_Mlib.c on Sol11 X86

    XMLWordPrintable

Details

    • beta
    • generic
    • generic

    Description

      Compiling the j2se on Solaris 11 X86 can cause a compiler failure:

      ube: error: Assert has been violated at '/set/venus/builds.intel-S2/nightly.Thu/intel-S2/lang/ube/opt/src/cfg.c 4133'.
      cc: ube failed for ../../../src/solaris/native/sun/awt/awt_Mlib.c
      gnumake[3]: *** [../../../build/solaris-i586/tmp/sun/sun.awt/awt/obj/awt_Mlib.o] Error 2

      We may want to workaround this compiler bug (6343678) temporarily. I suspect it will be fixed in a compiler patch very soon, but if not people could easily run into this problem.

      Adding a -g to the compile line fixes it.

      See the suggested fix, which adds the ability to add specific compiler options per .o file, a nice feature to have anyway.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: