Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2020 10:47:24 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r523801 - head/editors/emacs
Message-ID:  <202001221047.00MAlOqA001191@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Jan 22 10:47:24 2020
New Revision: 523801
URL: https://svnweb.freebsd.org/changeset/ports/523801

Log:
  editors/emacs: fix miscompilation on powerpc64 elfv2
  
  Clang currently miscompiles emacs, resulting in broken builds for dependencies:
  ===>  Building for treepy.el-emacs26-0.1.1_3
  (cd /wrkdirs/usr/ports/devel/treepy.el/work-full/treepy.el-0.1.1 ; /usr/local/bin/emacs-26.3 -batch -q -f batch-byte-compile treepy.el)
  *** Signal 6
  
  Use GCC to workaround it.
  
  PR:		243484
  Approved by:	jrm (maintainer)

Modified:
  head/editors/emacs/Makefile

Modified: head/editors/emacs/Makefile
==============================================================================
--- head/editors/emacs/Makefile	Wed Jan 22 10:15:02 2020	(r523800)
+++ head/editors/emacs/Makefile	Wed Jan 22 10:47:24 2020	(r523801)
@@ -3,7 +3,7 @@
 
 PORTNAME=	emacs
 DISTVERSION=	26.3
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	3
 CATEGORIES=	editors
 MASTER_SITES=	GNU
@@ -225,6 +225,10 @@ XWIDGETS_CONFIGURE_WITH=	xwidgets
 # has graphics/ImageMagick been compiled with OPENMP?
 .if ${PORT_OPTIONS:MMAGICK} && ${:!${GREP} -sc " \-fopenmp " ${LOCALBASE}/libdata/pkgconfig/ImageMagick.pc || true!} == "1"
 USES+=		compiler:openmp
+.endif
+
+.if ${ARCH} == powerpc64
+USE_GCC=	any
 .endif
 
 .if !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MGTK3} && !${PORT_OPTIONS:MMOTIF} \



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