From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Kirill A. Korinsky" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#45817: 28.0.50; Native fails Date: Tue, 12 Jan 2021 21:44:18 +0100 Message-ID: References: <8D26BD1C-F176-4F8F-9D95-3035DBD9FB0C@korins.ky> Reply-To: "Kirill A. Korinsky" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Content-Type: multipart/signed; boundary="Apple-Mail=_DBA3FB0A-E4AD-4F11-904E-98D718D0EFFA"; protocol="application/pgp-signature"; micalg=pgp-sha512 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37546"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45817@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 12 21:57:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzQj3-0009cA-RE for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 21:57:14 +0100 Original-Received: from localhost ([::1]:51360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzQj2-00026k-Sg for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 15:57:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzQiu-00024S-6z for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 15:57:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50108) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzQit-0005vk-Vd for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 15:57:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzQit-00032c-VZ for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 15:57:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Kirill A. Korinsky" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jan 2021 20:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45817 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: 45817@debbugs.gnu.org, "Kirill A. Korinsky via Bug reports for GNU Emacs, the Swiss army knife of text editors" Original-Received: via spool by 45817-submit@debbugs.gnu.org id=B45817.161048497111579 (code B ref 45817); Tue, 12 Jan 2021 20:57:03 +0000 Original-Received: (at 45817) by debbugs.gnu.org; 12 Jan 2021 20:56:11 +0000 Original-Received: from localhost ([127.0.0.1]:33416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzQi3-00030c-2G for submit@debbugs.gnu.org; Tue, 12 Jan 2021 15:56:11 -0500 Original-Received: from sender4-op-o12.zoho.com ([136.143.188.12]:17254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzQWm-0000au-TO for 45817@debbugs.gnu.org; Tue, 12 Jan 2021 15:44:33 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1610484265; cv=none; d=zohomail.com; s=zohoarc; b=ndBgiRuec/oz+kwqcet4Dq5ZI3AxvGRauhLIwPWhtzkUvphobb8wgwlsE1vj+De7f2amLwYgpgw8dvH30mrLjwRDDHs4dm8/CzJP3IKTqBaUERQWu77+knfpQXAnVrLqTAFBB25XQmvlLKR/APuo074gZTn8CLznKaQ0LiOqZYo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610484265; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=A2t+WHwkksHGdujqmzzPo9i5GpXiqifBFHqReh2vUCw=; b=jjYn5aZVknDnEWx+UEwiQX1tnBvGApQ5L/41pA6euPMpwvFoZ1xrxTKKxN6pA9CLzsNL9QnFyogB3dLjBOqhoQ+meaNLJ6dXvFyPOXX2HdGFoji/zSvy3Dcuqr5GIXpuRGxi+nk+4wqwCseYO1W0MDqvr1fQ+T/Wb8/prI+Nwmo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=korins.ky; spf=pass smtp.mailfrom=kirill@korins.ky; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1610484265; s=april2018zoho; d=korins.ky; i=kirill@korins.ky; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Message-Id:References:To; bh=A2t+WHwkksHGdujqmzzPo9i5GpXiqifBFHqReh2vUCw=; b=Mdu2DcZzo1Puvoh3nhSfMe3lw5OqZjkM4Z09L5EGsHcTOEWA5dC/jzw1lEquOXlX TezjMP8VB8rlnVU95Z96d6jcwfBEp91I5ZT6wTQhBNcLEVTHLqnGjxBboAsb7wmJTLe /bu/CxSuvRDZx/FsTz3G/7n1FzdeF08nEgfksCyE= Original-Received: from macbook-pro.sa31-home.catap.net (sa31.catap.net [90.187.54.213]) by mx.zohomail.com with SMTPS id 1610484262977686.7317025820629; Tue, 12 Jan 2021 12:44:22 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Zoho-Virus-Status: 1 X-ZohoMailClient: External X-Mailman-Approved-At: Tue, 12 Jan 2021 15:56:05 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:197860 Archived-At: --Apple-Mail=_DBA3FB0A-E4AD-4F11-904E-98D718D0EFFA Content-Type: multipart/alternative; boundary="Apple-Mail=_01BC0870-5447-4010-8F63-C693B700E9F8" --Apple-Mail=_01BC0870-5447-4010-8F63-C693B700E9F8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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) #)(comp-final) mapc(#f(compiled-function (pass) #) = (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-darwin2= 0.2.0-fd47d85b89f8ef6ced8660b41eff701c/subr--trampoline-7965732d6f722d6e6f= 2d70_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 wrote: >=20 > "Kirill A. Korinsky" > = writes: >=20 >> Here it is: >>=20 >> =E2=88=9A ~ % 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() >>=20 >> ? ~ % >>=20 >> The last ? means that exit code wasn't zero >=20 > 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). >=20 > Andrea --Apple-Mail=_01BC0870-5447-4010-8F63-C693B700E9F8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 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-darwin2= 0.2.0-fd47d85b89f8ef6ced8660b41eff701c/subr--trampoline-7965732d6f722d6e6f= 2d70_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> writes:

Here = it is:

=E2=88=9A ~ % 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

= --Apple-Mail=_01BC0870-5447-4010-8F63-C693B700E9F8-- --Apple-Mail=_DBA3FB0A-E4AD-4F11-904E-98D718D0EFFA Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE3/KLNtcfWfLw7JxqmNjZhndZIm4FAl/+CiIACgkQmNjZhndZ Im4y9RAAs8gZu+8Mn3zMYo4av+PNkwkWyIOg2rGM2itTB/s4xpprv9VI07/0VxYp UH0y5YsX9x8oNga7nQmJbsPiftxzxiYNVJJ5vByXrmxiZJNv0s7RGGjZ4mBWSQ9V X9mJSGGJm4xA59H718ie7w1KqGI58I2FIYF+hu1FJqd8xBByfUeuANGM9UqcBefW MAKjPPGKjVim7MjfPjA/KNjSDbBfRWixDw5XHmJ7PoNCPItErY7NvX77lVJldtdn z60RZ4OxKj2nhqqHWQ2/L6ZFewrWCXLxWIl6Z7ElWIDNbT1dwr1bC+Eh8qawTQWY IJ5zPXIVHnIt0qFW2ebkfwdlfFE57BASYIJ0DNmJzRUrUyhUeakIsInKndl9U5Ff LiOX8TQ/0WUChnHDdwB7bBWo2ISOd9n2bZo7xaQMdoFqL+SccSU8nTrKDTKgSxR6 dNtBLmeyyLQ1HUNihsTeE+AyTimEOl82WMvSApjHXtssyquHVUIlawjdCETiq1hH bHo4lE2xBQ7yNNN6dG1G2Uq09I9P9TKn1nFoB3YxHfaTaLKfaDy5pfOgLdbcBYp0 cHiM4uMo0iGE3UtrYYZf4ISY9d1eOVwE5ZCBVwoi+GoBkD9CwbghGpmg+MVHzo4p Slpo/N4fxtG+/RIBpQEg7IFs7gzkJVs3hEJnZtJroeRy/xKHh/Q= =3lPk -----END PGP SIGNATURE----- --Apple-Mail=_DBA3FB0A-E4AD-4F11-904E-98D718D0EFFA--