GNU bug report logs - #76523
30.0.93; with-native-compilation=aot breaks some Lisp

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Mon, 24 Feb 2025 16:20:01 UTC

Severity: normal

Found in version 30.0.93

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pip Cet <pipcet <at> protonmail.com>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: sbaugh <at> janestreet.com, acorallo <at> gnu.org, 76523 <at> debbugs.gnu.org
Subject: bug#76523: 30.0.93; with-native-compilation=aot breaks some Lisp
Date: Mon, 24 Feb 2025 18:31:32 +0000
"Stefan Kangas" <stefankangas <at> gmail.com> writes:

> Pip Cet via "Bug reports for GNU Emacs, the Swiss army knife of text
> editors" <bug-gnu-emacs <at> gnu.org> writes:
>
>> "Spencer Baugh via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\"" <bug-gnu-emacs <at> gnu.org> 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?

53a5dada413662389a17c551a00d215e51f5049f
    Fix compilation errors due to insufficient compiler safety (bug#63288)

Pip





This bug report was last modified 109 days ago.

Previous Next


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