GNU bug report logs -
#68083
30.0.50; Intermittent build failure with native compilation
Previous Next
Reported by: Aaron Jensen <aaronjensen <at> gmail.com>
Date: Thu, 28 Dec 2023 14:06:02 UTC
Severity: normal
Found in version 30.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #23 received at 68083 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Just to confirm, adding macroexpand to native-comp-never-optimize-functions
allows me to build successfully.
It also looks like comp-delete-or-replace-file can be updated to protect
rename-file against file-already-exists like it does for Windows. That
would also likely solve the problem if you want to be able to optimize
macroexpand.
Aaron
On Fri, Dec 29, 2023 at 3:26 PM, Aaron Jensen <aaronjensen <at> gmail.com> wrote:
> On Fri, Dec 29, 2023 at 3:17 PM, Andrea Corallo <acorallo <at> gnu.org> wrote:
>
> Aaron Jensen <aaronjensen <at> gmail.com> writes:
>
> Yes, that's what I've found. I can also confirm that compiling with 1
> thread works around it. It's only a problem w/ gmake -jN where N is > 1 (I
> run w/ 8 or 12 or so typically).
>
> Aaron
>
> Intresting, adding Jens, hopefully he has some good idea.
>
> Maybe you could re-add 'macroexpand' and 'rename-buffer' to
> 'native-comp-never-optimize-functions' and discover which one of the two
> is triggering the bug?
>
>
>
> I can't try it just now, but my trace includes: `File already exists:
> /private/var/tmp/emacs-plusA30-20231227-10652-1cz0rs/.brew_home/.emacs.d/eln-cache/30.0.50-69afc345/subr--trampoline-6d6163726f657870616e64_macroexpand_0.eln`
> so I'm guessing it's macroexpand.
>
> Aaron
>
[Message part 2 (text/html, inline)]
This bug report was last modified 1 year and 221 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.