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

jdk9 owindows-i586: freetypeScaler.c: error C2220: warning treated as error - no 'object' file generated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d

      Description

      in today's jdk9 b89 promotion build:

      http://release-jdk9.us.oracle.com:8080/hudson/job/9-2-build-owindows-i586-cygwin/2487/console
      http://release-jdk9.us.oracle.com:8080/hudson/job/9-2-build-owindows-i586-cygwin/2486/console

      (( (/usr/bin/bash /cygdrive/c/re/jdk9/3704/common/bin/logger.sh /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libsplashscreen/gifalloc.obj.log /cygdrive/c/re/jdk9/3704/build/windows-i586/configure-support/bin/fixpath.exe -c /cygdrive/c/progra~2/micros~1.0/vc/bin/cl -I/cygdrive/c/re/jdk9/3704/jdk/src/java.desktop/share/native/libsplashscreen/giflib -DSPLASHSCREEN -DPNG_NO_MMX_CODE -DPNG_ARM_NEON_OPT=0 -I/cygdrive/c/re/jdk9/3704/jdk/src/java.desktop/share/native/libjavajpeg -I/cygdrive/c/re/jdk9/3704/jdk/src/java.desktop/share/native/libsplashscreen -I/cygdrive/c/re/jdk9/3704/jdk/src/java.desktop/share/native/libjavajpeg -I/cygdrive/c/re/jdk9/3704/jdk/src/java.desktop/share/native/libsplashscreen/libpng -I/cygdrive/c/re/jdk9/3704/jdk/src/java.desktop/windows/native/libsplashscreen -I/cygdrive/c/re/jdk9/3704/jdk/src/java.base/share/native/libzip/zlib-1.2.8 -I/cygdrive/c/re/jdk9/3704/jdk/src/java.base/windows/native/libjava -I/cygdrive/c/re/jdk9/3704/jdk/src/java.base/share/native/libjava -DWITH_WIN32 -I/cygdrive/c/re/jdk9/3704/jdk/src/java.base/share/native/libzip/zlib-1.2.8 -nologo -Zi -MD -Zc:wchar_t- -W3 -wd4800 -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_WINSOCK_DEPRECATED_NO_WARNINGS -DWIN32 -DIAL -D_X86_ -Dx86 -D_LITTLE_ENDIAN -DWINDOWS -DARCH='"i586"' -Di586 -DNDEBUG -DRELEASE='"1.9.0-ea"' -I/cygdrive/c/re/jdk9/3704/jdk/src/java.base/share/native/include -I/cygdrive/c/re/jdk9/3704/jdk/src/java.base/windows/native/include -I/cygdrive/c/re/jdk9/3704/jdk/src/java.base/windows/native/include -I/cygdrive/c/re/jdk9/3704/jdk/src/java.desktop/share/native/libjavajpeg -wd4018 -wd4244 -wd4267 -WX -O1 -I/cygdrive/c/progra~2/micros~1.0/vc/include -I/cygdrive/c/progra~2/micros~1.0/vc/atlmfc/include -I/cygdrive/c/progra~2/window~4/8.1/include/shared -I/cygdrive/c/progra~2/window~4/8.1/include/um -I/cygdrive/c/progra~2/window~4/8.1/include/winrt -DTHIS_FILE='"gifalloc.c"' -c -showIncludes -Fd/cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libsplashscreen/gifalloc.pdb -Fm/cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libsplashscreen/gifalloc.map -Fo/cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libsplashscreen/gifalloc.obj /cygdrive/c/re/jdk9/3704/jdk/src/java.desktop/share/native/libsplashscreen/giflib/gifalloc.c && /usr/bin/rm -f /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libsplashscreen/gifalloc.obj.log) || (exitcode=$? && /usr/bin/mv /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libsplashscreen/gifalloc.obj.log /cygdrive/c/re/jdk9/3704/build/windows-i586/make-support/failure-logs/BUILD_LIBSPLASHSCREEN_gifalloc.c.log && exit $exitcode) ) ; echo $? > /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libsplashscreen/gifalloc.d.exitvalue) | /usr/bin/tee /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libsplashscreen/gifalloc.d.raw | /usr/bin/grep -v -e "^Note: including file:" -e "^gifalloc.c$" || test "$?" = "1" ; exit `cat /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libsplashscreen/gifalloc.d.exitvalue` ; /usr/bin/rm -f /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libsplashscreen/gifalloc.d.exitvalue ; \\
      c:/re/jdk9/3704/jdk/src/java.desktop/share/native/libfontmanager/freetypeScaler.c(106) : error C2220: warning treated as error - no 'object' file generated
      c:/re/jdk9/3704/jdk/src/java.desktop/share/native/libfontmanager/freetypeScaler.c(106) : warning C4101: 'stream' : unreferenced local variable
      (/usr/bin/echo /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libfontmanager/sunFont.obj: \\ ; /usr/bin/sed -e '/^Note: including file:/!d' -e 's|Note: including file: *||' -e 's|\\|/|g' -e 's|^\([a-zA-Z]\):|/cygdrive/\1|g' -e '\|/cygdrive/c/re/jdk9/3704|I !d' -e 's|$| \\|g' /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libfontmanager/sunFont.d.raw) | /usr/bin/sort -u > /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libfontmanager/sunFont.d ; /usr/bin/sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$//' -e 's/^[ ]*//' -e '/^$/ d' -e 's/$/ :/' /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libfontmanager/sunFont.d > /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libfontmanager/sunFont.d.targets
      (/usr/bin/echo /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libsplashscreen/compress.obj: \\ ; /usr/bin/sed -e '/^Note: including file:/!d' -e 's|Note: including file: *||' -e 's|\\|/|g' -e 's|^\([a-zA-Z]\):|/cygdrive/\1|g' -e '\|/cygdrive/c/re/jdk9/3704|I !d' -e 's|$| \\|g' /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libsplashscreen/compress.d.raw) | /usr/bin/sort -u > /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libsplashscreen/compress.d ; /usr/bin/sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$//' -e 's/^[ ]*//' -e '/^$/ d' -e 's/$/ :/' /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libsplashscreen/compress.d > /cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libsplashscreen/compress.d.targets
      make[3]: *** [/cygdrive/c/re/jdk9/3704/build/windows-i586/support/native/java.desktop/libfontmanager/freetypeScaler.obj] Error 2
      make[3]: *** Waiting for unfinished jobs....

      ws: /net/scanas412.us.oracle.com/export/java_re3/jdk/9/all/RE/b89_2015-10-28-1601_3704

      changes vs b88:

      jdk/src/java.desktop/share/native/libfontmanager/freetypeScaler.c
        changeset: 12900:9b0e9d8ccccf
        user: psadhukhan
        date: Mon Oct 05 15:36:43 2015 +0300
        summary: 8132985: Crash in freetypescaler.c due to double free

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              psadhukhan Prasanta Sadhukhan
              Reporter:
              diazhou Jerry Zhou (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: