bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20862: 25.0.50; 32-bit Emacs configured --with-wide-int miscompiles


From: Eli Zaretskii
Subject: bug#20862: 25.0.50; 32-bit Emacs configured --with-wide-int miscompiles CL
Date: Sun, 21 Jun 2015 18:30:39 +0300

To reproduce, on a 32-bit system:

 ./configure ... --with-wide-int
 make
 cd test/automated
 make

This causes the cl-lib-tests to fail in this innocent check:

  (ert-deftest cl-lib-test-first ()
    (should (null (cl-first '()))) <<<<<<<<<<<<<<<<<

The error is "Invalid function ((nil))".

The same test runs fine in a 32-bit build with 32-bit ints.

While digging into this, I found out that if I compile cl-lib-test.el
with an Emacs executable that doesn't use wide ints, the test
succeeds.  So I compared the .elc files, and they indeed differ.
Moreover, by comparing the *.elc files in the entire Emacs tree, I
found 3 files that differ: cl-generic.elc, srt-wy.elc, and one file in
Eshell whose name I don't remember.

Focusing my attention on cl-generic, which might explain why
cl-lib-tests fails, how can I debug this?  Would presenting
disassembly of a part of the byte code where I see differences help
someone to come up with ideas?  Are there any other directions to
investigate this?

Did anyone run the test suite successfully in such a 32-bit build?  Do
all the *.elc files come out identical to a "normal" 32-bit build?

TIA


In GNU Emacs 25.0.50.189 (i686-pc-mingw32)
 of 2015-06-21 on HOME-C4E4A596F7
Repository revision: 821a3633564f36857968c7fe2b8bb6681a895905
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --prefix=/d/usr --enable-checking=yes,glyphs --with-wide-int
 'CFLAGS=-gdwarf-4 -g3 -O0''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1255

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message dired format-spec
rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util help-fns mail-prsvr mail-utils time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic indian cyrillic chinese charscript
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote w32notify w32 multi-tty
make-network-process emacs)

Memory information:
((conses 16 79448 7064)
 (symbols 56 18398 0)
 (miscs 48 36 96)
 (strings 16 12848 4918)
 (string-bytes 1 326874)
 (vectors 16 10639)
 (vector-slots 8 396234 8479)
 (floats 8 114 55)
 (intervals 40 251 67)
 (buffers 856 11))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]