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

FASTDEBUG=true should automatically do a VARIANT=DBG

XMLWordPrintable

    • b31
    • generic
    • generic

        .. and the reason all this happened is because I didn't set
        VARIANT=DBG along with FASTDEBUG=true during partial rebuild.

        It's all working now, sorry about the confusion.

        May be it'd be good idea to set VARIANT to DBG if FASTDEBUG is set,
        since it's clearly intended for debug build, and may lead some (like
        myself) to confusion...

        Thanks,
          Dmitri


      On Fri, Mar 18, 2005 at 03:57:29PM -0800, Dmitri Trembovetski wrote:
       >
       > Hi Kelly,
       >
       > I think I've run into an important bug with fastdebug build.
       >
       > I'm building j2se on windows-i586.
       >
       > So, first I built the whole j2se workspace using fastedebug
       > target.
       >
       > Then I modified one of java2d native cpp files, and
       > recompiled awt.dll from make/sun/awt, with FASTDEBUG=true
       > flag set (since there's no fastdebug target in sun/awt), which
       > compiled and linked with no problems.
       >
       > However, when I tried to run the resulting binary I've immediately
       > run into awt debug assert on 'delete': debug_mem.c:118.
       >
       > I think the cause of this is that for some reason the partial
       > rebuild from make/sun/awt didn't set -DDEBUG and a bunch of other
       > important defines, which were supposed to be used with fastdebug
       > build.
       >
      ###@###.### 2005-03-19 00:09:46 GMT

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: