From: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: corwin@bru.st, emacs-devel@gnu.org,
Drew Adams <drew.adams@oracle.com>, Andrea Corallo <akrl@sdf.org>
Subject: Re: [External] : emacs-28 windows binaries available from alpha
Date: Sat, 05 Feb 2022 10:22:26 +0100 [thread overview]
Message-ID: <xm46tuddhdm5.fsf@duenenhof-wilhelm.de> (raw)
In-Reply-To: <834k5d3hbv.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 05 Feb 2022 09:25:56 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Drew Adams <drew.adams@oracle.com>
>> Date: Fri, 4 Feb 2022 22:12:34 +0000
>> Cc: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
>>
>> I meant to include the backtrace:
>>
>> Debugger entered--Lisp error: (error "Cannot find libgccjit library")
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> error("Cannot find libgccjit library")
>> comp-ensure-native-compiler()
>> comp--native-compile((lambda (arg0 &optional arg1 arg2 arg3) (let ((f #'read-buffer)) (funcall f arg0 arg1 arg2 arg3))) nil "d:/usr/drew/.emacs.d/eln-cache/28.0.91-bfc49136/su...")
>> comp-trampoline-compile(read-buffer)
>> comp-subr-trampoline-install(read-buffer)
>> defalias(read-buffer #f(compiled-function (prompt &optional default require-match predicate) #<bytecode 0x1283e7579f6aadb2>))
>> load-file("~/drews-lisp-20/strings.elc")
>> funcall-interactively(load-file "~/drews-lisp-20/strings.elc")
>> command-execute(load-file record)
>> execute-extended-command(nil "load-file" "load-f")
>> funcall-interactively(execute-extended-command nil "load-file" "load-f")
>> command-execute(execute-extended-command)
>
> Andrea, is this expected on a machine that lacks libgccjit? Under
> what conditions would loading a .elc file trigger native-compilation
> of a trampoline?
>
> If this is expected, I'd prefer that we detected the unavailability of
> libgccjit earlier, and avoided the attempt to compile a trampoline in
> the first place. Can this be done safely enough to make the change on
> the release branch?
>
> Failing that, the error should be converted to a warning message in a
> way that doesn't defeat the loading of the .elc file. Can you suggest
> a safe change for that?
On a Windows system WITH ligccjit I could load Drew's .elc file without
an error.
Then I added his .el file in the same folder and reloaded the .elc file
(with load-file). I was expecting that Emacs would create a respective
.eln file in this situation. But it didn't.
Loading d:/tmp/Corwin/strings.elc (compiled; note, source file is
newer)...done
Does this mean that Emacs - by default - is only natively compiling .el
files which are from Emacs' tree and (M)elpa packages?
When (load-file)ing the .el file then Emacs compiled the cl.el library.
*Asyn-native-compoile-log* Compiling
d:/tmp/Corwin/2022-02-04/share/emacs/28.0.91/lisp/obsolete/cl.el...
*Messages* Loading d:/tmp/Corwin/strings.el (source)...
d:/tmp/Corwin/strings.el: Warning: ‘psetq’ is an obsolete alias (as of
27.1); use ‘cl-psetq’ instead.
Thanks
Dieter
next prev parent reply other threads:[~2022-02-05 9:22 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-04 18:54 emacs-28 windows binaries available from alpha Corwin Brust
2022-02-04 22:08 ` [External] : " Drew Adams
2022-02-04 22:12 ` Drew Adams
2022-02-04 23:10 ` Corwin Brust
2022-02-05 1:28 ` Drew Adams
2022-02-05 4:35 ` Corwin Brust
2022-02-05 7:43 ` Eli Zaretskii
2022-02-05 8:48 ` Corwin Brust
2022-02-05 9:15 ` Eli Zaretskii
2022-02-05 18:16 ` Drew Adams
2022-02-05 7:25 ` Eli Zaretskii
2022-02-05 9:22 ` H. Dieter Wilhelm [this message]
2022-02-05 9:40 ` Eli Zaretskii
2022-02-05 16:49 ` H. Dieter Wilhelm
2022-02-05 17:54 ` Eli Zaretskii
2022-02-05 19:25 ` H. Dieter Wilhelm
2022-02-05 19:47 ` Eli Zaretskii
2022-02-05 21:11 ` H. Dieter Wilhelm
2022-02-05 22:56 ` Corwin Brust
2022-02-06 0:10 ` Drew Adams
2022-02-06 8:22 ` Eli Zaretskii
2022-02-06 8:51 ` Drew Adams
2022-02-06 9:25 ` Eli Zaretskii
2022-02-06 17:08 ` Drew Adams
2022-02-06 17:33 ` Eli Zaretskii
2022-02-06 8:18 ` Eli Zaretskii
2022-02-05 10:10 ` Eli Zaretskii
2022-02-06 3:11 ` Corwin Brust
2022-02-06 6:57 ` Drew Adams
2022-02-06 9:11 ` Eli Zaretskii
2022-02-06 17:07 ` Drew Adams
2022-02-09 19:08 ` Eli Zaretskii
2022-02-09 21:03 ` Andrea Corallo
2022-02-10 5:52 ` Eli Zaretskii
2022-02-10 8:56 ` Andrea Corallo
2022-02-10 12:13 ` Eli Zaretskii
2022-02-10 13:36 ` Andrea Corallo
2022-02-10 17:15 ` Eli Zaretskii
2022-02-10 18:34 ` Andrea Corallo
2022-02-11 8:29 ` Eli Zaretskii
2022-02-11 9:16 ` Andrea Corallo
2022-02-11 9:21 ` Andrea Corallo
2022-02-11 11:31 ` Eli Zaretskii
2022-02-11 14:16 ` Andrea Corallo
2022-02-11 14:33 ` Eli Zaretskii
2022-02-11 14:38 ` Andrea Corallo
2022-02-11 11:30 ` Eli Zaretskii
2022-02-11 14:18 ` Andrea Corallo
2022-02-11 14:35 ` Eli Zaretskii
2022-02-11 14:44 ` Andrea Corallo
2022-02-11 15:16 ` Eli Zaretskii
2022-02-14 10:25 ` Andrea Corallo
2022-02-10 22:50 ` Corwin Brust
2022-02-06 0:33 ` Corwin Brust
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xm46tuddhdm5.fsf@duenenhof-wilhelm.de \
--to=dieter@duenenhof-wilhelm.de \
--cc=akrl@sdf.org \
--cc=corwin@bru.st \
--cc=drew.adams@oracle.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.