From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Christopher Allan Webber Newsgroups: gmane.lisp.guile.devel Subject: Re: Building Guilemacs Date: Mon, 05 Sep 2016 13:04:02 -0500 Message-ID: <877faqmdf1.fsf@dustycloud.org> References: <87wpixnbyi.fsf@frege.i-did-not-set--mail-host-address--so-tickle-me> <8737lggif0.fsf@frege.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473098694 23186 195.159.176.226 (5 Sep 2016 18:04:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Sep 2016 18:04:54 +0000 (UTC) User-Agent: mu4e 0.9.16; emacs 24.5.1 Cc: guile-devel@gnu.org To: Wilfred Hughes Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Sep 05 20:04:49 2016 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgyG5-0004GJ-JT for guile-devel@m.gmane.org; Mon, 05 Sep 2016 20:04:37 +0200 Original-Received: from localhost ([::1]:56072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgyG3-0000gX-8i for guile-devel@m.gmane.org; Mon, 05 Sep 2016 14:04:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgyFy-0000ff-H5 for guile-devel@gnu.org; Mon, 05 Sep 2016 14:04:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgyFt-00078L-GR for guile-devel@gnu.org; Mon, 05 Sep 2016 14:04:29 -0400 Original-Received: from dustycloud.org ([50.116.34.160]:56674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgyFt-00077U-CZ for guile-devel@gnu.org; Mon, 05 Sep 2016 14:04:25 -0400 Original-Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id D91AD266EB; Mon, 5 Sep 2016 14:04:02 -0400 (EDT) In-reply-to: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 50.116.34.160 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:18657 Archived-At: If someone wanted to rebase the emacs side of the guile-emacs fork... I think that would be great :) Wilfred Hughes writes: > Digging some more, I think the issue is > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24065 . Emacs trunk is > depending on undefined C behaviour, which gcc 5 has started optimising, > breaking the code. > > I've updated https://www.emacswiki.org/emacs/GuileEmacsBuild to note this. > You can work around with -fno-builtin-malloc or simply compile with clang > (my current solution). > > Emacs trunk has fixed this (in 4b1436b702d56eedd27a0777fc7232cdfb7ac4f6 > IIUC), but I believe that commit does not exist in the guile-emacs fork. > > Wilfred > > On 4 September 2016 at 04:48, Stefan Husmann > wrote: > >> Wilfred Hughes writes: >> >> > I've had a play with the AUR packages too. The guile4emacs PKGBUILD works >> > perfectly, but the guile-emacs build process segfaults when >> bootstrap-emacs >> > attempts to load calendar/cal-loaddefs.el: >> > >> > make[2]: Leaving directory >> > '/home/wilfred/aur/guile-emacs-git/src/guilemacs/lisp' >> > if test "yes" = "yes"; then \ >> > rm -f bootstrap-emacs; \ >> > ln temacs bootstrap-emacs; \ >> > else \ >> > ./temacs --batch --load loadup bootstrap || exit 1; \ >> > test "X" = X || -zex emacs; \ >> > mv -f emacs bootstrap-emacs; \ >> > fi >> > make -C ../lisp autoloads EMACS="../src/bootstrap-emacs" >> > make[2]: Entering directory >> > '/home/wilfred/aur/guile-emacs-git/src/guilemacs/lisp' >> > EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file >> > --no-site-lisp -l autoload \ >> > --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ >> > --eval "(setq generated-autoload-file (expand-file-name >> > (unmsys--file-name \"calendar/cal-loaddefs.el\")))" \ >> > -f batch-update-autoloads ./calendar >> > make[2]: *** [Makefile:466: calendar/cal-loaddefs.el] Segmentation fault >> > (core dumped) >> > make[2]: Leaving directory >> > '/home/wilfred/aur/guile-emacs-git/src/guilemacs/lisp' >> > make[1]: *** [Makefile:805: ../lisp/loaddefs.el] Error 2 >> > make[1]: Leaving directory >> > '/home/wilfred/aur/guile-emacs-git/src/guilemacs/src' >> > make: *** [Makefile:376: src] Error 2 >> > ==> ERROR: A failure occurred in build(). >> > Aborting... >> > >> > Any suggestions? >> > >> > On 30 August 2016 at 20:32, Wilfred Hughes wrote: >> > >> Hello, >> >> I can confirm this, but currently have no ideas what is going on >> here. This definitely used to work, but gcc was updated since then. >> >> Sorry for inconveniance. I will try to dig deeper into it. >> >> Best Regards >> >> Stefan >>