Build failure on windows 'freetypeScaler.c'

Boaz Nahum boaznahum at gmail.com
Sat Dec 19 21:04:58 UTC 2015


I pull the last update, since then, when running running 'make images' all
calls to
'.../build/windows-x86_64-normal-server-release/configure-support/bin/fixpath.exe'
end with 'Segmentation fault'
Thx
Boaz

/usr/bin/bash: line 1:  9888 Segmentation fault
 /cygdrive/f/Dev/JDKBuild/valhalla/build/windows-x86_64-normal-server-release/configure-support/bin/fixpath.exe
-c /cygdrive/f/Dev/JDKs/8/jdk1.8.0_20/bin/java -Xms32M -Xmx512M -cp
/cygdrive/f/Dev/JDKBuild/valhalla/build/windows-x86_64-normal-server-release/buildtools/jdk_tools_classes
build.tools.spp.Spp -Kint -KintegralType -K -Dtype=int -DType=Int
-Dfulltype=integer -DFulltype=Integer -Dstreamtype= -DStreamtype= -Dx=i
-Dmemtype=int -DMemtype=Int -DSwaptype=Int -DfromBits= -DtoBits=
-DLG_BYTES_PER_VALUE=2 -DBYTES_PER_VALUE="(1 << 2)" -DBO=B -Dswap= -DRW=R
-Kro -Da=an -DA=An -KboB <
/cygdrive/f/Dev/JDKBuild/valhalla/jdk/src/java.base/share/classes/java/nio/ByteBufferAs-X-Buffer.java.template
>
/cygdrive/f/Dev/JDKBuild/valhalla/build/windows-x86_64-normal-server-release/support/gensrc/java.base/java/nio/ByteBufferAsIntBufferRB.java.tmpGensrcBuffer.gmk:354:
recipe for target
'/cygdrive/f/Dev/JDKBuild/valhalla/build/windows-x86_64-normal-server-release/support/gensrc/java.base/java/nio/ByteBufferAsIntBufferRB.java'
failed

make[3]: ***
[/cygdrive/f/Dev/JDKBuild/valhalla/build/windows-x86_64-normal-server-release/support/gensrc/java.base/java/nio/ByteBufferAsIntBufferRB.java]
Error 139
make[3]: *** Waiting for unfinished jobs....
/usr/bin/bash: line 1:  2996 Segmentation fault
 /cygdrive/f/Dev/JDKBuild/valhalla/build/windows-x86_64-normal-server-release/configure-support/bin/fixpath.exe
-c /cygdrive/f/Dev/JDKs/8/jdk1.8.0_20/bin/java -Xms32M -Xmx512M -cp
/cygdrive/f/Dev/JDKBuild/valhalla/build/windows-x86_64-normal-server-release/buildtools/jdk_tools_classes
build.tools.spp.Spp -Klong -KintegralType -K -Dtype=long -DType=Long
-Dfulltype=long -DFulltype=Long -Dstreamtype= -DStreamtype= -Dx=l
-Dmemtype=long -DMemtype=Long -DSwaptype=Long -DfromBits= -DtoBits=
-DLG_BYTES_PER_VALUE=3 -DBYTES_PER_VALUE="(1 << 3)" -DBO=B -Dswap= -DRW=
-Krw -Da=a -DA=A -KboB <
/cygdrive/f/Dev/JDKBuild/valhalla/jdk/src/java.base/share/classes/java/nio/ByteBufferAs-X-Buffer.java.template
>
/cygdrive/f/Dev/JDKBuild/valhalla/build/windows-x86_64-normal-server-release/support/gensrc/java.base/java/nio/ByteBufferAsLongBufferB.java.tmp
GensrcBuffer.gmk:355: recipe for target
'/cygdrive/f/Dev/JDKBuild/valhalla/build/windows-x86_64-normal-server-release/support/gensrc/java.base/java/nio/ByteBufferAsLongBufferB.java'
failedmake[3]: ***
[/cygdrive/f/Dev/JDKBuild/valhalla/build/windows-x86_64-normal-server-release/support/gensrc/java.base/java/nio/ByteBufferAsLongBufferB.java]
Error 139

GensrcBuffer.gmk:356: recipe for target
'/cygdrive/f/Dev/JDKBuild/valhalla/build/windows-x86_64-normal-server-release/support/gensrc/java.base/java/nio/ByteBufferAsLongBufferRB.java'
failed
/usr/bin/bash: line 1: 10376 Segmentation fault
 /cygdrive/f/Dev/JDKBuild/valhalla/build/windows-x86_64-normal-server-release/configure-support/bin/fixpath.exe
-c /cygdrive/f/Dev/JDKs/8/jdk1.8.0_20/bin/java -Xms32M -Xmx512M -cp
/cygdrive/f/Dev/JDKBuild/valhalla/build/windows-x86_64-normal-server-release/buildtools/jdk_tools_classes
build.tools.spp.Spp -Klong -KintegralType -K -Dtype=long -DType=Long
-Dfulltype=long -DFulltype=Long -Dstreamtype= -DStreamtype= -Dx=l
-Dmemtype=long -DMemtype=Long -DSwaptype=Long -DfromBits= -DtoBits=
-DLG_BYTES_PER_VALUE=3 -DBYTES_PER_VALUE="(1 << 3)" -DBO=B -Dswap= -DRW=R
-Kro -Da=a -DA=A -KboB <
/cygdrive/f/Dev/JDKBuild/valhalla/jdk/src/java.base/share/classes/java/nio/ByteBufferAs-X-Buffer.java.template
>
/cygdrive/f/Dev/JDKBuild/valhalla/build/windows-x86_64-normal-server-release/support/gensrc/java.base/java/nio/ByteBufferAsLongBufferRB.java.tmp
make[3]: ***
[/cygdrive/f/Dev/JDKBuild/valhalla/build/windows-x86_64-normal-server-release/support/gensrc/java.base/java/nio/ByteBufferAsLongBufferRB.java]
Error 139
make/Main.gmk:103: recipe for target 'java.base-gensrc-jdk' failedmake[2]:
*** [java.base-gensrc-jdk] Error 1


On Fri, Dec 18, 2015 at 8:26 PM Maurizio Cimadamore <
maurizio.cimadamore at oracle.com> wrote:

> Fix pushed
>
> Maurizio
>
> On 18/12/15 13:16, Boaz Nahum wrote:
> > Hi
> >
> > Lately, I have this error:
> >
> >
> f:/Dev/JDKBuild/valhalla/jdk/src/java.desktop/share/native/libfontmanager/freetypeScaler.c(106)
> > : error C2220: warning treated as error - no 'object' file generated
> >
> f:/Dev/JDKBuild/valhalla/jdk/src/java.desktop/share/native/libfontmanager/freetypeScaler.c(106)
> > : warning C4101: 'stream' : unreferenced local variable
> >
> > I comment out:
> >
> > static void freeNativeResources(JNIEnv *env, FTScalerInfo* scalerInfo) {
> > //    void *stream;
> >
> >
> > And now it works.
> >
> > Thx
> > Boaz
>
>


More information about the valhalla-dev mailing list