Build failure on windows 'freetypeScaler.c'

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Sun Dec 20 00:02:07 UTC 2015


On 2015-12-19 22:04, Boaz Nahum wrote:
> 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'

If you have build problems with no local changes that can have caused 
it, the sledgehammers to use (in increasing brutality) are:
1) make clean
2) make dist-clean
This will remove your configuration. "make print-configuration" before 
will give you the command line you used for configure, if you need to be 
reminded of it.
3) remove the forest and re-clone it.

My guess is that your problems can be solved by 1), but if not, try with 
a bigger hammer.

/Magnus

> 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