[PATCH] Freetype Directory Bug On zLinux

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Mon Jan 15 19:21:11 UTC 2018

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:


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


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

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
(sid_s390x-dchroot)glaubitz at zelenka:~/openjdk/hs$

Can you post your configure lines?


 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

More information about the build-dev mailing list