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@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@zelenka:~/openjdk/hs$ Can you post your configure lines? Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913