From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Difficulty building older Emacsen: characters seemingly fouling things up. Date: Sun, 14 Jun 2015 19:22:44 +0000 Message-ID: <20150614192244.GA5796@acm.fritz.box> References: <20150606142204.GC3418@acm.fritz.box> <83twuknap7.fsf@gnu.org> <83sia4nafd.fsf@gnu.org> <87sia4g99z.fsf@isaac.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1434309941 7165 80.91.229.3 (14 Jun 2015 19:25:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Jun 2015 19:25:41 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: David Engster Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 14 21:25:31 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z4DX8-0006cF-Sx for ged-emacs-devel@m.gmane.org; Sun, 14 Jun 2015 21:25:31 +0200 Original-Received: from localhost ([::1]:59401 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4DX8-0003Eb-9j for ged-emacs-devel@m.gmane.org; Sun, 14 Jun 2015 15:25:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4DU2-0001aE-2L for emacs-devel@gnu.org; Sun, 14 Jun 2015 15:22:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4DTx-0001qO-H6 for emacs-devel@gnu.org; Sun, 14 Jun 2015 15:22:18 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:10671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4DTx-0001pX-79 for emacs-devel@gnu.org; Sun, 14 Jun 2015 15:22:13 -0400 Original-Received: (qmail 4419 invoked by uid 3782); 14 Jun 2015 19:22:11 -0000 Original-Received: from acm.muc.de (p579E8E5A.dip0.t-ipconnect.de [87.158.142.90]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 14 Jun 2015 21:22:10 +0200 Original-Received: (qmail 5931 invoked by uid 1000); 14 Jun 2015 19:22:44 -0000 Content-Disposition: inline In-Reply-To: <87sia4g99z.fsf@isaac.fritz.box> User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-Received-From: 193.149.48.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:187163 Archived-At: Hello, David. On Sat, Jun 06, 2015 at 05:13:12PM +0200, David Engster wrote: > Eli Zaretskii writes: > >> Date: Sat, 06 Jun 2015 18:00:36 +0300 > >> From: Eli Zaretskii > >> Cc: emacs-devel@gnu.org > >> Looks like line 143 should have had a backslash at its end, but > >> doesn't. Likewise, line 144 should have ended with a backslash I > >> don't understand how did it happen, as lib-src/Makefile.in from Emacs > >> 23.1 have these present. > > I seem to remember that the behavior of cpp changed at some point, and > > we needed to invoke it with the -traditional switch in order to avoid > > some trouble, perhaps precisely this one. (You may remember that in > > those days we used cpp to process Makefile.in files into Makefiles.) > > So perhaps reconfigure with "CPP='gcc -E -traditional' or somesuch. > Yes, one needs this change to compile older Emacsen: > http://article.gmane.org/gmane.emacs.diffs/102980 Thanks, that tip was very useful indeed. > Building older Emacsen can be quite frustrating. I think I also had > problems with linking crt1.o or somesuch when creating older Emacs > binaries for the Buildbot. I've managed successfully to rebuild 22.1, 22.2, 22.3, 23.2, 23.3, and 24.2. The more recent versions were OK anyway. I failed on 23.1 (which can't find the external symbol 'XRenderQueryExtension'), on 23.4 (which builds OK, but freezes with 100% CPU at startup), on 24.1 (some problem with `gets' in md5.c). > -David -- Alan Mackenzie (Nuremberg, Germany).