Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Dec 2018 12:28:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 233883] java/openjdk8: fix build with GCC-based architectures
Message-ID:  <bug-233883-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233883

            Bug ID: 233883
           Summary: java/openjdk8: fix build with GCC-based architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: java@FreeBSD.org
          Reporter: pkubaj@anongoth.pl
             Flags: maintainer-feedback?(java@FreeBSD.org)
          Assignee: java@FreeBSD.org

Created attachment 199976
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D199976&action=
=3Dedit
patch

Before update to 8.192.26, openjdk8 compiled fine, but 8.192.26 made buildi=
ng
on FreeBSD use clang by default, which breaks GCC architectures.

Add CONFIGURE_ARGS+=3D--with-toolchain-type=3Dgcc when COMPILER_TYPE is gcc
(alternatively we could add
CONFIGURE_ARGS+=3D--with-toolchain-type=3D${CHOSEN_COMPILER_TYPE} to all ta=
rgets).

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.

--=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-233883-7788>