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:30:27 +0200 Message-ID: <30FF0A49-67AE-4071-8C85-1350355F1908@algon.dk> 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=_55AB2333-A1CB-4A9A-AE70-AB4DBB02B568" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14521"; 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:32:27 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 1mNA3H-0003bK-7G for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Sep 2021 10:32:27 +0200 Original-Received: from localhost ([::1]:60798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNA3F-0008TE-JA for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Sep 2021 04:32:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNA1w-0007hI-Jg for bug-gnu-emacs@gnu.org; Mon, 06 Sep 2021 04:31:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40141) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNA1v-00027r-5o for bug-gnu-emacs@gnu.org; Mon, 06 Sep 2021 04:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mNA1v-0002nP-1D for bug-gnu-emacs@gnu.org; Mon, 06 Sep 2021 04:31:03 -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:31:02 +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.163091705510717 (code B ref 50411); Mon, 06 Sep 2021 08:31:02 +0000 Original-Received: (at 50411) by debbugs.gnu.org; 6 Sep 2021 08:30:55 +0000 Original-Received: from localhost ([127.0.0.1]:51685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNA1h-0002mf-HG for submit@debbugs.gnu.org; Mon, 06 Sep 2021 04:30:54 -0400 Original-Received: from algon.dk ([212.99.233.66]:44210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNA1f-0002mP-Lt for 50411@debbugs.gnu.org; Mon, 06 Sep 2021 04:30:48 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by algon.dk (Postfix) with ESMTP id EEAD92004F; Mon, 6 Sep 2021 10:30:41 +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 Z_0GBgVqNO6I; Mon, 6 Sep 2021 10:30:40 +0200 (CEST) Original-Received: from smtpclient.apple (unknown [85.83.136.51]) by algon.dk (Postfix) with ESMTPA id 8D6262004B; Mon, 6 Sep 2021 10:30:40 +0200 (CEST) X-Mailbutler-Data: eyJzaWduYXR1cmVJRCI6IjFEOEY1NzZELTc3NjYtNDA4NC04MTk4LTU4REIyNTAzMjRDRSJ9 In-Reply-To: <83y28as4g9.fsf@gnu.org> X-Mailbutler-Message-Id: 69CE6170-3787-4C09-9CD9-31120BB5E674 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:213558 Archived-At: --Apple-Mail=_55AB2333-A1CB-4A9A-AE70-AB4DBB02B568 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello, =E2=80=9CConfigure=E2=80=9D finds libgccjit at: LDFLAGS =3D = -L/opt/homebrew/Cellar/libgccjit/11.2.0/lib/gcc/11, where the 3 = libraries reside: libgccjit.so libgccjit.so.0 = libgccjit.so.0.0.1 The program =E2=80=9Ccomp.c=E2=80=9D can=E2=80=99t find the = even that it reside at = /opt/homebrew/Cellar/libgccjit/11.2.0/include : libgccjit++.h = libgccjit.h=20 So I think that the configure is wrong in some way 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=_55AB2333-A1CB-4A9A-AE70-AB4DBB02B568 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hello,

=E2=80=9CConfigure=E2=80=9D finds libgccjit at: LDFLAGS = =3D  -L/opt/homebrew/Cellar/libgccjit/11.2.0/lib/gcc/11, where the = 3 libraries reside: libgccjit.so       libgccjit.so.0   =   libgccjit.so.0.0.1
The program = =E2=80=9Ccomp.c=E2=80=9D can=E2=80=99t find the <libgccjit.h> even = that it reside at /opt/homebrew/Cellar/libgccjit/11.2.0/include = : libgccjit++.h libgccjit.h 

So I think that the = configure is wrong in some way

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=_55AB2333-A1CB-4A9A-AE70-AB4DBB02B568--