Fail to build on windows 'g1ParScanThreadState.cpp'

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Sun Nov 29 21:52:56 UTC 2015


Hi Boaz,
this:

http://mail.openjdk.java.net/pipermail/build-dev/2015-April/014773.html

and this:

http://mail.openjdk.java.net/pipermail/build-dev/2015-August/015418.html

Seem related - you might find some solutions there to either workaround 
the issue, or to disable warnings as errors for real.

Maurizio


On 28/11/15 18:51, Boaz Nahum wrote:
> Hi.
> (Please correct me if I need to send to different group)
> I'm building valhalla on daily basis, lately I have a little problem with
> g1ParScanThreadState.cpp
>
> I tried to configure with '--disable-warnings-as-errors' - no luck
>
> Compiling 72 files for java.sql
> Compiling 281 files for java.xml.crypto
> F:\Dev\JDK8Build\valhalla\hotspot\src\share\vm\gc\g1\g1ParScanThreadState.cpp(46)
> : warning C4355: 'this' : used in base member initializer list
> Compiling 50 files for java.sql.rowset
> NMAKE : fatal error U1077: 'D:\ProgFiles\VS10.0\VC\BIN\amd64\cl.exe' :
> return code '0x2'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: 'D:\ProgFiles\VS10.0\VC\BIN\amd64\nmake.EXE' :
> return code '0x2'
> Stop.
> Makefile:230: recipe for target 'generic_build2' failedmake[5]: ***
> [generic_build2] Error 2
>
> Please note that I tried temporarily replacing 'this' with 'NULL' - I just
> got the same error in other file. So I gave up:
>
> Thank
> Boaz



More information about the valhalla-dev mailing list