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

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

bug#51104: comp-tests.elc messes up after reconfiguring for different ma


From: Paul Eggert
Subject: bug#51104: comp-tests.elc messes up after reconfiguring for different machine
Date: Fri, 8 Oct 2021 15:59:06 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

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?





reply via email to

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