Warnings while building OpenJDK 8 on Linux

Omair Majid omajid at redhat.com
Wed Aug 7 22:22:58 UTC 2013


On 08/07/2013 06:02 PM, Константин Периков 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?

I don't think there is a general flag that does this.

The only case where warnings cause the build to fail that I know about
is in the network area, which can be worked around by setting
SCTP_WERROR to empty:

make SCTP_WERROR="" all

But depending on the version of the compiler, you may get more warnings.
I suspect patching the makefiles may be your only option at that point.

HTH,
Omair

-- 
PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95  0056 F286 F14F 6648 4681



More information about the build-dev mailing list