Re: RFR: 8257913: Add more known library locations to simplify Linux cross-compilation [v2]

2021-03-04 Thread Aleksey Shipilev
> Current cross-compilation configurations require adding the whole lot of > configure options to make it find the dependencies: freetype and X11 libs are > the only problematic dependencies. We should be able to specify just the > `--with-sysroot`, and get everything else autodetected. > > Aft

Re: RFR: 8257913: Add more known library locations to simplify Linux cross-compilation [v2]

2021-03-04 Thread Aleksey Shipilev
On Fri, 5 Mar 2021 07:06:24 GMT, Aleksey Shipilev wrote: >> I think that value should be accessible from OPENJDK_TARGET_AUTOCONF_NAME. > > Yes, original `openjdk-target` would be enough. Unfortunately, > `AUTOCONF_NAME` seems to be the quadruplet generated from original > `--openjdk-target`. Fo

Re: RFR: 8257913: Add more known library locations to simplify Linux cross-compilation

2021-03-04 Thread Aleksey Shipilev
On Thu, 4 Mar 2021 19:34:16 GMT, Erik Joelsson wrote: >> make/autoconf/lib-freetype.m4 line 201: >> >>> 199: if test "x$FOUND_FREETYPE" != "xyes" ; then >>> 200: LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], >>> 201: >>> [$FREETYPE_BASE_DIR/lib/$OPEN

Re: RFR: 8236847: CDS archive with 4K alignment unusable on machines with 64k pages [v6]

2021-03-04 Thread Yumin Qi
On Thu, 4 Mar 2021 23:40:33 GMT, Ioi Lam wrote: > SharedArchiveConsistency.java I would like to do this in a separate PR. Look at the test, WhiteBox.getWhiteBox().metaspaceReserveAlignment(), I believe this should be _core_region_alignment too. Before this PR, they are all page size so no dif

Re: RFR: 8236847: CDS archive with 4K alignment unusable on machines with 64k pages [v6]

2021-03-04 Thread Ioi Lam
On Wed, 3 Mar 2021 20:59:28 GMT, Ioi Lam wrote: >> Yumin Qi has updated the pull request with a new target base due to a merge >> or a rebase. The pull request now contains six commits: >> >> - Merge master >> - Add --enable-compatible-cds-alignment for linux-aarch64 and macosx-x64 in >> jib

Re: RFR: 8257913: Add more known library locations to simplify Linux cross-compilation

2021-03-04 Thread Erik Joelsson
On Thu, 4 Mar 2021 19:30:27 GMT, Erik Joelsson wrote: >> Current cross-compilation configurations require adding the whole lot of >> configure options to make it find the dependencies: freetype and X11 libs >> are the only problematic dependencies. We should be able to specify just the >> `--w

Re: RFR: 8257913: Add more known library locations to simplify Linux cross-compilation

2021-03-04 Thread Erik Joelsson
On Thu, 4 Mar 2021 18:58:03 GMT, Aleksey Shipilev wrote: > Current cross-compilation configurations require adding the whole lot of > configure options to make it find the dependencies: freetype and X11 libs are > the only problematic dependencies. We should be able to specify just the > `--wi

RFR: 8257913: Add more known library locations to simplify Linux cross-compilation

2021-03-04 Thread Aleksey Shipilev
Current cross-compilation configurations require adding the whole lot of configure options to make it find the dependencies: freetype and X11 libs are the only problematic dependencies. We should be able to specify just the `--with-sysroot`, and get everything else autodetected. After this patc

Re: RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v9]

2021-03-04 Thread Vladimir Kempik
On Thu, 4 Mar 2021 17:36:22 GMT, Alan Hayward wrote: > I was building this PR on a new machine, and I now get the following error: > > > /Users/alahay01/java/gerrit_jdk/src/java.desktop/macosx/native/libjsound/PLATFORM_API_MacOSX_MidiUtils.c:258:31: > > error: cast to smaller integer type 'MID

Re: RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v9]

2021-03-04 Thread Alan Hayward
On Thu, 4 Mar 2021 15:27:25 GMT, Gerard Ziemski wrote: >>> A list of the bugs that our internal testing revealed so far: >> >> Are any of these blockers for integration? Some of them are to do with >> things like features that aren't yet supported, and we can't fix what we >> can't see. > >> >

Re: RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v9]

2021-03-04 Thread Gerard Ziemski
On Wed, 3 Mar 2021 17:46:41 GMT, Andrew Haley wrote: > > A list of the bugs that our internal testing revealed so far: > > Are any of these blockers for integration? Some of them are to do with things > like features that aren't yet supported, and we can't fix what we can't see. I don't person