Warnings while building OpenJDK 8 on Linux

David Holmes david.holmes at oracle.com
Thu Aug 8 02:28:57 UTC 2013

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.


> I couldn't find anything about this problem here -
> 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