[OpenJDK 2D-Dev] RFR: Bug Pending: Build fails to compile jchuff.c
adam.farley at uk.ibm.com
Thu Feb 1 12:00:45 UTC 2018
> On 02/01/2018 12:36 PM, Adam Farley8 wrote:
>> After doing some experimenting, I've discovered the problem isn't
>> SLES, or gcc 4.8.5, or zLinux.
> I think the problem is more that if you are trying to silence warnings,
> you will end up being busy for a very long time since there are simply
> too many possible configurations out there .
Unfortunately it's not just a warning, it's a build-killer.
Across those platforms, in those configurations, this is the only warning
which causes the build to fail. Adding array-bounds to
suppresses this warning-turned-error, and the builds then run and pass.
> For this reason, both Debian and openSUSE/SLE  build OpenJDK with the
> configure parameter "--disable-warnings-as-errors".
--disable-warnings-as-errors (in the configure step) can work around this
but then we need to add it to the relevant documentation, and it
build process a little bit more from the user's POV. In my world, "bash
should be enough.
I like to keep things simple. :)
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
More information about the build-dev