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

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

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

            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=199976&action=edit
patch

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

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

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.

-- 
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-8522>