Re: build failing on Mac

2016-06-20 Thread Pete Brunet
Thanks Daniel!  Bookmarked.

On 6/20/16 8:18 AM, Daniel Fuchs wrote:
> Hi Pete,
>
> On 20/06/16 13:24, Pete Brunet wrote:
>> Thanks Daniel, I will give it a try.  I've not been having luck recently
>> finding old versions of xcode.  Any thoughts on the best place to
>> find it?
>
> Apparently this is the place where you can get it:
> https://developer.apple.com/downloads/index.action
>
> cheers,
>
> -- daniel
>
>>
>> Pete
>>
>> On 6/20/16 4:30 AM, Daniel Fuchs wrote:
>>> Hi Pete,
>>>
>>> I had the same problem recently - and solved it by installing
>>> Xcode 6.3 - which I was told is the officially supported version.
>>>
>>> best regards,
>>>
>>> -- daniel
>>>
>>> On 18/06/16 01:20, Pete Brunet wrote:
 I haven't done a full build in around a month, but just pulled (tpull
 -u) / cleaned / reconfigured and got this on my Mac:

 ...
 Creating gtestLauncher from 1 file(s)
 error: unknown warning option
 '-Wno-tautological-undefined-compare'; did
 you mean '-Wno-tautological-compare'?
 [-Werror,-Wunknown-warning-option]
 error: unknown warning option
 '-Wno-tautological-undefined-compare'; did
 you mean '-Wno-tautological-compare'?
 [-Werror,-Wunknown-warning-option]
 make[4]: ***
 [/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/gtest-all.o]


 Error 1
 make[4]: *** Waiting for unfinished jobs
 make[4]: ***
 [/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/gtestMain.o]


 Error 1
 error: unknown warning option
 '-Wno-tautological-undefined-compare'; did
 you mean '-Wno-tautological-compare'?
 [-Werror,-Wunknown-warning-option]
 make[4]: ***
 [/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/test_os.o]


 Error 1
 Compiling 390 files for BUILD_INTERIM_jdk.compiler
 make[3]: *** [variant-server-libs] Error 2
 make[2]: *** [hotspot] Error 2
 ...
 === Output from failing command(s) repeated here ===
 * For target hotspot_variant-server_libjvm_gtest_objs_gtest-all.o:
 error: unknown warning option
 '-Wno-tautological-undefined-compare'; did
 you mean '-Wno-tautological-compare'?
 [-Werror,-Wunknown-warning-option]
 * For target hotspot_variant-server_libjvm_gtest_objs_gtestMain.o:
 * For target hotspot_variant-server_libjvm_gtest_objs_test_os.o:
 error: unknown warning option
 '-Wno-tautological-undefined-compare'; did
 you mean '-Wno-tautological-compare'?
 [-Werror,-Wunknown-warning-option]
 === End of repeated output ===
 ...

 Java -version: 1.8.0-b132
 XCode is 6.2

 configure output ends with this:
 
 The existing configuration has been successfully updated in
 /Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release


 using configure arguments '--with-sdk-name=macosx10.9'.

 Configuration summary:
 * Debug level:release
 * HS debug level: product
 * JDK variant:normal
 * JVM variants:   server
 * OpenJDK target: OS: macosx, CPU architecture: x86, address
 length: 64
 * Version string: 9-internal+0-2016-06-17-185920.petebrunet.client
 (9-internal)

 Tools summary:
 * Boot JDK:   java version "1.8.0" Java(TM) SE Runtime Environment
 (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70,
 mixed mode)  (at
 /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home)
 * Toolchain:  clang (clang/LLVM from Xcode 6.2)
 * C Compiler: Version 6.0 (at /usr/bin/clang)
 * C++ Compiler:   Version 6.0 (at /usr/bin/clang++)

 Any ideas on how I should proceed or other information that is needed?

 TiA, Pete

>>>
>>
>



Re: build failing on Mac

2016-06-20 Thread Daniel Fuchs

Hi Pete,

On 20/06/16 13:24, Pete Brunet wrote:

Thanks Daniel, I will give it a try.  I've not been having luck recently
finding old versions of xcode.  Any thoughts on the best place to find it?


Apparently this is the place where you can get it:
https://developer.apple.com/downloads/index.action

cheers,

-- daniel



Pete

On 6/20/16 4:30 AM, Daniel Fuchs wrote:

Hi Pete,

I had the same problem recently - and solved it by installing
Xcode 6.3 - which I was told is the officially supported version.

