unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Kirill A. Korinsky" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Andrea Corallo <akrl@sdf.org>
Cc: 45817@debbugs.gnu.org
Subject: bug#45817: 28.0.50; Native fails
Date: Tue, 12 Jan 2021 21:44:18 +0100	[thread overview]
Message-ID: <FC32037E-7C3F-45D8-9BAA-71423032F85D@korins.ky> (raw)
In-Reply-To: <xjfh7nldhrw.fsf@sdf.org>


[-- Attachment #1.1: Type: text/plain, Size: 2347 bytes --]

Both LD_LIBRARY_PATH and DYLD_LIBRARY_PATH doesn't help.

But if I put into early-init.el:

(setq comp-native-driver-options '(
      (concat
       "-L"
       (substring (shell-command-to-string "xcode-select -p") 0 -1)
       "/SDKs/MacOSX.sdk/usr/lib")))

The error has changed to:

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p "Abort trap: 6")
  comp-final(nil)
  #f(compiled-function (pass) #<bytecode 0xb1e0d621e6fccdf>)(comp-final)
  mapc(#f(compiled-function (pass) #<bytecode 0xb1e0d621e6fccdf>) (comp-spill-lap comp-limplify comp-fwprop comp-call-optim comp-ipa-pure comp-add-cstrs comp-fwprop comp-dead-code comp-tco comp-fwprop comp-remove-type-hints comp-final))
  comp--native-compile((lambda (arg0 &optional) (let ((f #'yes-or-no-p)) (funcall f arg0))) nil "/Users/catap/src/doom-emacs/.local/cache/eln/28.0.50-x86_64-apple-darwin20.2.0-fd47d85b89f8ef6ced8660b41eff701c/subr--trampoline-7965732d6f722d6e6f2d70_yes_or_no_p_0.eln")
  comp-trampoline-compile(yes-or-no-p)
  comp-subr-trampoline-install(yes-or-no-p)


--
wbr, Kirill

> On 12. Jan 2021, at 21:25, Andrea Corallo <akrl@sdf.org> wrote:
> 
> "Kirill A. Korinsky" <kirill@korins.ky <mailto:kirill@korins.ky>> writes:
> 
>> Here it is:
>> 
>> √ ~ % emacs -batch -eval "(comp-subr-trampoline-install #'message)"
>> Debugger entered--Lisp error: (native-compiler-error (lambda (arg0 &rest arg1) (let ((f #'message)) (apply f arg0 arg1)))
>> "Compiling /Users/catap/.emacs.d/eln-cache/28.0.50-...")
>>  signal(native-compiler-error ((lambda (arg0 &rest arg1) (let ((f #'message)) (apply f arg0 arg1))) "Compiling
>> /Users/catap/.emacs.d/eln-cache/28.0.50-..."))
>>  comp--native-compile((lambda (arg0 &rest arg1) (let ((f #'message)) (apply f arg0 arg1))) nil
>> "/Users/catap/.emacs.d/eln-cache/28.0.50-x86_64-app...")
>>  comp-trampoline-compile(message)
>>  comp-subr-trampoline-install(message)
>>  command-line-1(("-eval" "(comp-subr-trampoline-install #'message)"))
>>  command-line()
>>  normal-top-level()
>> 
>> ? ~ %
>> 
>> The last ? means that exit code wasn't zero
> 
> Yeah sorry, I've lost track of all messages I'm replying and thought
> were two separate bugs, I think the right counter measure to this issue
> is in my last message on this thread (LIBRARY_PATH).
> 
>  Andrea


[-- Attachment #1.2: Type: text/html, Size: 9469 bytes --]

[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-01-12 20:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-12 15:04 bug#45817: 28.0.50; Native fails Kirill A. Korinsky via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found] ` <handler.45817.B.161046478816838.ack@debbugs.gnu.org>
2021-01-12 18:10   ` bug#45817: Acknowledgement (28.0.50; Native fails) Kirill A. Korinsky via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-12 18:44     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-12 19:35       ` Kirill A. Korinsky via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-12 20:09         ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-12 19:38 ` bug#45817: 28.0.50; Native fails Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-12 20:05   ` Kirill A. Korinsky via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-12 20:25     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-12 20:44       ` Kirill A. Korinsky via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-01-14  2:19         ` Kirill A. Korinsky via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-14  3:32           ` Eli Zaretskii
2021-01-14  9:33             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-14 14:04               ` Eli Zaretskii
2021-01-14 14:31                 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-14 10:51             ` Kirill A. Korinsky via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-14  9:34           ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FC32037E-7C3F-45D8-9BAA-71423032F85D@korins.ky \
    --to=bug-gnu-emacs@gnu.org \
    --cc=45817@debbugs.gnu.org \
    --cc=akrl@sdf.org \
    --cc=kirill@korins.ky \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).