Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2012 20:16:20 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304122 - head/lang/erlang
Message-ID:  <201209112016.q8BKGKZU024293@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Tue Sep 11 20:16:20 2012
New Revision: 304122
URL: http://svn.freebsd.org/changeset/ports/304122

Log:
  Add configuration check: DTRACE support on amd64 requires GCC46 to
  be enabled.
  
  Building with gcc version 4.2.1 20070831 causes an infinite loop
  while compiling erl_nif.c.
  
  Discovered by:		Kenji Rikitake

Modified:
  head/lang/erlang/Makefile

Modified: head/lang/erlang/Makefile
==============================================================================
--- head/lang/erlang/Makefile	Tue Sep 11 20:10:28 2012	(r304121)
+++ head/lang/erlang/Makefile	Tue Sep 11 20:16:20 2012	(r304122)
@@ -70,6 +70,10 @@ ERL_RELEASE=	R${PORTVERSION:S/.//g:U}
 # probes fixed does not match the number of defined probes (54 != 132,
 # respectively)" you probably misconfigured DTrace in some way.
 
+.if ${ARCH} == "amd64" && ${PORT_OPTIONS:MDTRACE} && ! ${PORT_OPTIONS:MGCC46}
+IGNORE=		DTRACE support on amd64 requires GCC46 option
+.endif
+
 .if ${PORT_OPTIONS:MGCC46}
 USE_GCC?=	4.6+
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209112016.q8BKGKZU024293>