Re: RFR: 8319570: Change to GCC 13.2.0 for building on Linux at Oracle

2023-11-07 Thread Hao Sun
On Tue, 7 Nov 2023 23:37:06 GMT, Mikael Vidstedt wrote: > Oracle is updating the version of GCC for building the JDK on Linux to 13.2.0. > > Apart from the "obvious" changes, I'll add some color to the CompileJvm.gmk > changes. In particular, I ran into two different types of new warnings with

Re: RFR: 8319570: Change to GCC 13.2.0 for building on Linux at Oracle

2023-11-07 Thread Hao Sun
On Tue, 7 Nov 2023 23:37:06 GMT, Mikael Vidstedt wrote: > Oracle is updating the version of GCC for building the JDK on Linux to 13.2.0. > > Apart from the "obvious" changes, I'll add some color to the CompileJvm.gmk > changes. In particular, I ran into two different types of new warnings with

RFR: 8319570: Change to GCC 13.2.0 for building on Linux at Oracle

2023-11-07 Thread Mikael Vidstedt
Oracle is updating the version of GCC for building the JDK on Linux to 13.2.0. Apart from the "obvious" changes, I'll add some color to the CompileJvm.gmk changes. In particular, I ran into two different types of new warnings with GCC 13.2.0: 1. linux-aarch64-debug + stringop-overflow

Re: RFR: 8318913: The module-infos for --release data do not contain pre-set versions

2023-11-07 Thread Jan Lahoda
On Tue, 7 Nov 2023 15:36:46 GMT, Mark Reinhold wrote: > Will this patch preserve the pre-release identifier (e.g., `-ea` or > `-internal`), which was the behavior prior to JDK 22? If not, then it’s an > incompatible change. Hm, no, the current version will always use the specification

Re: RFR: 8319268: Build failure with GCC8.3.1 after 8313643 [v3]

2023-11-07 Thread Alexey Ivanov
On Thu, 2 Nov 2023 14:01:20 GMT, xpbob wrote: >> Build failure with GCC8.3.1 >> >> === Output from failing command(s) repeated here === >> * For target support_native_java.desktop_libfontmanager_hb-ot-layout.o: >> /data/codes/bobjdk/src/java.desktop/share/native/libharfbuzz/hb-ot-layout.cc: >>

Integrated: 8319573: Change to Visual Studio 17.6.5 for building on Windows at Oracle

2023-11-07 Thread Mikael Vidstedt
On Mon, 6 Nov 2023 23:00:39 GMT, Mikael Vidstedt wrote: > Oracle is updating the version of Visual Studio for building the JDK on > Windows to Visual Studio 2022 17.6.5. This pull request has now been integrated. Changeset: 806529aa Author:Mikael Vidstedt URL:

Re: RFR: 8318913: The module-infos for --release data do not contain pre-set versions

2023-11-07 Thread Mark Reinhold
On Fri, 27 Oct 2023 11:35:54 GMT, Jan Lahoda wrote: > Consider a simple module, like: > > module test {} > > > And compile it with JDK 22 and JDK 21 using: > javac --release 21 > > The results of the compilations will differ: when compiling with JDK 21, the > mandated java.base dependency

Re: RFR: 8319197: Exclude hb-subset and hb-style from compilation

2023-11-07 Thread Daniel Jeliński
On Tue, 31 Oct 2023 21:32:26 GMT, Daniel Jeliński wrote: > hb-subset and hb-style APIs are not used and not exported by libfontmanger. > We can cut the compilation time by not compiling the unused files. > > The added exclusions reduce the build time by ~1 minute (~8%) on my machine. > This

Integrated: 8319197: Exclude hb-subset and hb-style from compilation

2023-11-07 Thread Daniel Jeliński
On Tue, 31 Oct 2023 21:32:26 GMT, Daniel Jeliński wrote: > hb-subset and hb-style APIs are not used and not exported by libfontmanger. > We can cut the compilation time by not compiling the unused files. > > The added exclusions reduce the build time by ~1 minute (~8%) on my machine. > This

Re: building on macOS 14

2023-11-07 Thread Jaikiran Pai
I think it's this place in the build where the logs/warning written out to stdout gets put into the generated source file https://github.com/openjdk/jdk/blob/master/make/modules/java.desktop/gensrc/GensrcIcons.gmk#L85 (there are few more places in that same file which have similar calls).