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=3D237208

--- 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 s=
teps
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=3D/usr/local/bin/gcc8 \
    CXX=3D/usr/local/bin/g++8 \
    bash configure \
        --with-boot-jdk=3D/usr/local/openjdk11 \
        --disable-ccache \
        --disable-hotspot-gtest \
        --with-alsa=3D/usr/local \
        --with-cups=3D/usr/local \
        --with-fontconfig=3D/usr/local \
        --with-freetype=3Dsystem \
        --with-freetype-include=3D/usr/local/include/freetype2 \
        --with-freetype-lib=3D/usr/local/lib \
        --with-milestone=3Dfcs \
        --with-libjpeg=3Dsystem \
        --with-giflib=3Dsystem \
        --with-giflib-include=3D/usr/local/include \
        --with-giflib-lib=3D/usr/local/lib \
        --with-libpng=3Dsystem \
        --with-zlib=3Dsystem \
        --with-lcms=3Dsystem \
        --with-toolchain-type=3Dclang \
        --x-includes=3D/usr/local/include \
        --x-libraries=3D/usr/local/lib \
        --with-debug-level=3Drelease

* Run a build, e.g.

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

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

--=20
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>