GNU bug report logs - #51104
comp-tests.elc messes up after reconfiguring for different machine

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Fri, 8 Oct 2021 23:00:02 UTC

Severity: minor

Tags: moreinfo

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Subject: bug#51104: closed (Re: bug#51104: comp-tests.elc messes up after
 reconfiguring for different machine)
Date: Mon, 12 Sep 2022 20:35:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 51104 <at> debbugs.gnu.org.

-- 
51104: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51104
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: 51104-done <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>,
 Andrea Corallo <andrea_corallo <at> yahoo.it>
Subject: Re: bug#51104: comp-tests.elc messes up after reconfiguring for
 different machine
Date: Mon, 12 Sep 2022 15:34:29 -0500
[Message part 3 (text/plain, inline)]
On 9/12/22 14:34, Andrea Corallo wrote:
> Probably the quickest and easiest fix is just to add the
> `no-byte-compile' into comp-tests.el.

Thanks for the suggestion. I installed the attached and am closing the 
bug report.
[0001-Fix-comp-tests.el-problem-after-reconfiguring.patch (text/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Emacs bug reports and feature requests <bug-gnu-emacs <at> gnu.org>
Cc: Andrea Corallo <andrea_corallo <at> yahoo.it>
Subject: comp-tests.elc messes up after reconfiguring for different machine
Date: Fri, 8 Oct 2021 15:59:06 -0700
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?



This bug report was last modified 2 years and 253 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.