best regards,

-- daniel

On 18/06/16 01:20, Pete Brunet wrote:

I haven't done a full build in around a month, but just pulled (tpull
-u) / cleaned / reconfigured and got this on my Mac:

...
Creating gtestLauncher from 1 file(s)
error: unknown warning option '-Wno-tautological-undefined-compare'; did
you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wno-tautological-undefined-compare'; did
you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
make[4]: ***
[/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/gtest-all.o]

Error 1
make[4]: *** Waiting for unfinished jobs
make[4]: ***
[/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/gtestMain.o]

Error 1
error: unknown warning option '-Wno-tautological-undefined-compare'; did
you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
make[4]: ***
[/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/test_os.o]

Error 1
Compiling 390 files for BUILD_INTERIM_jdk.compiler
make[3]: *** [variant-server-libs] Error 2
make[2]: *** [hotspot] Error 2
...
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_gtest_objs_gtest-all.o:
error: unknown warning option '-Wno-tautological-undefined-compare'; did
you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
* For target hotspot_variant-server_libjvm_gtest_objs_gtestMain.o:
* For target hotspot_variant-server_libjvm_gtest_objs_test_os.o:
error: unknown warning option '-Wno-tautological-undefined-compare'; did
you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
=== End of repeated output ===
...

Java -version: 1.8.0-b132
XCode is 6.2

configure output ends with this:

The existing configuration has been successfully updated in
/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release

using configure arguments '--with-sdk-name=macosx10.9'.

Configuration summary:
* Debug level:release
* HS debug level: product
* JDK variant:normal
* JVM variants:   server
* OpenJDK target: OS: macosx, CPU architecture: x86, address length: 64
* Version string: 9-internal+0-2016-06-17-185920.petebrunet.client
(9-internal)

Tools summary:
* Boot JDK:   java version "1.8.0" Java(TM) SE Runtime Environment
(build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70,
mixed mode)  (at
/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home)
* Toolchain:  clang (clang/LLVM from Xcode 6.2)
* C Compiler: Version 6.0 (at /usr/bin/clang)
* C++ Compiler:   Version 6.0 (at /usr/bin/clang++)

Any ideas on how I should proceed or other information that is needed?

TiA, Pete









Re: build failing on Mac

2016-06-20 Thread Pete Brunet
Thanks Daniel, I will give it a try.  I've not been having luck recently
finding old versions of xcode.  Any thoughts on the best place to find it?

Pete

On 6/20/16 4:30 AM, Daniel Fuchs wrote:
> Hi Pete,
>
> I had the same problem recently - and solved it by installing
> Xcode 6.3 - which I was told is the officially supported version.
>
> best regards,
>
> -- daniel
>
> On 18/06/16 01:20, Pete Brunet wrote:
>> I haven't done a full build in around a month, but just pulled (tpull
>> -u) / cleaned / reconfigured and got this on my Mac:
>>
>> ...
>> Creating gtestLauncher from 1 file(s)
>> error: unknown warning option '-Wno-tautological-undefined-compare'; did
>> you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
>> error: unknown warning option '-Wno-tautological-undefined-compare'; did
>> you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
>> make[4]: ***
>> [/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/gtest-all.o]
>>
>> Error 1
>> make[4]: *** Waiting for unfinished jobs
>> make[4]: ***
>> [/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/gtestMain.o]
>>
>> Error 1
>> error: unknown warning option '-Wno-tautological-undefined-compare'; did
>> you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
>> make[4]: ***
>> [/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/test_os.o]
>>
>> Error 1
>> Compiling 390 files for BUILD_INTERIM_jdk.compiler
>> make[3]: *** [variant-server-libs] Error 2
>> make[2]: *** [hotspot] Error 2
>> ...
>> === Output from failing command(s) repeated here ===
>> * For target hotspot_variant-server_libjvm_gtest_objs_gtest-all.o:
>> error: unknown warning option '-Wno-tautological-undefined-compare'; did
>> you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
>> * For target hotspot_variant-server_libjvm_gtest_objs_gtestMain.o:
>> * For target hotspot_variant-server_libjvm_gtest_objs_test_os.o:
>> error: unknown warning option '-Wno-tautological-undefined-compare'; did
>> you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
>> === End of repeated output ===
>> ...
>>
>> Java -version: 1.8.0-b132
>> XCode is 6.2
>>
>> configure output ends with this:
>> 
>> The existing configuration has been successfully updated in
>> /Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release
>>
>> using configure arguments '--with-sdk-name=macosx10.9'.
>>
>> Configuration summary:
>> * Debug level:release
>> * HS debug level: product
>> * JDK variant:normal
>> * JVM variants:   server
>> * OpenJDK target: OS: macosx, CPU architecture: x86, address length: 64
>> * Version string: 9-internal+0-2016-06-17-185920.petebrunet.client
>> (9-internal)
>>
>> Tools summary:
>> * Boot JDK:   java version "1.8.0" Java(TM) SE Runtime Environment
>> (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70,
>> mixed mode)  (at
>> /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home)
>> * Toolchain:  clang (clang/LLVM from Xcode 6.2)
>> * C Compiler: Version 6.0 (at /usr/bin/clang)
>> * C++ Compiler:   Version 6.0 (at /usr/bin/clang++)
>>
>> Any ideas on how I should proceed or other information that is needed?
>>
>> TiA, Pete
>>
>



