Re: 8u build failure win7/cygwin64

2015-04-29 Thread Semyon Sadetsky

Hi Magnus,

This is it:
...
 [14] VERSIONINFO_RESOURCE := 
/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/jdk/src/windows/resource/version.rc
 [15] RC_FLAGS := -nologo -l 0x409 -r -d 
JDK_BUILD_ID=1.8.0-internal-fastdebug-ssadetskrussadetsk_2015_04_29_10_24-b00 
-d JDK_COMPANY=Oracle Corporation -d JDK_COMPONENT=Java(TM) Platform 
SE binary -d JDK_VER=8.0.0.0 -d JDK_COPYRIGHT=Copyright \xA9 2015 
-d JDK_NAME=Java(TM) Platform SE 8  -d JDK_FVER=8,0,0,0 -D 
JDK_FNAME=jsdt.dll -D JDK_INTERNAL_NAME=jsdt -D JDK_FTYPE=0x2L
 [16] OBJECT_DIR := 
/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libjsdt

 [17] DEBUG_SYMBOLS := true
SetupNativeCompilation(BUILD_LIBINSTRUMENT)
 [2] LIBRARY := instrument
 [3] OUTPUT_DIR := 
/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/bin
 [4] SRC := 
/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/jdk/src/share/instrument 
/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/jdk/src/windows/native/java/io 
/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/jdk/src/windows/instrument
 [5] INCLUDE_FILES := EncodingSupport.c EncodingSupport_md.c 
FileSystemSupport_md.c InstrumentationImplNativeMethods.c 
InvocationAdapter.c JarFacade.c JPLISAgent.c JPLISAssert.c 
JavaExceptions.c PathCharsValidator.c Reentrancy.c Utilities.c 
canonicalize_md.c

 [6] LANG := C
 [7] OPTIMIZATION := LOW
 [8] CFLAGS := -nologo -Zi -Zc:wchar_t- -W3 -wd4800 -D_STATIC_CPPLIB 
-D_DISABLE_DEPRECATE_STATIC_CPPLIB -DWIN32_LEAN_AND_MEAN 
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -DIAL 
-D_AMD64_ -Damd64 -D_LITTLE_ENDIAN -DWINDOWS -DDEBUG -DARCH='amd64' 
-Damd64 -DRELEASE='1.8.0-internal-fastdebug' 
-I/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/include 
-I/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/include/windows 
-I/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/jdk/src/share/javavm/export 
-I/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/jdk/src/windows/javavm/export 
-I/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/jdk/src/share/native/common 
-I/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/jdk/src/windows/native/common 
-I/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/gensrc_headers 
-I/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/jdk/src/share/instrument 
-I/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/jdk/src/windows/instrument 
-I/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/jdk/src/share/bin 
-Dstrcasecmp=stricmp

 [9] CFLAGS_debug := -DJPLIS_LOGGING
 [10] CFLAGS_release := -DNO_JPLIS_LOGGING
 [11] MAPFILE := 
/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/jdk/make/mapfiles/libinstrument/mapfile-vers
 [12] LDFLAGS := -nologo -opt:ref -incremental:no -debug -dll 
-libpath:/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/lib 
/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/jli_static.lib 
/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libjava/java.lib 
-export:Agent_OnAttach advapi32.lib

 [13] LDFLAGS_linux :=
 [14] LDFLAGS_solaris :=
 [15] LDFLAGS_macosx := -Xlinker -all_load 
/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libjli_static.a 
-framework Cocoa -framework Security -framework ApplicationServices

 [16] LDFLAGS_SUFFIX :=
 [17] LDFLAGS_SUFFIX_macosx := -liconv
 [18] LDFLAGS_SUFFIX_solaris := -L 
/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/bin/jli 
-ljli -lc
 [19] LDFLAGS_SUFFIX_linux := -L 
/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/bin/jli 
-ljli
 [20] LDFLAGS_SUFFIX_aix := 
-L/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs 
-ljli_static
 [21] VERSIONINFO_RESOURCE := 
/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/jdk/src/windows/resource/version.rc
 [22] RC_FLAGS := -nologo -l 0x409 -r -d 
