Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 May 2019 15:41:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 237208] java/openjdk11: port to powerpc64
Message-ID:  <bug-237208-8522-3IrhDM50uo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237208-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237208-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

--- Comment #22 from Greg Lewis <glewis@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 the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237208-8522-3IrhDM50uo>