Re: RFR: 8159364: Gtest unit tests does not support PCH

2016-06-20 Thread Erik Helin
On 2016-06-14, Erik Joelsson wrote:
> Do you really need to exclude gTestLauncher.cpp from precompiled? That file
> should be excluded from compilation already.

No, you are right, I don't need to re-exclude gTestLauncher.cpp
(verified by running JPRT). I will remove gTestLauncher.cpp from
PRECOMPILED_HEADER_EXCLUDE before I push.

> Otherwise looks good.

Thanks,
Erik

> /Erik
> 
> On 2016-06-14 02:50, Erik Helin wrote:
> >Hi all,
> >
> >this patch adds support for pre-compiled headers (PCH) to the gtest unit
> >tests.
> >
> >Bug:
> >https://bugs.openjdk.java.net/browse/JDK-8159364
> >
> >Webrev:
> >http://cr.openjdk.java.net/~ehelin/8159364/00/
> >
> >Testing:
> >- JPRT
> >
> >Thanks,
> >Erik
> 


Re: build failing on Mac

2016-06-20 Thread Daniel Fuchs

Hi Pete,

I had the same problem recently - and solved it by installing
Xcode 6.3 - which I was told is the officially supported version.

best regards,

-- daniel

On 18/06/16 01:20, Pete Brunet wrote:

I haven't done a full build in around a month, but just pulled (tpull
-u) / cleaned / reconfigured and got this on my Mac:

...
Creating gtestLauncher from 1 file(s)
error: unknown warning option '-Wno-tautological-undefined-compare'; did
you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wno-tautological-undefined-compare'; did
you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
make[4]: ***
[/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/gtest-all.o]
Error 1
make[4]: *** Waiting for unfinished jobs
make[4]: ***
[/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/gtestMain.o]
Error 1
error: unknown warning option '-Wno-tautological-undefined-compare'; did
you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
make[4]: ***
[/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/test_os.o]
Error 1
Compiling 390 files for BUILD_INTERIM_jdk.compiler
make[3]: *** [variant-server-libs] Error 2
make[2]: *** [hotspot] Error 2
...
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_gtest_objs_gtest-all.o:
error: unknown warning option '-Wno-tautological-undefined-compare'; did
you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
* For target hotspot_variant-server_libjvm_gtest_objs_gtestMain.o:
* For target hotspot_variant-server_libjvm_gtest_objs_test_os.o:
error: unknown warning option '-Wno-tautological-undefined-compare'; did
you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
=== End of repeated output ===
...

Java -version: 1.8.0-b132
XCode is 6.2

configure output ends with this:

The existing configuration has been successfully updated in
/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release
using configure arguments '--with-sdk-name=macosx10.9'.

Configuration summary:
* Debug level:release
* HS debug level: product
* JDK variant:normal
* JVM variants:   server
* OpenJDK target: OS: macosx, CPU architecture: x86, address length: 64
* Version string: 9-internal+0-2016-06-17-185920.petebrunet.client
(9-internal)

Tools summary:
* Boot JDK:   java version "1.8.0" Java(TM) SE Runtime Environment
(build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70,
mixed mode)  (at
/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home)
* Toolchain:  clang (clang/LLVM from Xcode 6.2)
* C Compiler: Version 6.0 (at /usr/bin/clang)
* C++ Compiler:   Version 6.0 (at /usr/bin/clang++)

Any ideas on how I should proceed or other information that is needed?

TiA, Pete