JDK_BUILD_ID=1.8.0-internal-fastdebug-ssadetskrussadetsk_2015_04_29_10_24-b00 
-d JDK_COMPANY=Oracle Corporation -d JDK_COMPONENT=Java(TM) Platform 
SE binary -d JDK_VER=8.0.0.0 -d JDK_COPYRIGHT=Copyright \xA9 2015 
-d JDK_NAME=Java(TM) Platform SE 8  -d JDK_FVER=8,0,0,0 -D 
JDK_FNAME=instrument.dll -D JDK_INTERNAL_NAME=instrument -D 
JDK_FTYPE=0x2L
 [23] OBJECT_DIR := 

Re: 8u build failure win7/cygwin64

2015-04-29 Thread Magnus Ihse Bursie

On 2015-04-29 09:50, Semyon Sadetsky wrote:

Hello,

Please advise what is the source of the next issue:
(...libfdlibm/e_acos.obj file is really absent)


Hi Semyon,

Please re-run with make LOG=debug JOBS=1 to get a better log prior to 
the failure.


/Magnus




## Starting jdk
Importing CORBA classes.jar
Importing CORBA src.zip
Importing CORBA bin.zip
Importing JAXP classes.jar
Importing JAXP src.zip
Importing JAXWS src.zip
Importing JAXWS classes.jar
Importing LANGTOOLS src.zip
Importing LANGTOOLS classes.jar
Generating charsetmapping classes
Generating buffer classes
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.40219.01 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

Compiling 161 files for BUILD_TOOLS
Generating exceptions classes
genSocketOptionRegistry.c
Microsoft (R) Incremental Linker Version 10.00.40219.01
Copyright (C) Microsoft Corporation.  All rights reserved.

Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying and cleaning 53 properties
Compiling 521 properties into resource bundles
Creating sun/util/LocaleDataMetaInfo.java from 421 found resources.
Generating sun/misc/Version.java
Generating sun/misc/Version.java compact1
Generating sun/misc/Version.java compact3
Generating sun/misc/Version.java compact2
Aliases: Table size 1024 (10 bits), shift 0, max chain depth 3
Classes: Table size 32 (5 bits), shift 1, max chain depth 3
Cache: Table size 32 (5 bits), shift 1, max chain depth 3
Generating beaninfo
Generating Nimbus source files
[Error] encoded value was less than 0: encode(-8.326673E-17, 5.0, 
11.0, 16.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 
15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 
15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 
15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 
15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 
15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 
15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)

[Error] Encountered Infinity: encode(-0.00877193, 0.0, 7.0, 7.0)
Generating HTML DTD file
Compiling 4 files for BUILD_BREAKITERATOR
[Parsed DTD html32 in 159ms]
Compiling 9722 files for BUILD_JDK
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Compiling 235 files for BUILD_SECURITY
Compiling 2 files for BUILD_ACCESSBRIDGE_64
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Could not start process!  Failed with error 2: The system cannot find 
the file specified.


lib/CoreLibraries.gmk:37: recipe for target 
'/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_acos.obj' 
failed
make[2]: *** 
[/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_acos.obj] 
Error 1

make[2]: *** Waiting for unfinished jobs
Could not start process!  Failed with error 2: The system cannot find 
the file specified.


Could not start process!  Failed with error 2: The system cannot find 
the file specified.


lib/CoreLibraries.gmk:37: recipe for target 
'/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_atan2.obj' 
failed
make[2]: *** 
[/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_atan2.obj] 
Error 1
lib/CoreLibraries.gmk:37: recipe for target 
'/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_asin.obj' 
failed
make[2]: *** 
[/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_asin.obj] 
Error 1

BuildJdk.gmk:70: recipe for target 'libs-only' failed
make[1]: *** [libs-only] Error 2
/home/ssadetsk/projects/jdk8/jdk8u-dev//make/Main.gmk:115: recipe for 
target 'jdk-only' failed

make: *** [jdk-only] 

Re: 8u build failure win7/cygwin64

2015-04-29 Thread gary.ad...@oracle.com
I've found that disable ccache fixes problems building e_acos ( the 
first native file in the jdk portion of the build).


On 4/29/15 4:23 AM, Magnus Ihse Bursie wrote:

On 2015-04-29 09:50, Semyon Sadetsky wrote:

Hello,

Please advise what is the source of the next issue:
(...libfdlibm/e_acos.obj file is really absent)


Hi Semyon,

Please re-run with make LOG=debug JOBS=1 to get a better log prior 
to the failure.


/Magnus




## Starting jdk
Importing CORBA classes.jar
Importing CORBA src.zip
Importing CORBA bin.zip
Importing JAXP classes.jar
Importing JAXP src.zip
Importing JAXWS src.zip
Importing JAXWS classes.jar
Importing LANGTOOLS src.zip
Importing LANGTOOLS classes.jar
Generating charsetmapping classes
Generating buffer classes
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.40219.01 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

