GNU bug report logs -
#11669
24.1; Build failure on amd64 with x32 ABI
Previous Next
Reported by: Ulrich Mueller <ulm <at> gentoo.org>
Date: Sun, 10 Jun 2012 19:46:01 UTC
Severity: important
Tags: patch
Found in version 24.1
Fixed in version 24.2
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 11669 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
> 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.)
[emacs-24.1-x32.patch (text/plain, inline)]
--- 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 <http://www.gnu.org/licenses/>. */
+#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
This bug report was last modified 13 years and 29 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.