JDK-8022263: use same Clang warnings on BSD as on Linux - Any *BSD testers?

Fedor fedor.burdun at azul.com
Thu Feb 20 15:41:23 UTC 2020


macOS build also has been checked:

xcodebuild -version
Xcode 4.6.2
Build version 4H1003

Toolchain: gcc (GNU Compiler Collection)
C Compiler:  Version 4.2.1 (at /usr/bin/gcc)
C++ Compiler:  Version 4.2.1 (at /usr/bin/g++)


On 20.02.2020 17:48, Fedor wrote:
> Hello Andrew,
> 
> As far as I can see OpenJDK 8u build is broken for *BSD targets at the 
> time being.
> At least I succeed to build JDK for NetBSD 6 only after a bunch of 
> changes in ./make ./hotspot/make and jdk/make.
> Used compiler is x86_64--netbsd-gcc (NetBSD nb2 20111202) 4.5.3
> 
> I've checked the modifications and can say that mentioned JDK-8022263 
> changeset 
> (http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/d16be2b85802) doesn't 
> bring new compilation problems for *BSD using GCC.
> 
> Thanks,
> Fedor
> 
> 
> On 20.02.2020 8:36, Andrew Hughes wrote:
>> I'm looking at https://bugs.openjdk.java.net/browse/JDK-8022263, which
>> is a clean backport and a pre-requisite for some later changes.
>>
>> This is a fairly simple patch, basically synchronising the warning logic
>> with the GNU/Linux platform. The patch builds fine with GCC 7 on
>> GNU/Linux, but it would be good if someone could check these additional
>> flags don't break the build on *BSD.
>>
>> Generally, it'd also be good to know who is testing 8u on which
>> platforms for fixes such as this.
>>
>> Thanks,
>>



More information about the jdk8u-dev mailing list