Compiling 161 files for BUILD_TOOLS
Generating exceptions classes
genSocketOptionRegistry.c
Microsoft (R) Incremental Linker Version 10.00.40219.01
Copyright (C) Microsoft Corporation.  All rights reserved.

Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying and cleaning 53 properties
Compiling 521 properties into resource bundles
Creating sun/util/LocaleDataMetaInfo.java from 421 found resources.
Generating sun/misc/Version.java
Generating sun/misc/Version.java compact1
Generating sun/misc/Version.java compact3
Generating sun/misc/Version.java compact2
Aliases: Table size 1024 (10 bits), shift 0, max chain depth 3
Classes: Table size 32 (5 bits), shift 1, max chain depth 3
Cache: Table size 32 (5 bits), shift 1, max chain depth 3
Generating beaninfo
Generating Nimbus source files
[Error] encoded value was less than 0: encode(-8.326673E-17, 5.0, 
11.0, 16.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 
14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 
14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 
14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 
14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 
14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 
14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 
25.0)

[Error] Encountered Infinity: encode(-0.00877193, 0.0, 7.0, 7.0)
Generating HTML DTD file
Compiling 4 files for BUILD_BREAKITERATOR
[Parsed DTD html32 in 159ms]
Compiling 9722 files for BUILD_JDK
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Compiling 235 files for BUILD_SECURITY
Compiling 2 files for BUILD_ACCESSBRIDGE_64
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Could not start process!  Failed with error 2: The system cannot find 
the file specified.


lib/CoreLibraries.gmk:37: recipe for target 
'/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_acos.obj' 
failed
make[2]: *** 
[/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_acos.obj] 
Error 1

make[2]: *** Waiting for unfinished jobs
Could not start process!  Failed with error 2: The system cannot find 
the file specified.


Could not start process!  Failed with error 2: The system cannot find 
the file specified.


lib/CoreLibraries.gmk:37: recipe for target 
'/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_atan2.obj' 
failed
make[2]: *** 
[/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_atan2.obj] 
Error 1
lib/CoreLibraries.gmk:37: recipe for target 
'/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_asin.obj' 
failed
make[2]: *** 
[/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_asin.obj] 
Error 1

BuildJdk.gmk:70: recipe for target 

Re: 8u build failure win7/cygwin64

2015-04-29 Thread Erik Joelsson

Hello Semyon,

To disable ccache explicitly, you need to run add --disable-ccache to 
the configure command line. I thought we had fixed this, but perhaps we 
still pick up ccache automatically in 8u even if it's not supported. 
Anyway, ccache is certainly not compatible with Visual Studio.


/Erik

On 2015-04-29 03:46, Semyon Sadetsky wrote:

I set CCACHE_DISABLE=1 and it still fails:

make[2]: *** 
[/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_acos.obj] 
Error 1

make[2]: *** Waiting for unfinished jobs
make[2]: *** 
[/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_atanh.obj] 
Error 1
lib/CoreLibraries.gmk:37: recipe for target 
'/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_acos.obj' 
failed
lib/CoreLibraries.gmk:37: recipe for target 
'/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_atanh.obj' 
failed
make[2]: *** 
[/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_atan2.obj] 
Error 1
lib/CoreLibraries.gmk:37: recipe for target 
'/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_atan2.obj' 
failed
lib/CoreLibraries.gmk:37: recipe for target 
'/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_asin.obj' 
failed
make[2]: *** 
[/cygdrive/c/cygwin64/home/ssadetsk/projects/jdk8/jdk8u-dev/build/windows-x86_64-normal-server-fastdebug/jdk/objs/libfdlibm/e_asin.obj] 
Error 1

BuildJdk.gmk:70: recipe for target 'libs-only' failed
make[1]: *** [libs-only] Error 2
/home/ssadetsk/projects/jdk8/jdk8u-dev//make/Main.gmk:115: recipe for 
target 'jdk-only' failed


--Semyon


On 4/29/2015 12:59 PM, gary.ad...@oracle.com wrote:
I've found that disable ccache fixes problems building e_acos ( the 
first native file in the jdk portion of the build).


On 4/29/15 4:23 AM, Magnus Ihse Bursie wrote:

On 2015-04-29 09:50, Semyon Sadetsky wrote:

