Subject: bug#51308: 29.0.50; A number of tests fail with AOT

From: Eli Zaretskii <[email-masked]>
Date: Wed, 20 Oct 2021 21:28:07 +0300

> From: Lars Ingebrigtsen <[email-masked]>
> Date: Wed, 20 Oct 2021 20:20:44 +0200
> Cc: Andrea Corallo <[email-masked]>
> 
> Files examined: 375
> Ran 5645 tests, 5513 results as expected, 8 unexpected, 124 skipped
> 5 files contained unexpected results:
>   lisp/net/socks-tests.log
>   lisp/loadhist-tests.log
>   lisp/hi-lock-tests.log
>   lisp/emacs-lisp/ert-tests.log
>   lisp/calendar/todo-mode-tests.log
> 
> I have not tried to debug this further, but a cursory look at the
> backtraces seems to suggest the failures might have something to do with
> redefining functions -- but that's just a guess.

Code that redefines functions which are in *.eln files should disable
native-compilation.