unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#51104: comp-tests.elc messes up after reconfiguring for different machine
@ 2021-10-08 22:59 Paul Eggert
  2022-09-12 11:15 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: Paul Eggert @ 2021-10-08 22:59 UTC (permalink / raw)
  To: 51104; +Cc: Andrea Corallo

When trying out the emacs-28 branch on both 32- and 64-bit platforms, I 
had test failures that I tracked down to this line:

test/src/comp-tests.el:933:       (integer ,most-negative-fixnum 
,most-positive-fixnum))

My problem was that I'd built test/src/comp-tests.elc on a 32-bit 
platform (using "./configure CC='gcc -m32'" on an x86-64 machine) so 
that .elc file had been built assuming 32-bit values for 
most-negative-fixnum and most-positive fixnum. When I then re-ran 
'configure' for a 64-bit platform the .elc files were not automatically 
rebuilt for it (they're supposed to be machine-independent, right?) and 
so the optimizations were incorrect for a 64-bit platform and the tests 
failed.

What's a good way to fix this problem, while still testing everything 
that comp-tests.el wants to test?





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-09-13 14:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08 22:59 bug#51104: comp-tests.elc messes up after reconfiguring for different machine Paul Eggert
2022-09-12 11:15 ` Lars Ingebrigtsen
2022-09-12 11:43   ` Eli Zaretskii
2022-09-12 15:30   ` Andrea Corallo
2022-09-12 17:54     ` Paul Eggert via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-12 19:34       ` Andrea Corallo
2022-09-12 20:34         ` Paul Eggert via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-12 21:05     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-13 11:21       ` Lars Ingebrigtsen
2022-09-13 13:39         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-13 14:09         ` Andrea Corallo

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).