Warnings while building OpenJDK 8 on Linux

Konstantin Perikov konstantin.perikov at gmail.com
Thu Aug 8 06:48:40 UTC 2013


Tools summary:
* Boot JDK:       java version "1.7.0_40" OpenJDK Runtime Environment
(IcedTea 2.4.1) (ArchLinux build 7.u40_2.4.1-2-x86_64) OpenJDK 64-Bit
Server VM (build 24.0-b50, mixed mode)  (at /usr/lib/jvm/java-7-openjdk)
* C Compiler:     gcTools summary:
* Boot JDK:       java version "1.7.0_40" OpenJDK Runtime Environment
(IcedTea 2.4.1) (ArchLinux build 7.u40_2.4.1-2-x86_64) OpenJDK 64-Bit
Server VM (build 24.0-b50, mixed mode)  (at /usr/lib/jvm/java-7-openjdk)
* C Compiler:     gcc (GCC) 4.8.1 (prerelease) version 20130725
(prerelease) (at /usr/bin/gcc)
* C++ Compiler:   g++ (GCC) 4.8.1 (prerelease) version 20130725
(prerelease) (at /usr/bin/g++)
c (GCC) 4.8.1 (prerelease) version 20130725 (prerelease) (at /usr/bin/gcc)
* C++ Compiler:   g++ (GCC) 4.8.1 (prerelease) version 20130725
(prerelease) (at /usr/bin/g++)

And looks, like this manual -
https://java.net/projects/adoptopenjdk/pages/Build#Fedora - help me with
that. It still building, but I'm already bypass compiling part, its
creating javadocs, or something like this, so I hope, that it builds well.

Probably it's good idea, to mark this section about building not only with
Fedora, but also with Arch Linux, or any bleeding edge Linux distro.
For Arch Linux, I could provide commands how to install stuff (replace yum
with pacman )

Konstantin.


2013/8/8 David Holmes <david.holmes at oracle.com>

> On 8/08/2013 8:02 AM, Константин Периков wrote:
>
>> Hi,
>>
>> I'm trying to build OpenJDK 8 on Arch Linux and get warnings, that crash
>> compilation. Is there any flag to ignore this warnings?
>>
>
> You need to edit the makefiles to remove -Werror
>
> But what warnings did you encounter, on what platform and which gcc
> version? Note that the official GCC version for JDK 8 is presently still
> back around 4.3
>
> When we encounter problems with more recent compiler versions we try to
> address them but each new release tightens up conformance and so tends to
> cause more warnings.
>
> David
> -----
>
>
>
>> I couldn't find anything about this problem here -
>> http://hg.openjdk.java.net/**jdk8/build/raw-file/tip/**README-builds.html<http://hg.openjdk.java.net/jdk8/build/raw-file/tip/README-builds.html>
>> Could you help me with that?
>>
>> Thanks, Konstantin.
>>
>>



More information about the build-dev mailing list