Date: Fri, 14 Nov 2025 16:00:27 +0100 (CET) From: Ronald Klop <ronald-lists@klop.ws> To: java@freebsd.org Subject: suppress some warning in openjdk11 build? Message-ID: <1286497946.8067.1763132427076@localhost>
index | next in thread | raw e-mail
[-- Attachment #1 --] Any objections if I suppress some warning in openjdk11? It save a couple of megabytes of log file and makes it possible to open the poudriere log on my mobile phone 😀. Search for "[-W" in https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/pa48e645bda85_s8234c1899b/logs/openjdk11-11.0.29+7.1.log for an example of the amount of output these warnings generate. diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile index 1548c2e3fa6b..85f308235b92 100644 --- a/java/openjdk11/Makefile +++ b/java/openjdk11/Makefile @@ -171,6 +172,8 @@ CFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} CXXFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} CONFIGURE_ARGS+=--disable-precompiled-headers .else +# it is up to upstream project to fix these or not +CFLAGS+= -Wno-deprecated-builtins -Wno-inline-asm -Wno-unknown-attributes MAKE_ENV+= USE_CLANG=true .if ${ARCH:Mpowerpc64*} LLVM_VER= 12 I have a ports commit bit so I can commit this. Regards, Ronald. [-- Attachment #2 --] <html><head></head><body>Any objections if I suppress some warning in openjdk11?<br> <br> It save a couple of megabytes of log file and makes it possible to open the poudriere log on my mobile phone 😀.<br> Search for "[-W" in <a href="https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/pa48e645bda85_s8234c1899b/logs/openjdk11-11.0.29+7.1.log">https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/pa48e645bda85_s8234c1899b/logs/openjdk11-11.0.29+7.1.log</a> for an example of the amount of output these warnings generate.<br> <pre>diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile index 1548c2e3fa6b..85f308235b92 100644 --- a/java/openjdk11/Makefile +++ b/java/openjdk11/Makefile @@ -171,6 +172,8 @@ CFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} CXXFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} CONFIGURE_ARGS+=--disable-precompiled-headers .else +# it is up to upstream project to fix these or not +CFLAGS+= -Wno-deprecated-builtins -Wno-inline-asm -Wno-unknown-attributes MAKE_ENV+= USE_CLANG=true .if ${ARCH:Mpowerpc64*} LLVM_VER= 12</pre> <br> I have a ports commit bit so I can commit this.<br> <br> Regards,<br> Ronald.<br> </body></html>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1286497946.8067.1763132427076>