Hello,

Please advise what is the source of the next issue:
(...libfdlibm/e_acos.obj file is really absent)


Hi Semyon,

Please re-run with make LOG=debug JOBS=1 to get a better log prior 
to the failure.


/Magnus




## Starting jdk
Importing CORBA classes.jar
Importing CORBA src.zip
Importing CORBA bin.zip
Importing JAXP classes.jar
Importing JAXP src.zip
Importing JAXWS src.zip
Importing JAXWS classes.jar
Importing LANGTOOLS src.zip
Importing LANGTOOLS classes.jar
Generating charsetmapping classes
Generating buffer classes
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.40219.01 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

Compiling 161 files for BUILD_TOOLS
Generating exceptions classes
genSocketOptionRegistry.c
Microsoft (R) Incremental Linker Version 10.00.40219.01
Copyright (C) Microsoft Corporation.  All rights reserved.

Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying and cleaning 53 properties
Compiling 521 properties into resource bundles
Creating sun/util/LocaleDataMetaInfo.java from 421 found resources.
Generating sun/misc/Version.java
Generating sun/misc/Version.java compact1
Generating sun/misc/Version.java compact3
Generating sun/misc/Version.java compact2
Aliases: Table size 1024 (10 bits), shift 0, max chain depth 3
Classes: Table size 32 (5 bits), shift 1, max chain depth 3
Cache: Table size 32 (5 bits), shift 1, max chain depth 3
Generating beaninfo
Generating Nimbus source files
[Error] encoded value was less than 0: encode(-8.326673E-17, 5.0, 
11.0, 16.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 
24.0, 25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 
14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 
24.0, 25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 
14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 
24.0, 25.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 
24.0, 25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 
14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 
24.0, 25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 
14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 
24.0, 25.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 
24.0, 25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 
14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 
24.0, 25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 
14.0, 15.0)
[Error] 

Re: cygwin 2.0 is unsupported

2015-04-29 Thread Erik Joelsson

Hello Sergey,

No, that wasn't known. I wasn't aware that Cygwin had bumped its version 
to 2.0. Thanks for pointing that out.


Filed: https://bugs.openjdk.java.net/browse/JDK-8079087

/Erik

On 2015-04-29 10:46, Sergey Bylokhov wrote:

Hello.
Is that known issue that current version of cygwin 2.0 [1] is 
unsupported?


configure: Your cygwin is too old. You are running 2.0.0(0.287/5/3), 
but at least cygwin 1.7 is required. Please upgrade.

configure: error: Cannot continue

[1] https://cygwin.com/ml/cygwin-announce/2015-04/msg00046.html





cygwin 2.0 is unsupported

2015-04-29 Thread Sergey Bylokhov

Hello.
Is that known issue that current version of cygwin 2.0 [1] is unsupported?

configure: Your cygwin is too old. You are running 2.0.0(0.287/5/3), but 
at least cygwin 1.7 is required. Please upgrade.

configure: error: Cannot continue

[1] https://cygwin.com/ml/cygwin-announce/2015-04/msg00046.html

--
Best regards, Sergey.



Re: aarch64: jdk9: 8078245: fails to build from source

2015-04-29 Thread David Holmes

On 30/04/2015 3:26 PM, David Holmes wrote:

Hi Nevill,


Sorry Ed!

David


Just realized this was sent to hotspot-dev (attempting bcc) but is not a
hotspot issue. With your new approach this is a build issue so cc'ing
build-dev.

The new approach seems better to me but build folk need to confirm the
placement.

Thanks,
David

On 29/04/2015 8:52 PM, Edward Nevill wrote:

On Fri, 2015-04-24 at 17:11 +1000, David Holmes wrote:

Hi Ed,

On 21/04/2015 7:16 PM, Edward Nevill wrote:

Hi,

The current jdk9 tip fails to build from source on aarch64 with the
following error message

/home/ed/build/1504/dev/build/linux-aarch64-normal-server-release/support/native/java.desktop/libsplashscreen/pngrutil.o:
In function `png_init_filter_functions':
/home/ed/build/1504/dev/jdk/src/java.desktop/share/native/libsplashscreen/libpng/pngrutil.c:3947:
undefined reference to `png_init_filter_functions_neon'
collect2: error: ld returned 1 exit status

The following webrev gets it building again.

http://cr.openjdk.java.net/~enevill/8078245/webrev.00/


