[Bug 237208] java/openjdk11: port to powerpc64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 1 15:41:39 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237208

--- Comment #22 from Greg Lewis <glewis at FreeBSD.org> ---
I should have been more specific in terms of instructions there.

I'm asking for a build of the upstream repository.  You'll need to follow steps
something like this:

* Download the bootstrap (there are links in the first comment and the most
recent one before this).
* Unpack the bootstrap somewhere.  Let's say /usr/local/openjdk11
* Checkout the upstream repo from git (link in my previous comment)
* Run the configure script, e.g.

env CC=/usr/local/bin/gcc8 \
    CXX=/usr/local/bin/g++8 \
    bash configure \
        --with-boot-jdk=/usr/local/openjdk11 \
        --disable-ccache \
        --disable-hotspot-gtest \
        --with-alsa=/usr/local \
        --with-cups=/usr/local \
        --with-fontconfig=/usr/local \
        --with-freetype=system \
        --with-freetype-include=/usr/local/include/freetype2 \
        --with-freetype-lib=/usr/local/lib \
        --with-milestone=fcs \
        --with-libjpeg=system \
        --with-giflib=system \
        --with-giflib-include=/usr/local/include \
        --with-giflib-lib=/usr/local/lib \
        --with-libpng=system \
        --with-zlib=system \
        --with-lcms=system \
        --with-toolchain-type=clang \
        --x-includes=/usr/local/include \
        --x-libraries=/usr/local/lib \
        --with-debug-level=release

* Run a build, e.g.

env LANG="C" \
    LC_ALL="C" \
    CLASSPATH="" \
    JAVA_HOME="" \
    LD_LIBRARY_PATH="" \
    CC=/usr/local/bin/gcc8 \
    CXX=/usr/local/bin/g++8 \
    MAKEFLAGS="" \
    USE_CLANG=true \
    gmake \
    CC=/usr/local/bin/gcc8 \
    CXX=/usr/local/bin/g++8 \
    COMPILER_WARNINGS_FATAL="false" \
    LOG=debug \
    images

If that works then we can cut a release and update the port.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ppc mailing list