JDK-8022263: use same Clang warnings on BSD as on Linux - Any *BSD testers?
Andrew Hughes
gnu.andrew at redhat.com
Thu Feb 27 05:27:57 UTC 2020
On 20/02/2020 15:41, Fedor wrote:
> 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,
>>>
>
Hi Fedor,
Thanks for doing this testing. It's much appreciated.
Did the build succeed on Mac OS? I expect that's the only *BSD platform
that's seen much maintenance for 8u and I'm not sure who builds it
regularly now either :(
I'd be interested in the failures for NetBSD. Maybe there is an existing
fix for them we can backport or a new patch we can apply.
Thanks,
--
Andrew :)
Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222
More information about the jdk8u-dev
mailing list