From: Eli Zaretskii <eliz@gnu.org>
To: 20862@debbugs.gnu.org
Subject: bug#20862: 25.0.50; 32-bit Emacs configured --with-wide-int miscompiles CL
Date: Sun, 21 Jun 2015 18:30:39 +0300 [thread overview]
Message-ID: <83k2uxhye8.fsf@gnu.org> (raw)
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))
next reply other threads:[~2015-06-21 15:30 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-21 15:30 Eli Zaretskii [this message]
2015-06-25 3:31 ` bug#20862: 25.0.50; 32-bit Emacs configured --with-wide-int miscompiles CL Paul Eggert
2015-06-25 14:30 ` Eli Zaretskii
2015-06-26 19:59 ` Paul Eggert
2015-06-26 20:39 ` Eli Zaretskii
2015-06-26 20:45 ` Paul Eggert
2015-06-26 21:30 ` Glenn Morris
2015-06-27 7:22 ` Eli Zaretskii
2015-06-27 15:56 ` Paul Eggert
2015-06-27 16:30 ` Eli Zaretskii
2015-06-27 16:36 ` Andreas Schwab
2015-06-27 18:01 ` Paul Eggert
2015-06-27 18:39 ` Eli Zaretskii
2015-06-27 18:40 ` Paul Eggert
2015-06-27 19:41 ` Eli Zaretskii
2015-06-28 15:48 ` Eli Zaretskii
2015-06-28 16:01 ` Paul Eggert
2015-06-27 7:17 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83k2uxhye8.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=20862@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.