From owner-svn-ports-all@freebsd.org Thu Dec 10 19:37:08 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DFE9A9D73D6; Thu, 10 Dec 2015 19:37:08 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AD38C11D3; Thu, 10 Dec 2015 19:37:08 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBAJb7oO024140; Thu, 10 Dec 2015 19:37:07 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBAJb7jk024139; Thu, 10 Dec 2015 19:37:07 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201512101937.tBAJb7jk024139@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Thu, 10 Dec 2015 19:37:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403465 - head/java/openjdk8 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2015 19:37:09 -0000 Author: jkim Date: Thu Dec 10 19:37:07 2015 New Revision: 403465 URL: https://svnweb.freebsd.org/changeset/ports/403465 Log: Work around build failures with Poudriere. We have to limit max heap size when building 32-bit targets on a 64-bit host for some unknown reason. Modified: head/java/openjdk8/Makefile Modified: head/java/openjdk8/Makefile ============================================================================== --- head/java/openjdk8/Makefile Thu Dec 10 18:43:51 2015 (r403464) +++ head/java/openjdk8/Makefile Thu Dec 10 19:37:07 2015 (r403465) @@ -270,6 +270,12 @@ AUTOCONF_ARGS= -I . -o generated-configu .include +.if ${ARCH:Marmv6*} || ${ARCH} == "i386" +# XXX We must limit max heap size for 32-bit targets. +CONFIGURE_ARGS+= --with-boot-jdk-jvmargs="-Xmx768m" +MAKE_ENV+= JAVADOC_CMD_MEM="-Xmx768m" +.endif + .if ${ARCH} == "armv6" # From NetBSD http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/openjdk7/hacks.mk # Workaround incorrect constant folding of subnormals in javac when the FPU