From: Andrea Corallo Date: Tue, 8 Sep 2020 08:58:59 +0000 (+0200) Subject: * src/comp.c (Fcomp__compile_ctxt_to_file): Don't cleanup caches at bootstrap. X-Git-Tag: emacs-28.0.90~2727^2~454 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=15acd27d1c0de8b56bab61daa0a8fcd4fef0fdc4;p=emacs.git * src/comp.c (Fcomp__compile_ctxt_to_file): Don't cleanup caches at bootstrap. --- diff --git a/src/comp.c b/src/comp.c index 5880224ac77..71a36a60a08 100644 --- a/src/comp.c +++ b/src/comp.c @@ -4359,7 +4359,10 @@ DEFUN ("comp--compile-ctxt-to-file", Fcomp__compile_ctxt_to_file, GCC_JIT_OUTPUT_KIND_DYNAMIC_LIBRARY, SSDATA (tmp_file)); - CALL1I (comp-clean-up-stale-eln, file_name); + /* FIXME: this if workaround a cc-bytecomp compilation issue + appearing on the Docker build that must be investigated. */ + if (NILP (Fsymbol_value(intern_c_string ("byte-native-for-bootstrap")))) + CALL1I (comp-clean-up-stale-eln, file_name); CALL2I (comp-delete-or-replace-file, file_name, tmp_file); if (!noninteractive)