From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 10 15:45:16 2012 Received: (at submit) by debbugs.gnu.org; 10 Jun 2012 19:45:16 +0000 Received: from localhost ([127.0.0.1]:37018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sdo4Z-0006qw-KT for submit@debbugs.gnu.org; Sun, 10 Jun 2012 15:45:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52640) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sdo4W-0006qp-VL for submit@debbugs.gnu.org; Sun, 10 Jun 2012 15:45:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sdo23-0003vP-AJ for submit@debbugs.gnu.org; Sun, 10 Jun 2012 15:42:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:41532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sdo23-0003vJ-6w for submit@debbugs.gnu.org; Sun, 10 Jun 2012 15:42:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sdo21-0007fO-6Z for bug-gnu-emacs@gnu.org; Sun, 10 Jun 2012 15:42:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sdo1y-0003uj-UI for bug-gnu-emacs@gnu.org; Sun, 10 Jun 2012 15:42:36 -0400 Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:57545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sdo1y-0003sA-L1 for bug-gnu-emacs@gnu.org; Sun, 10 Jun 2012 15:42:34 -0400 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 q5AJgLQQ017826 for ; Sun, 10 Jun 2012 21:42:21 +0200 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 q5AJgLBe023154; Sun, 10 Jun 2012 21:42:21 +0200 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.5/8.14.5/Submit) id q5AJgKm1023152; Sun, 10 Jun 2012 21:42:20 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----cutting-here-may-damage-your-screen-surface----53887203----" Content-Transfer-Encoding: 7bit Message-ID: <20436.63644.849695.332693@a1i15.kph.uni-mainz.de> Date: Sun, 10 Jun 2012 21:42:20 +0200 To: bug-gnu-emacs@gnu.org Subject: 24.1; Build failure on amd64 with x32 ABI X-Mailer: VM 8.2.0b under 23.4.2 (x86_64-pc-linux-gnu) From: Ulrich Mueller X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) ------cutting-here-may-damage-your-screen-surface----53887203---- Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Forwarding downstream bug: Emacs 24.1 fails to build on an amd64 system with x32 ABI [1][2]. During compilation, about 20000 warnings like: warning: left shift count >= width of type [enabled by default] warning: right shift count >= width of type [enabled by default] occur, and finally the build process aborts with a segmentation fault: if test "no" = "yes"; then \ ln -f temacs bootstrap-emacs; \ else \ `/bin/pwd`/temacs --batch --load loadup bootstrap || exit 1; \ test "X" = X || -zex emacs; \ mv -f emacs bootstrap-emacs; \ fi /bin/sh: line 6: 27446 Segmentation fault `/bin/pwd`/temacs --batch --load loadup bootstrap make[1]: *** [bootstrap-emacs] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-editors/emacs-24.1/work/emacs-24.1/src' make: *** [src] Error 2 See [3] for the full build log. I've attached a one line patch that fixes the problem for me. AFAICS, Emacs from BZR is not affected. (Sorry about the bad timing, but x32 support in Gentoo is just available since a few days.) [1] https://lwn.net/Articles/500482/ [2] https://sites.google.com/site/x32abi/ [3] http://dev.gentoo.org/~ulm/emacs-24.1-build.log ------cutting-here-may-damage-your-screen-surface----53887203---- Content-Type: text/plain; name="03_all_x32.patch" Content-Disposition: inline; filename="03_all_x32.patch" Content-Transfer-Encoding: 7bit --- emacs-24.1-orig/configure.in +++ emacs-24.1/configure.in @@ -749,6 +749,7 @@ machine=intel386 machfile="m/${machine}.h" fi + AC_CHECK_DECL([__ILP32__], [machfile="m/intel386.h"]) fi AC_PATH_PROG(INSTALL_INFO, install-info) ------cutting-here-may-damage-your-screen-surface----53887203------ From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 11 02:48:40 2012 Received: (at 11669) by debbugs.gnu.org; 11 Jun 2012 06:48:40 +0000 Received: from localhost ([127.0.0.1]:37246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SdyQZ-00072T-WE for submit@debbugs.gnu.org; Mon, 11 Jun 2012 02:48:40 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:43902) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SdyQX-00072J-2R for 11669@debbugs.gnu.org; Mon, 11 Jun 2012 02:48:38 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SdyO0-000646-CU; Mon, 11 Jun 2012 02:46:00 -0400 From: Glenn Morris To: Ulrich Mueller Subject: Re: bug#11669: 24.1; Build failure on amd64 with x32 ABI References: <20436.63644.849695.332693@a1i15.kph.uni-mainz.de> X-Spook: BLU-114/B munitions Aladdin counter terrorism Nazi Ruby X-Ran: @x3=cy=mJ%Yr/q+~lTm05rqs5"QNu*6K"#qB (Ulrich Mueller's message of "Sun, 10 Jun 2012 21:42:20 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11669 Cc: 11669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Ulrich Mueller wrote: > + AC_CHECK_DECL([__ILP32__], [machfile="m/intel386.h"]) emacs-24's configure.in already attempts to deal with this kind of thing: ## Although we're running on an amd64 kernel, we're actually compiling for ## the x86 architecture. The user should probably have provided an ## explicit --build to `configure', but if everything else than the kernel ## is running in i386 mode, we can help them out. if test "$machine" = "amdx86-64"; then AC_CHECK_DECL([i386]) if test "$ac_cv_have_decl_i386" = "yes"; then canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'` machine=intel386 machfile="m/${machine}.h" fi fi So I guess you don't define i386 but rather __ILP32__ for some reason? However, the src/m files have been removed in the trunk and the above piece of configure with it. http://lists.gnu.org/archive/html/emacs-diffs/2012-05/msg00352.html I don't know what, if anything, replaces it. Is passing an explicit --build to configure now the recommended/only way to deal with this? From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 11 14:33:02 2012 Received: (at 11669) by debbugs.gnu.org; 11 Jun 2012 18:33:02 +0000 Received: from localhost ([127.0.0.1]:38178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Se9QC-0007W2-K2 for submit@debbugs.gnu.org; Mon, 11 Jun 2012 14:33:01 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:56878) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Se9Q8-0007Vu-Pm for 11669@debbugs.gnu.org; Mon, 11 Jun 2012 14:32:58 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Se9Na-0008L1-DX; Mon, 11 Jun 2012 14:30:18 -0400 From: Glenn Morris To: Ulrich Mueller Subject: Re: bug#11669: 24.1; Build failure on amd64 with x32 ABI References: <20436.63644.849695.332693@a1i15.kph.uni-mainz.de> X-Spook: Capricorn halcon counter terrorism Firewalls MIT-LL AVN X-Ran: Edr?VbPj2a0&ZG?}MZwiH?vT&Q|(jd*5ju}ME;YkJJin X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 11 Jun 2012 14:30:18 -0400 In-Reply-To: (Glenn Morris's message of "Mon, 11 Jun 2012 02:46:00 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11669 Cc: 11669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Glenn Morris wrote: > emacs-24's configure.in already attempts to deal with this kind of > thing: I didn't look at the context of your patch; obviously you knew that. I wonder if the removal of src/m/ in the trunk means it Just Works now? From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 11 16:30:35 2012 Received: (at 11669) by debbugs.gnu.org; 11 Jun 2012 20:30:35 +0000 Received: from localhost ([127.0.0.1]:38277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SeBFz-0003Jr-Im for submit@debbugs.gnu.org; Mon, 11 Jun 2012 16:30:35 -0400 Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:54893) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SeBFx-0003Jj-CO for 11669@debbugs.gnu.org; Mon, 11 Jun 2012 16:30:34 -0400 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 q5BKRrZx020522; Mon, 11 Jun 2012 22:27:53 +0200 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 q5BKRrpI005491; Mon, 11 Jun 2012 22:27:53 +0200 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.5/8.14.5/Submit) id q5BKRrcm005487; Mon, 11 Jun 2012 22:27:53 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20438.21705.2229.857235@a1i15.kph.uni-mainz.de> Date: Mon, 11 Jun 2012 22:27:53 +0200 To: Glenn Morris Subject: Re: bug#11669: 24.1; Build failure on amd64 with x32 ABI In-Reply-To: References: <20436.63644.849695.332693@a1i15.kph.uni-mainz.de> X-Mailer: VM 8.2.0b under 23.4.2 (x86_64-pc-linux-gnu) From: Ulrich Mueller X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11669 Cc: 11669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >>>>> On Mon, 11 Jun 2012, Glenn Morris wrote: > So I guess you don't define i386 but rather __ILP32__ for some > reason? For x32, GCC defines both __x86_64__ and __ILP32__ (but not i386). And the canonical system name is x86_64-pc-linux-gnu. Size of long and of pointers is the same between i386 and x32. However, x32 has native 64 bit support, so programs will get access to 64 bit registers for 64 bit types (e.g., long long). > However, the src/m files have been removed in the trunk and the > above piece of configure with it. >>>>> On Mon, 11 Jun 2012, Glenn Morris wrote: >> emacs-24's configure.in already attempts to deal with this kind of >> thing: > I didn't look at the context of your patch; obviously you knew that. > I wonder if the removal of src/m/ in the trunk means it Just Works > now? Right, I haven't noticed any problems with the trunk. Will 24.2 be released from the trunk or from the emacs-24 branch? From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 11 16:55:24 2012 Received: (at 11669) by debbugs.gnu.org; 11 Jun 2012 20:55:24 +0000 Received: from localhost ([127.0.0.1]:38305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SeBe0-0003tm-8i for submit@debbugs.gnu.org; Mon, 11 Jun 2012 16:55:24 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:59092) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SeBdx-0003tf-Ou for 11669@debbugs.gnu.org; Mon, 11 Jun 2012 16:55:22 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SeBbO-0005DE-Ip; Mon, 11 Jun 2012 16:52:42 -0400 From: Glenn Morris To: Ulrich Mueller Subject: Re: bug#11669: 24.1; Build failure on amd64 with x32 ABI References: <20436.63644.849695.332693@a1i15.kph.uni-mainz.de> <20438.21705.2229.857235@a1i15.kph.uni-mainz.de> X-Spook: IRA AFSPC CIDA industrial espionage Lexis-Nexis Zachawi X-Ran: nN9ENh{KF=4qpme>2]tt%*iOfTlzoPq+YMkr"pSz/4vZx>xm2$^msK"au,&Tqi;?sK93xV X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 11 Jun 2012 16:52:42 -0400 In-Reply-To: <20438.21705.2229.857235@a1i15.kph.uni-mainz.de> (Ulrich Mueller's message of "Mon, 11 Jun 2012 22:27:53 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11669 Cc: 11669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Ulrich Mueller wrote: >> I wonder if the removal of src/m/ in the trunk means it Just Works >> now? > > Right, I haven't noticed any problems with the trunk. > > Will 24.2 be released from the trunk or from the emacs-24 branch? Effectively from trunk unless something unexpected happens. emacs-24 should get some form of band-aid "do not merge to trunk" fix for this, just in case. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 15 02:25:00 2012 Received: (at 11669) by debbugs.gnu.org; 15 Jun 2012 06:25:00 +0000 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 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 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 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 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 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----cutting-here-may-damage-your-screen-surface----41079905----" Content-Transfer-Encoding: 7bit Message-ID: <20442.54404.887127.876816@a1i15.kph.uni-mainz.de> Date: Fri, 15 Jun 2012 08:21:56 +0200 To: Glenn Morris Subject: Re: bug#11669: 24.1; Build failure on amd64 with x32 ABI In-Reply-To: References: <20436.63644.849695.332693@a1i15.kph.uni-mainz.de> <20438.21705.2229.857235@a1i15.kph.uni-mainz.de> X-Mailer: VM 8.2.0b under 23.4.2 (x86_64-pc-linux-gnu) From: Ulrich Mueller X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11669 Cc: 11669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) ------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------ From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 21 03:16:49 2012 Received: (at 11669) by debbugs.gnu.org; 21 Jun 2012 07:16:49 +0000 Received: from localhost ([127.0.0.1]:50595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShbdE-0000WV-2M for submit@debbugs.gnu.org; Thu, 21 Jun 2012 03:16:45 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:40335) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShbdB-0000WN-DR for 11669@debbugs.gnu.org; Thu, 21 Jun 2012 03:16:42 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1ShbZj-0004ix-Ud; Thu, 21 Jun 2012 03:13:08 -0400 From: Glenn Morris To: Ulrich Mueller Subject: Re: bug#11669: 24.1; Build failure on amd64 with x32 ABI References: <20436.63644.849695.332693@a1i15.kph.uni-mainz.de> <20438.21705.2229.857235@a1i15.kph.uni-mainz.de> <20442.54404.887127.876816@a1i15.kph.uni-mainz.de> X-Spook: covert video $400 million in gold bullion PLO USCODE X-Ran: ZGoO$6~bh@$+'&$?KBE-2\eTZ53O1ZMq^4&NcJKwsdL@ips0vWd51r^awYZ#t[W<0My=Bg X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 21 Jun 2012 03:13:07 -0400 In-Reply-To: <20442.54404.887127.876816@a1i15.kph.uni-mainz.de> (Ulrich Mueller's message of "Fri, 15 Jun 2012 08:21:56 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11669 Cc: 11669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Ulrich Mueller wrote: > 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.) The two patches don't (?) seem to be equivalent (wrt DATA_SEG_BITS and ULIMIT_BREAK_VALUE). I'd prefer to install the configure one, since it is more consistent with previous treatments. Unless there is some reason to prefer the other one? Accidental merging to trunk is not an issue. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 21 15:40:09 2012 Received: (at 11669) by debbugs.gnu.org; 21 Jun 2012 19:40:09 +0000 Received: from localhost ([127.0.0.1]:52005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShnEd-00059p-9U for submit@debbugs.gnu.org; Thu, 21 Jun 2012 15:40:09 -0400 Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:46508) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShnEa-00059f-Qc for 11669@debbugs.gnu.org; Thu, 21 Jun 2012 15:40:06 -0400 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 q5LJaToY011338; Thu, 21 Jun 2012 21:36:29 +0200 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 q5LJaT3m028423; Thu, 21 Jun 2012 21:36:29 +0200 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.5/8.14.5/Submit) id q5LJaSv5028421; Thu, 21 Jun 2012 21:36:28 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20451.30652.595114.298297@a1i15.kph.uni-mainz.de> Date: Thu, 21 Jun 2012 21:36:28 +0200 To: Glenn Morris Subject: Re: bug#11669: 24.1; Build failure on amd64 with x32 ABI In-Reply-To: References: <20436.63644.849695.332693@a1i15.kph.uni-mainz.de> <20438.21705.2229.857235@a1i15.kph.uni-mainz.de> <20442.54404.887127.876816@a1i15.kph.uni-mainz.de> X-Mailer: VM 8.2.0b under 23.4.2 (x86_64-pc-linux-gnu) From: Ulrich Mueller X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11669 Cc: 11669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >>>>> On Thu, 21 Jun 2012, Glenn Morris wrote: >> I've now applied a somewhat different solution to the Gentoo >> package, namely patching the m/amdx86-64.h file, see attached >> patch. > The two patches don't (?) seem to be equivalent (wrt DATA_SEG_BITS > and ULIMIT_BREAK_VALUE). There's an #undef DATA_SEG_BITS in m/amdx86-64.h, but DATA_SEG_BITS isn't defined at that point, in the first place. (It's only being defined in some machine and system files like HPUX and IRIX that are not relevant for our case.) Concerning ULIMIT_BREAK_VALUE: This is used only in vm-limit.c. However, the branch of the code where it is used isn't reached for modern GNU/Linux systems, because for these both HAVE_GETRLIMIT and RLIMIT_AS should be defined. (And I wonder if is even possible to run a recent Emacs with an address space limited to 32 MiB, as the ULIMIT_BREAK_VALUE of 32*1024*1024 suggests? This looks like a relic from the early 1990s to me.) > I'd prefer to install the configure one, since it is more consistent > with previous treatments. Unless there is some reason to prefer the > other one? Accidental merging to trunk is not an issue. *shrug* I don't have a strong preference. Patching the machine file looked slightly more systematic to me, because x32 really isn't intel386. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 21 15:47:57 2012 Received: (at 11669-done) by debbugs.gnu.org; 21 Jun 2012 19:47:57 +0000 Received: from localhost ([127.0.0.1]:52015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShnMC-00069Z-KK for submit@debbugs.gnu.org; Thu, 21 Jun 2012 15:47:57 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:54255) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShnMA-00069S-Oh for 11669-done@debbugs.gnu.org; Thu, 21 Jun 2012 15:47:55 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1ShnIh-0004FT-V4; Thu, 21 Jun 2012 15:44:19 -0400 From: Glenn Morris To: 11669-done@debbugs.gnu.org Subject: Re: bug#11669: 24.1; Build failure on amd64 with x32 ABI References: <20436.63644.849695.332693@a1i15.kph.uni-mainz.de> <20438.21705.2229.857235@a1i15.kph.uni-mainz.de> <20442.54404.887127.876816@a1i15.kph.uni-mainz.de> <20451.30652.595114.298297@a1i15.kph.uni-mainz.de> X-Spook: Mafia Dick Cheney Mena colonel lynch Blowfish X-Ran: banDe@]C0:ZL)$?#K'')O=K@&0pxaMuHL:b8>}u_c()t8f3x}LMB9U^+%w4v0Y X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 21 Jun 2012 15:44:19 -0400 In-Reply-To: <20451.30652.595114.298297@a1i15.kph.uni-mainz.de> (Ulrich Mueller's message of "Thu, 21 Jun 2012 21:36:28 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11669-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Version: 24.2 OK, I applied the configure version to the emacs-24 branch marked "do not merge to trunk". It should be academic anyway since at the moment it does not look like 24.2 will come from there (effectively). From unknown Fri Aug 15 21:21:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 20 Jul 2012 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator