Created attachment 210915 [details] patch All the dependent libraries fail to build on powerpc64 elfv2: ===> 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 on powerpc64 to fix this issue.
Seems fine. Is this also required for editors/emacs-devel?
Are there any dependent libraries in ports using emacs-devel? I didn't notice any, but if there are some, let me know and I'll test it.
The Emacs ports have flavors, so most of the ports with 'USES=emacs' can work with either editors/emacs or editors/emacs-devel. ## poudriere example: poudriere bulk -j 12amd64 devel/treepy.el @devel_full ## direct installation example: make -C /usr/ports/devel/treepy.el FLAVOR=devel_full build
Sorry. Of course, should not be a space before '@' in the poudriere command.
=======================<phase: build >============================ ===> Building for treepy.el-emacs28-0.1.1_3 (cd /wrkdirs/usr/ports/devel/treepy.el/work-devel_full/treepy.el-0.1.1 ; /usr/local/bin/emacs-28.0.50 -batch -q -f batch-byte-compile treepy.el) =========================================================================== Seems fine, only the stable port is affected.
Looks good. Thanks for doing this. FYI, Emacs 27 will be released soon, so this change may be short lived.
(In reply to Joseph Mingrone from comment #6) I'm actually not sure whether Emacs 27.0 will need it. Devel is 28 right now.
A commit references this bug: Author: pkubaj Date: Wed Jan 22 10:47:24 UTC 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) Changes: head/editors/emacs/Makefile