Subject: Re: bug#76523: 30.0.93; with-native-compilation=aot breaks some Lisp

From: Stefan Kangas <[email-masked]>
Date: Mon, 24 Feb 2025 17:21:39 +0000

Pip Cet via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <[email-masked]> writes:

> "Spencer Baugh via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\"" <[email-masked]> writes:
>
>> 1. cd ~/src/emacs/emacs-30
>> 2. ./configure --without-all --without-x --with-zlib --with-native-compilation=aot && make -j64
>> 3. ./src/emacs --batch --eval '(progn (require '\''package) (package-read-from-string "((emacs \"26.1\"))"))'
>> 4. Observe this error:
>> Error: error ("Can’t read whole string")
>>   error("Can't read whole string")
>>   package-read-from-string("((emacs \"26.1\"))")
>>   (progn (require 'package) (package-read-from-string "((emacs \"26.1\"))"))
>>   eval((progn (require 'package) (package-read-from-string "((emacs \"26.1\"))")) t)
>>   command-line-1(("--eval" "(progn (require 'package) (package-read-from-string \"((emacs \\\"26.1\\\"))\"))"))
>>   command-line()
>>   normal-top-level()
>> Can’t read whole string
>
> This is bug#63288, fixed on master but not on emacs-30, IIUC.  One
> warkaround is not to pass "-j64" to make.
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63288

Which commit fixes this on master?