Shouldn't the guard be Aarch64 specific rather than just __arm__ ? I'm
also wondering how we would get __ARM_NEON defined but not __arm__?


On arm 32 bit gcc defines the symbol __ARM_NEON if the flag -mfpu=neon
is specified. Since this is not specified as part of the OpenJDK build
the symbol is not defined and the build succeeds.

On aarch64 the symbol __ARM_NEON is always defined (the theory being
that aarch64 always supports Neon). Personally I think this is borken
as it causes builds to fail (and not just OpenJDK, several other
projects have had the same build failure - try googling the above
error message). But we are stuck with gcc as it is.

However, I don't like the above fix because it not only modifies the
jdk, it modifies an external component which is pulled into jdk, which
means every time a new revision of linpng is pulled in, the patch will
have to be applied again.

A better approach I think is to define the symbol PNG_ARM_NEON_OPT=0
in the build (only if aarch64).

The failing code in pngpriv.h reads

#ifndef PNG_ARM_NEON_OPT

...

#  if (defined(__ARM_NEON__) || defined(__ARM_NEON))  \
defined(PNG_ALIGNED_MEMORY_SUPPORTED)
# define PNG_ARM_NEON_OPT 2
#  else
# define PNG_ARM_NEON_OPT 0
#  endif
#endif

So, if we just predefine PNG_ARM_NEON=0 in the build this will have
the same effect as adding defined(__arm__) or !defined(__aarch64__)
above.

The following patch webrev does this:-

http://cr.openjdk.java.net/~enevill/8078245/webrev.01/

If you are happy with this and if I could have another reviewer I will
push this.

All the best,
Ed.




Re: aarch64: jdk9: 8078245: fails to build from source

2015-04-29 Thread David Holmes

Hi Nevill,

Just realized this was sent to hotspot-dev (attempting bcc) but is not a 
hotspot issue. With your new approach this is a build issue so cc'ing 
build-dev.


The new approach seems better to me but build folk need to confirm the 
placement.


Thanks,
David

On 29/04/2015 8:52 PM, Edward Nevill wrote:

On Fri, 2015-04-24 at 17:11 +1000, David Holmes wrote:

Hi Ed,

On 21/04/2015 7:16 PM, Edward Nevill wrote:

Hi,

The current jdk9 tip fails to build from source on aarch64 with the following 
error message

/home/ed/build/1504/dev/build/linux-aarch64-normal-server-release/support/native/java.desktop/libsplashscreen/pngrutil.o:
 In function `png_init_filter_functions':
/home/ed/build/1504/dev/jdk/src/java.desktop/share/native/libsplashscreen/libpng/pngrutil.c:3947:
 undefined reference to `png_init_filter_functions_neon'
collect2: error: ld returned 1 exit status

The following webrev gets it building again.

http://cr.openjdk.java.net/~enevill/8078245/webrev.00/


Shouldn't the guard be Aarch64 specific rather than just __arm__ ? I'm
also wondering how we would get __ARM_NEON defined but not __arm__?


On arm 32 bit gcc defines the symbol __ARM_NEON if the flag -mfpu=neon is 
specified. Since this is not specified as part of the OpenJDK build the symbol 
is not defined and the build succeeds.

On aarch64 the symbol __ARM_NEON is always defined (the theory being that 
aarch64 always supports Neon). Personally I think this is borken as it causes 
builds to fail (and not just OpenJDK, several other projects have had the same 
build failure - try googling the above error message). But we are stuck with 
gcc as it is.

However, I don't like the above fix because it not only modifies the jdk, it 
modifies an external component which is pulled into jdk, which means every time 
a new revision of linpng is pulled in, the patch will have to be applied again.

A better approach I think is to define the symbol PNG_ARM_NEON_OPT=0 in the 
build (only if aarch64).

The failing code in pngpriv.h reads

#ifndef PNG_ARM_NEON_OPT

...

#  if (defined(__ARM_NEON__) || defined(__ARM_NEON))  \
defined(PNG_ALIGNED_MEMORY_SUPPORTED)
# define PNG_ARM_NEON_OPT 2
#  else
# define PNG_ARM_NEON_OPT 0
#  endif
#endif

So, if we just predefine PNG_ARM_NEON=0 in the build this will have the same 
effect as adding defined(__arm__) or !defined(__aarch64__) above.

The following patch webrev does this:-

http://cr.openjdk.java.net/~enevill/8078245/webrev.01/

If you are happy with this and if I could have another reviewer I will push 
this.

All the best,
Ed.