svn commit: r304122 - head/lang/erlang
Jimmy Olgeni
olgeni at FreeBSD.org
Tue Sep 11 20:16:20 UTC 2012
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
More information about the svn-ports-all
mailing list