From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Niels =?UTF-8?Q?S=C3=B8ndergaard?= Newsgroups: gmane.emacs.bugs Subject: bug#50411: 28.0.50; emacs compilation Date: Mon, 6 Sep 2021 10:38:14 +0200 Message-ID: References: <83y28as4g9.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_9656DD0B-87DC-4416-923D-E8155AC899D4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9208"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50411@debbugs.gnu.org, Niels =?UTF-8?Q?S=C3=B8ndergaard?= To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 06 10:39: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 1mNA9q-0002C1-Lc for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Sep 2021 10:39:14 +0200 Original-Received: from localhost ([::1]:43250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNA9p-0007SU-I5 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Sep 2021 04:39:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNA9e-0007Qt-Er for bug-gnu-emacs@gnu.org; Mon, 06 Sep 2021 04:39:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNA9e-0000gt-3X for bug-gnu-emacs@gnu.org; Mon, 06 Sep 2021 04:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mNA9d-00031t-VP for bug-gnu-emacs@gnu.org; Mon, 06 Sep 2021 04:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Niels =?UTF-8?Q?S=C3=B8ndergaard?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Sep 2021 08:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50411 X-GNU-PR-Package: emacs Original-Received: via spool by 50411-submit@debbugs.gnu.org id=B50411.163091752111616 (code B ref 50411); Mon, 06 Sep 2021 08:39:01 +0000 Original-Received: (at 50411) by debbugs.gnu.org; 6 Sep 2021 08:38:41 +0000 Original-Received: from localhost ([127.0.0.1]:51716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNA9F-00031B-5n for submit@debbugs.gnu.org; Mon, 06 Sep 2021 04:38:41 -0400 Original-Received: from algon.dk ([212.99.233.66]:45306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNA9D-00030x-Fy for 50411@debbugs.gnu.org; Mon, 06 Sep 2021 04:38:36 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by algon.dk (Postfix) with ESMTP id 0FE212004F; Mon, 6 Sep 2021 10:38:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at algon.dk Original-Received: from algon.dk ([127.0.0.1]) by localhost (odin.algon.dk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4ISa3fpFQebR; Mon, 6 Sep 2021 10:38:27 +0200 (CEST) Original-Received: from smtpclient.apple (unknown [85.83.136.51]) by algon.dk (Postfix) with ESMTPA id B7DC02004B; Mon, 6 Sep 2021 10:38:27 +0200 (CEST) X-Mailbutler-Data: eyJzaWduYXR1cmVJRCI6IjFEOEY1NzZELTc3NjYtNDA4NC04MTk4LTU4REIyNTAzMjRDRSJ9 In-Reply-To: <83y28as4g9.fsf@gnu.org> X-Mailbutler-Message-Id: 0DCDC823-AA84-4509-B0D5-E7AF90BC083D X-Mailer: Apple Mail (2.3654.120.0.1.13) 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:213563 Archived-At: --Apple-Mail=_9656DD0B-87DC-4416-923D-E8155AC899D4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Addendum: I have libgcc_s.1.1.dylib at /opt/homebrew/Cellar/gcc/11.2.0/lib/gcc/11 = all newly installed after the book mvh Niels Niels S=C3=B8ndergaard Marieh=C3=B8j 236, 2990 Niv=C3=A5 +45 4052 2789niels@algon.dk Ultra posse nemo obligatur. > Den 6. sep. 2021 kl. 06.39 skrev Eli Zaretskii : >=20 >> From: Niels S=C3=B8ndergaard >> Date: Sun, 5 Sep 2021 21:10:25 +0200 >>=20 >> I tried to compile 28.0.50 --with-native-compilation >>=20 >> this warning came out: >>=20 >> Warning (initialization): An error occurred while loading = =E2=80=98/Users/niels/.emacs.d/init.el=E2=80=99: >>=20 >> Native compiler error: (lambda (arg0 &optional) (let ((f = #'yes-or-no-p)) (funcall f arg0))), Compiling >> = /Users/niels/.emacs.d/eln-cache/28_0_50-8be1867a/subr--trampoline-7965732d= 6f722d6e6f2d70_yes_or_no_p_0.eln... >>=20 >> ld: library not found for -lgcc_s.1.1 >> libgccjit.so: error: error invoking gcc driver >=20 > This means your libgccjit installation is broken: it lacks some shared > libraries it needs, at least the one shown, libgcc_s.1.1.so (or maybe > the extension should be .dynlib on macOS?). >=20 >> the rest of the compilation goes well, however the statement, but = emacs >> crashes under initialization whenever it tries to evaluate (fset = 'yes-or-no-p 'y-or-n-p)...... >=20 > Yes, of course: it tries to call functions from a missing library. --Apple-Mail=_9656DD0B-87DC-4416-923D-E8155AC899D4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Addendum:

I= have libgcc_s.1.1.dylib at  /opt/homebrew/Cellar/gcc/11.2.0/lib/gcc/11= all newly installed after the book

mvh
Niels
3D"Signature
Ultra posse nemo obligatur.
          =                     =                     =          

Den 6. sep. 2021 kl. 06.39 skrev Eli Zaretskii <eliz@gnu.org>:

From: Niels S=C3=B8ndergaard <nisoni@algon.dk>
Date: Sun, 5 Sep 2021 21:10:25 +0200

I tried to compile 28.0.50 --with-native-compilation

this warning came out:

Warning (initialization): An error occurred while loading = =E2=80=98/Users/niels/.emacs.d/init.el=E2=80=99:

Native compiler error: (lambda (arg0 &optional) (let ((f = #'yes-or-no-p)) (funcall f arg0))), Compiling
/Users/niels/.emacs.d/eln-cache/28_0_50-8be1867a/subr--trampoli= ne-7965732d6f722d6e6f2d70_yes_or_no_p_0.eln...

ld: library not found for -lgcc_s.1.1
libgccjit.so: error: error invoking gcc driver

This means your libgccjit installation is broken: it lacks = some shared
libraries it = needs, at least the one shown, libgcc_s.1.1.so (or maybe
the extension should be .dynlib = on macOS?).

the = rest of the compilation goes well, however the statement, but emacs
crashes under initialization whenever it tries to evaluate = (fset 'yes-or-no-p 'y-or-n-p)......

Yes, of course: it tries to call = functions from a missing library.

3D""= --Apple-Mail=_9656DD0B-87DC-4416-923D-E8155AC899D4--