[8u] RFR: 8255003: Build failures on Solaris (was Re: Build failures on illumos (Solaris))
Andrew Hughes
gnu.andrew at redhat.com
Wed Oct 21 16:09:08 UTC 2020
On 19:02 Wed 21 Oct , Andrew Brygin wrote:
> Hello Severin,
>
> On 21/10/2020 10:17, Severin Gehwolf wrote:
> > Hi,
> >
> > On Tue, 2020-10-20 at 21:14 +0300, Andrew Brygin wrote:
> >> I have updated the fix according to following comment:
> >>
> >> https://bugs.openjdk.java.net/browse/JDK-8255003?focusedCommentId=14375484&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14375484
> >>
> >> The removal of Java_sun_awt_X11_XToolkit_getDefaultScreenData will be
> >> tracked as JDK-8251840.
> >
> > Thank you!
> >
> >> Please take a look to updated webrev:
> >>
> >> http://cr.openjdk.java.net/~bae/8u/8255003/webrev.01/
> >
> > Does this actually build on Windows? I'm thinking not, since it's
> > missing a mapfile for windows, no?
>
> build on windows works fine, because it does not use map files at all:
>
> https://hg.openjdk.java.net/jdk8u/jdk8u/file/tip/common/autoconf/flags.m4#l207
>
Thanks for confirming this. I did wonder, because I don't remember
them being used in the old build for Windows.
> >
> > How about special case Linux instead and let other platforms use the
> > old, pre JDK-8250627, mapfile-vers and use the one adding
> > Java_jdk_internal_platform_cgroupv1_Metrics_isUseContainerSupport on
> > Linux like so, perhaps?
> >
> > https://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8255003/01/webrev/
>
> Actually, only gcc (except macos) and solaris studio toolchains use
> mapfiles, so this option also looks good.
>
I think xlc is AIX? So mapfiles are presumably just for Solaris, Linux
and *BSD systems other than Mac OS, and there is no need for a -aix copy.
Severin's version would mean less work for any future OS ports, even
if it is a bit uglier to call out Linux specifically.
> Thanks,
> Andrew
>
--
Andrew :)
Senior Free Java Software Engineer
OpenJDK Package Owner
Red Hat, Inc. (http://www.redhat.com)
PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222
More information about the jdk8u-dev
mailing list