RFR: [8u] Build failed on Ubuntu 18.04 due to deprecated-declarations warnings

Jie Fu fujie at loongson.cn
Thu Apr 25 09:56:05 UTC 2019


Hi Andrew,

Is it possible that this issue be fixed in 8u222?
Or shall we just update the README to work around it like this:
---------------------------------------------
diff -r c52bf8887eb0 README
--- a/README    Tue Apr 16 21:59:20 2019 +0100
+++ b/README    Thu Apr 25 17:49:36 2019 +0800
@@ -27,7 +27,7 @@
       variable.

    2. Configure the build:
-       bash ./configure
+       bash ./configure --with-extra-cflags=-Wno-error

    3. Build the OpenJDK:
         make all
---------------------------------------------

What's your next plan?
Thanks.

Best regards,
Jie

On 2019/3/20 上午2:06, Andrew John Hughes wrote:
>>> If this is because of readdir_r, then that's on my radar to backport
>>> once we've branched for 8u212 (it needs time to soak, so I'm aiming for
>>> 8u222). I've prefer we fixed this rather than disabling warnings
>>> unnecessarily.




More information about the build-dev mailing list