GNU bug report logs -
#58832
problems with native compilation
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58832 in the body.
You can then email your comments to 58832 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58832
; Package
emacs
.
(Fri, 28 Oct 2022 11:30:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Konrad Podczeck <konrad.podczeck <at> univie.ac.at>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 28 Oct 2022 11:30:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Since I updated my operation system to macos 14, Ventura, issuing „—with-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
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58832
; Package
emacs
.
(Fri, 28 Oct 2022 12:02:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 58832 <at> debbugs.gnu.org (full text, mbox):
> Since I updated my operation system to macos 14, Ventura, issuing
> „—with-native-compilation" at the configure state is of no effect
> anymore for the resulting Emacs.app;
I had that literally 5 minutes ago. It was fixed by
xcode-select --install
At least the configure step, I didn't check further yet.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58832
; Package
emacs
.
(Fri, 28 Oct 2022 12:39:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 58832 <at> debbugs.gnu.org (full text, mbox):
I had done
xcode-select —install
before; I mean the process of compilation does not show any eln-file, and looking after compilation into Emacs.app/Contents does not show a subfolder „frameworks“ containing a lot of eln-files, as it was before the update.
> Am 28.10.2022 um 14:01 schrieb Gerd Möllmann <gerd.moellmann <at> gmail.com>:
>
> > Since I updated my operation system to macos 14, Ventura, issuing
> > „—with-native-compilation" at the configure state is of no effect
> > anymore for the resulting Emacs.app;
>
> I had that literally 5 minutes ago. It was fixed by
>
> xcode-select --install
>
> At least the configure step, I didn't check further yet.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58832
; Package
emacs
.
(Fri, 28 Oct 2022 12:55:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 58832 <at> debbugs.gnu.org (full text, mbox):
Konrad Podczeck <konrad.podczeck <at> univie.ac.at> writes:
> I had done
>
> xcode-select —install
>
> before;
If that was not after installing 13.0, please do it again.
> I mean the process of compilation does not show any eln-file, and
> looking after compilation into Emacs.app/Contents does not show a
> subfolder „frameworks“ containing a lot of eln-files, as it was before
> the update.
I've meanwhile done the build, and all seems to be working as on 12.6.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58832
; Package
emacs
.
(Fri, 28 Oct 2022 15:12:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 58832 <at> debbugs.gnu.org (full text, mbox):
> Am 28.10.2022 um 14:54 schrieb Gerd Möllmann <gerd.moellmann <at> gmail.com>:
>
> Konrad Podczeck <konrad.podczeck <at> univie.ac.at> writes:
>
>> I had done
>>
>> xcode-select —install
>>
>> before;
>
> If that was not after installing 13.0, please do it again.
Actually, I had done this after installing 13.
>
>> I mean the process of compilation does not show any eln-file, and
>> looking after compilation into Emacs.app/Contents does not show a
>> subfolder „frameworks“ containing a lot of eln-files, as it was before
>> the update.
>
> I've meanwhile done the build, and all seems to be working as on 12.6.
Do you have a computer with M1 processor?
>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58832
; Package
emacs
.
(Fri, 28 Oct 2022 15:33:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 58832 <at> debbugs.gnu.org (full text, mbox):
Yes I have an m1 Mac mini with Xcode 14 and macOS 13.0, libgccjit from Homebrew.
> Am 28.10.2022 um 17:11 schrieb Konrad Podczeck <konrad.podczeck <at> univie.ac.at>:
>
>
>
>>> Am 28.10.2022 um 14:54 schrieb Gerd Möllmann <gerd.moellmann <at> gmail.com>:
>>>
>>> Konrad Podczeck <konrad.podczeck <at> univie.ac.at> writes:
>>>
>>> I had done
>>>
>>> xcode-select —install
>>>
>>> before;
>>
>> If that was not after installing 13.0, please do it again.
>
> Actually, I had done this after installing 13.
>>
>>> I mean the process of compilation does not show any eln-file, and
>>> looking after compilation into Emacs.app/Contents does not show a
>>> subfolder „frameworks“ containing a lot of eln-files, as it was before
>>> the update.
>>
>> I've meanwhile done the build, and all seems to be working as on 12.6.
>
> Do you have a computer with M1 processor?
>>
>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58832
; Package
emacs
.
(Fri, 28 Oct 2022 20:18:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 58832 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I still get no eln-file. Here are the error messages with respect to libgccjit:
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.
The test program can be found here:
<https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html>.
You can try compiling it yourself to investigate the issues.
Please report the issue to your distribution if libgccjit was installed
through that.
You can find the instructions on how to compile and install libgccjit from
source on this site:
<https://gcc.gnu.org/wiki/JIT>.
> Am 28.10.2022 um 17:32 schrieb Gerd Möllmann <gerd.moellmann <at> gmail.com>:
>
> Yes I have an m1 Mac mini with Xcode 14 and macOS 13.0, libgccjit from Homebrew.
>
>> Am 28.10.2022 um 17:11 schrieb Konrad Podczeck <konrad.podczeck <at> univie.ac.at>:
>>
>>
>>
>>>> Am 28.10.2022 um 14:54 schrieb Gerd Möllmann <gerd.moellmann <at> gmail.com>:
>>>>
>>>> Konrad Podczeck <konrad.podczeck <at> univie.ac.at> writes:
>>>>
>>>> I had done
>>>>
>>>> xcode-select —install
>>>>
>>>> before;
>>>
>>> If that was not after installing 13.0, please do it again.
>>
>> Actually, I had done this after installing 13.
>>>
>>>> I mean the process of compilation does not show any eln-file, and
>>>> looking after compilation into Emacs.app/Contents does not show a
>>>> subfolder „frameworks“ containing a lot of eln-files, as it was before
>>>> the update.
>>>
>>> I've meanwhile done the build, and all seems to be working as on 12.6.
>>
>> Do you have a computer with M1 processor?
>>>
>>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58832
; Package
emacs
.
(Thu, 03 Nov 2022 05:52:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 58832 <at> debbugs.gnu.org (full text, mbox):
On 29.10.22 09:46, Gerd Möllmann wrote:
> Konrad Podczeck <konrad.podczeck <at> univie.ac.at> writes:
>
>> Here is my complete config.log:
>
> Thanks. I see the same error there that I had in your config.log
>
> configure:19520: ./conftest
> ld: library not found for -lSystem
>
> Like I said, xcode-select --install fixed that for me.
>
Hi Konrad. Could you make progress with that in the meantime?
(I've re-added the CC to the bug-list.)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58832
; Package
emacs
.
(Fri, 04 Nov 2022 12:56:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 58832 <at> debbugs.gnu.org (full text, mbox):
-------- Forwarded Message --------
Message-ID: <a8f97d4b-ee9a-23c2-9769-ee03f84e91b5 <at> gmail.com>
Date: Fri, 4 Nov 2022 13:53:55 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.4.1
Subject: Re: bug#58832: problems with native compilation
Content-Language: en-US
To: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>
References: <20C344DA-DDA5-4680-95B0-04BE3FC23904 <at> univie.ac.at>
<5E5A450B-0C84-416A-B06C-BDB778292D10 <at> gmail.com>
<DF205D70-486F-424A-94CC-9C061E53A345 <at> univie.ac.at>
<m2bkpvuv9w.fsf <at> Mini.fritz.box>
<26824968-C3C1-43E2-A382-5096E31EA292 <at> univie.ac.at>
<m24jvnhy1g.fsf <at> Mini.fritz.box>
<324a38b5-1aea-8f59-1fff-6346dea7d12d <at> gmail.com>
<7FC424A4-FF5C-4592-87E4-EF2907F313A8 <at> univie.ac.at>
From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
In-Reply-To: <7FC424A4-FF5C-4592-87E4-EF2907F313A8 <at> univie.ac.at>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
On 03.11.22 17:12, Konrad Podczeck wrote:
> Hi Gerd,
>
> yes I made progress, but not using xcode-select —install. This never
> worked, Rather, following this address in the Internet
>
> https://www.reddit.com/r/emacs/comments/yd9n0t/build_problems_on_macos_ventura/ <https://www.reddit.com/r/emacs/comments/yd9n0t/build_problems_on_macos_ventura/>.
>
> I downloaded both Xcode 14.1rc2 andCommand Line Tools for 14.1rc2
> separately and then I could built Emacs, without before issuing
> xcode-select —install.
>
> In any case thanks,
>
Thanks for the report. I'm closing the bug then.
bug marked as fixed in version 29.1, send any further explanations to
58832 <at> debbugs.gnu.org and Konrad Podczeck <konrad.podczeck <at> univie.ac.at>
Request was from
Gerd Möllmann <gerd.moellmann <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Fri, 04 Nov 2022 12:56:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 03 Dec 2022 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 197 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.