On Tue, Jan 22, 2019 at 10:48:16AM +0100, Matthias Klose wrote:
> openjdk-11 ftbfs on alpha, linking libjvm.

The relocation errors can be worked around by linking with
-Wl,--no-relax, i.e., adding the following in debian/rules:

ifeq ($(DEB_HOST_ARCH),alpha)
  export EXTRA_LDFLAGS_ZERO += -Wl,--no-relax
endif

It seems only openjdk-11 needs this as openjdk-12 built fine without
relocation link errors.

The build will then fail in the test suite because since openjdk-10
java on the rare occasion locks up on Alpha, falls to 0% CPU usage
and never terminates.  The test suite seems to reliably trigger that
lock up.

Disabling the test-suite will get us past that (as it did on the build
of openjdk-12) and will still produce a java that for most purposes
works.

Also the install tries to install jhsdb which is not built on Alpha
so that needs to be fixed too.

Cheers,
Michael.

Reply via email to