From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.bugs Subject: bug#11669: 24.1; Build failure on amd64 with x32 ABI Date: Fri, 15 Jun 2012 08:21:56 +0200 Message-ID: <20442.54404.887127.876816@a1i15.kph.uni-mainz.de> References: <20436.63644.849695.332693@a1i15.kph.uni-mainz.de> <20438.21705.2229.857235@a1i15.kph.uni-mainz.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----cutting-here-may-damage-your-screen-surface----41079905----" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1339741336 831 80.91.229.3 (15 Jun 2012 06:22:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2012 06:22:16 +0000 (UTC) Cc: 11669@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 15 08:22:15 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1SfPv8-00072r-E4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jun 2012 08:22:10 +0200 Original-Received: from localhost ([::1]:55815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfPv8-0000fc-Bk for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jun 2012 02:22:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfPv5-0000bT-9Y for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 02:22:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfPv3-00067o-FE for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 02:22:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfPv3-00067k-Bx for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 02:22:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SfPxu-000210-4z for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 02:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ulrich Mueller Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jun 2012 06:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11669 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 11669-submit@debbugs.gnu.org id=B11669.13397415007738 (code B ref 11669); Fri, 15 Jun 2012 06:25:02 +0000 Original-Received: (at 11669) by debbugs.gnu.org; 15 Jun 2012 06:25:00 +0000 Original-Received: from localhost ([127.0.0.1]:43545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfPxq-00020j-46 for submit@debbugs.gnu.org; Fri, 15 Jun 2012 02:25:00 -0400 Original-Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:37739) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfPxo-00020b-20 for 11669@debbugs.gnu.org; Fri, 15 Jun 2012 02:24:57 -0400 Original-Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1iwww1.kph.uni-mainz.de (8.14.4/8.13.4) with ESMTP id q5F6LvGs009842; Fri, 15 Jun 2012 08:21:57 +0200 Original-Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.5/8.14.2) with ESMTP id q5F6Lv4s028343; Fri, 15 Jun 2012 08:21:57 +0200 Original-Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.5/8.14.5/Submit) id q5F6LvLK028341; Fri, 15 Jun 2012 08:21:57 +0200 In-Reply-To: X-Mailer: VM 8.2.0b under 23.4.2 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:60996 Archived-At: ------cutting-here-may-damage-your-screen-surface----41079905---- Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit > emacs-24 should get some form of band-aid "do not merge to trunk" > fix for this, just in case. I've now applied a somewhat different solution to the Gentoo package, namely patching the m/amdx86-64.h file, see attached patch. (This should also ensure that it isn't accidentally merged to trunk, because the file doesn't exist there any more.) ------cutting-here-may-damage-your-screen-surface----41079905---- Content-Type: text/plain; name="emacs-24.1-x32.patch" Content-Disposition: inline; filename="emacs-24.1-x32.patch" Content-Transfer-Encoding: 7bit --- emacs-24.1-orig/src/m/amdx86-64.h +++ emacs-24.1/src/m/amdx86-64.h @@ -17,6 +17,7 @@ You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see . */ +#ifndef __ILP32__ /* Don't define for x32 ABI. */ #define BITS_PER_LONG 64 #define BITS_PER_EMACS_INT 64 @@ -30,6 +31,7 @@ #define EMACS_INT long #define pI "l" #define EMACS_UINT unsigned long +#endif /* __ILP32__ */ /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ #undef DATA_SEG_BITS ------cutting-here-may-damage-your-screen-surface----41079905------