[PATCH] Freetype Directory Bug On zLinux
Severin Gehwolf
sgehwolf at redhat.com
Tue Jan 16 10:00:11 UTC 2018
Hi,
On Mon, 2018-01-15 at 20:21 +0100, John Paul Adrian Glaubitz wrote:
> Hi Adam!
>
> On 01/15/2018 06:15 PM, Adam Farley8 wrote:
> > > Which I would expect to cover your case, unless there is a
> > > mismatch
> > > between s390 and s390x here. Is your OPENJDK_TARGET_CPU set to
> > > s390 or
> > > s390x in this case? If this discrepancy between arch names cannot
> > > be
> > > resolved, then a special case like the one you propose is needed.
> >
> > My IF statement checks if OPENJDK_TARGET_CPU = s390. I have to
> > assume that
> > means OPENJDK_TARGET_CPU is set to s390. Since the folder is s390x-
> > linux-gnu,
> > it's likely the extra x causing the problem.
>
> I have just done a fresh clone of OpenJDK-11 from jdk/hs and
> performed test
> builds on Debian/s390x with the following configure lines:
>
> Server:
>
> CONF=linux-s390x-normal-server-release make clean ; CONF=linux-s390x-
> normal-server-release MAKE_VERBOSE=y QUIETLY= LOG=debug sh
> ./configure
> --with-jvm-variants=server --with-boot-jdk=/usr/lib/jvm/java-9-
> openjdk-s390x/ --disable-precompiled-headers --disable-warnings-as-
> errors && make JOBS=32
> MAKE_VERBOSE=y QUIETLY= LOG=debug CONF=linux-s390x-normal-server-
> release
>
> Zero:
>
> CONF=linux-s390x-normal-zero-release MAKE_VERBOSE=y QUIETLY=
> LOG=debug make clean CONF=linux-s390x-normal-zero-release ; sh
> ./configure --with-jvm-variants=zero
> --with-boot-jdk=/usr/lib/jvm/java-9-openjdk-s390x/ --disable-
> precompiled-headers --disable-warnings-as-errors && make JOBS=32
> MAKE_VERBOSE=y QUIETLY= LOG=debug
> CONF=linux-s390x-normal-zero-release
>
> Both builds succeed without any issues, so I'm not sure there isn't
> something
> wrong with your build environment. For reference, Debian/s390x has
> the freetype
> runtime and development library components in /usr/lib/s390x-linux-
> gnu:
>
> (sid_s390x-dchroot)glaubitz at zelenka:~/openjdk/hs$ dpkg -L
> libfreetype6:s390x |grep s390 && dpkg -L libfreetype6-dev:s390x |grep
> s390
> /usr/lib/s390x-linux-gnu
> /usr/lib/s390x-linux-gnu/libfreetype.so.6.15.0
> /usr/lib/s390x-linux-gnu/libfreetype.so.6
> /usr/lib/s390x-linux-gnu
> /usr/lib/s390x-linux-gnu/libfreetype.a
> /usr/lib/s390x-linux-gnu/libfreetype.la
> /usr/lib/s390x-linux-gnu/pkgconfig
> /usr/lib/s390x-linux-gnu/pkgconfig/freetype2.pc
> /usr/lib/s390x-linux-gnu/libfreetype.so
> (sid_s390x-dchroot)glaubitz at zelenka:~/openjdk/hs$
>
> Can you post your configure lines?
FYI:
Adam mentioned in another thread[1] that --disable-warnings-as-errors
to configure makes the error go away.
Thanks,
Severin
[1] http://mail.openjdk.java.net/pipermail/build-dev/2018-January/020616.html
More information about the build-dev
mailing list