From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konrad Podczeck Newsgroups: gmane.emacs.bugs Subject: bug#58832: problems with native compilation Date: Fri, 28 Oct 2022 13:28:47 +0200 Message-ID: <5829EDD0-1195-40F4-B5AC-134B8B65591C@univie.ac.at> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_A5063C78-6D19-4358-A45E-B68E23A97D2D" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13526"; mail-complaints-to="usenet@ciao.gmane.io" To: 58832@debbugs.gnu.org, akrl@sdf.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 28 13:30:17 2022 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 1ooNZ3-0003NR-2p for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Oct 2022 13:30:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooNYu-0006OM-GU; Fri, 28 Oct 2022 07:30:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooNYq-0006IE-1x for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2022 07:30:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ooNYp-0002HJ-32 for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2022 07:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ooNYo-0008Sl-Lv for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2022 07:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Konrad Podczeck Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Oct 2022 11:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58832 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org, Andrea Corallo Original-Received: via spool by submit@debbugs.gnu.org id=B.166695655732457 (code B ref -1); Fri, 28 Oct 2022 11:30:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Oct 2022 11:29:17 +0000 Original-Received: from localhost ([127.0.0.1]:60510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooNY5-0008RQ-Go for submit@debbugs.gnu.org; Fri, 28 Oct 2022 07:29:17 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:44226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooNY1-0008RH-8M for submit@debbugs.gnu.org; Fri, 28 Oct 2022 07:29:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooNY0-0005FO-Vc for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2022 07:29:13 -0400 Original-Received: from grace.univie.ac.at ([2001:62a:4:25::25:115]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooNXw-0002Cz-Gt for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2022 07:29:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev3; h=To:Date:Message-Id:Subject:Mime-Version: Content-Type:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=8Aa1BTE67MfF8HEQg4CT8wsuKF5AkjAVLfc4kgerR4Y=; b=VO7i8RJg4g+U2qi1UyL1Qoh5bl 6fusCE4YZPDPBANkYdCzeDarrmxq6XIUiJxo2wv5hIAYAR7HUO5imNAGBWp9axPvugLpg2aqNkghC W94QrIjQ4a6PaUopsZEdDZT2nZkQZlouD64bqvixJIm5HJSV6C7ywOxgr4No0OcUbXWnFsZApSok+ tw/CAKQBu2vdAXRipAZKgT8wcsXkqyl5UQ4CbioIyhVbZtVx7i3czhP6c2m6SII3uYrY94kLbu0cr SeXFpFDaMopYlTDrxC8Q3dpHceZ5i+VU0Df9w5GU8TgoPXaacIPYwn0ZbO8+rEkAHl42o6nc8w+XC J/vMviaw==; Original-Received: from justin.univie.ac.at ([131.130.3.111] helo=justin.univie.ac.at) by grace.univie.ac.at with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from ) id 1ooNXm-00DZVt-0s; Fri, 28 Oct 2022 13:28:58 +0200 Original-Received: from 217-149-170-79.nat.highway.telekom.at ([217.149.170.79] helo=smtpclient.apple) by justin.univie.ac.at with esmtpsa (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.96) (envelope-from ) id 1ooNXl-005tsP-31; Fri, 28 Oct 2022 13:28:58 +0200 X-Mailer: Apple Mail (2.3731.200.110.1.12) X-Univie-Virus-Scan: scanned by ClamAV on justin.univie.ac.at Received-SPF: none client-ip=2001:62a:4:25::25:115; envelope-from=konrad.podczeck@univie.ac.at; helo=grace.univie.ac.at X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246414 Archived-At: --Apple-Mail=_A5063C78-6D19-4358-A45E-B68E23A97D2D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Since I updated my operation system to macos 14, Ventura, issuing = =E2=80=9E=E2=80=94with-native-compilation" at the configure state is of = no effect anymore for the resulting Emacs.app; the result is the same as = it is without this option. Here is the error message coming out with the = first option: configure: error: The installed libgccjit failed to compile and run a = test program using the libgccjit library; see config.log for the details of the failure. A look to config.log then shows: configure:19456: gcc -E conftest.c conftest.c:124:10: fatal error: 'libgccjit.h' file not found #include Another look yields: dylib = (/opt/homebrew/Cellar/libgccjit/12.2.0/lib/gcc/current/libgccjit.dylib) = was built for newer macOS version (13.0) than being linked (12.3) Let me also remark that I have an M1 processor, and that I found nothing = in the manuals dealing with such difficulties. Konrad= --Apple-Mail=_A5063C78-6D19-4358-A45E-B68E23A97D2D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Since I = updated my operation system to macos 14, Ventura, issuing = =E2=80=9E=E2=80=94with-native-compilation" at the configure state is of = no effect anymore for the resulting Emacs.app; the result is the same as = it is without this option. Here is the error message coming out with the = first option:

configure: error: = The installed libgccjit failed to compile and run a test program = using

the libgccjit = library; see config.log for the details of the failure.


A look = to config.log then shows:


configure:19456: gcc -E   =  conftest.c

conftest.c:124:10: fatal error: 'libgccjit.h' file not = found

#include = <libgccjit.h>


Another look = yields:

 dylib = (/opt/homebrew/Cellar/libgccjit/12.2.0/lib/gcc/current/libgccjit.dylib) = was built for newer macOS version (13.0) than being linked = (12.3)

Let me also remark = that I have an M1 processor, and that I found nothing in the manuals = dealing with such difficulties.

Konrad
= --Apple-Mail=_A5063C78-6D19-4358-A45E-B68E23A97D2D--