unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58832: problems with native compilation
@ 2022-10-28 11:28 Konrad Podczeck
  2022-10-28 12:01 ` Gerd Möllmann
  0 siblings, 1 reply; 8+ messages in thread
From: Konrad Podczeck @ 2022-10-28 11:28 UTC (permalink / raw)
  To: 58832, akrl

[-- Attachment #1: Type: text/plain, Size: 916 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2827 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#58832: problems with native compilation
  2022-10-28 11:28 bug#58832: problems with native compilation Konrad Podczeck
@ 2022-10-28 12:01 ` Gerd Möllmann
  2022-10-28 12:38   ` Konrad Podczeck
  0 siblings, 1 reply; 8+ messages in thread
From: Gerd Möllmann @ 2022-10-28 12:01 UTC (permalink / raw)
  To: konrad.podczeck; +Cc: 58832, akrl

 > 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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#58832: problems with native compilation
  2022-10-28 12:01 ` Gerd Möllmann
@ 2022-10-28 12:38   ` Konrad Podczeck
  2022-10-28 12:54     ` Gerd Möllmann
  0 siblings, 1 reply; 8+ messages in thread
From: Konrad Podczeck @ 2022-10-28 12:38 UTC (permalink / raw)
  To: Gerd Möllmann; +Cc: 58832, akrl

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@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.






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#58832: problems with native compilation
  2022-10-28 12:38   ` Konrad Podczeck
@ 2022-10-28 12:54     ` Gerd Möllmann
  2022-10-28 13:02       ` Konrad Podczeck
  0 siblings, 1 reply; 8+ messages in thread
From: Gerd Möllmann @ 2022-10-28 12:54 UTC (permalink / raw)
  To: Konrad Podczeck; +Cc: 58832, akrl

Konrad Podczeck <konrad.podczeck@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.






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#58832: problems with native compilation
  2022-10-28 12:54     ` Gerd Möllmann
@ 2022-10-28 13:02       ` Konrad Podczeck
  2022-10-28 15:32         ` Gerd Möllmann
  0 siblings, 1 reply; 8+ messages in thread
From: Konrad Podczeck @ 2022-10-28 13:02 UTC (permalink / raw)
  To: Gerd Möllmann; +Cc: 58832, Andrea Corallo



> Am 28.10.2022 um 14:54 schrieb Gerd Möllmann <gerd.moellmann@gmail.com>:
> 
> Konrad Podczeck <konrad.podczeck@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?
> 






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#58832: problems with native compilation
  2022-10-28 13:02       ` Konrad Podczeck
@ 2022-10-28 15:32         ` Gerd Möllmann
  2022-10-28 19:23           ` Konrad Podczeck
       [not found]           ` <DF205D70-486F-424A-94CC-9C061E53A345@univie.ac.at>
  0 siblings, 2 replies; 8+ messages in thread
From: Gerd Möllmann @ 2022-10-28 15:32 UTC (permalink / raw)
  To: Konrad Podczeck; +Cc: 58832, Andrea Corallo

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@univie.ac.at>:
> 
> 
> 
>>> Am 28.10.2022 um 14:54 schrieb Gerd Möllmann <gerd.moellmann@gmail.com>:
>>> 
>>> Konrad Podczeck <konrad.podczeck@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?
>> 
> 





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#58832: problems with native compilation
  2022-10-28 15:32         ` Gerd Möllmann
@ 2022-10-28 19:23           ` Konrad Podczeck
       [not found]           ` <DF205D70-486F-424A-94CC-9C061E53A345@univie.ac.at>
  1 sibling, 0 replies; 8+ messages in thread
From: Konrad Podczeck @ 2022-10-28 19:23 UTC (permalink / raw)
  Cc: 58832, Andrea Corallo

[-- Attachment #1: Type: text/plain, Size: 1649 bytes --]

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@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@univie.ac.at>:
>> 
>> 
>> 
>>>> Am 28.10.2022 um 14:54 schrieb Gerd Möllmann <gerd.moellmann@gmail.com>:
>>>> 
>>>> Konrad Podczeck <konrad.podczeck@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?
>>> 
>> 


[-- Attachment #2: Type: text/html, Size: 4021 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#58832: problems with native compilation
       [not found]                 ` <m24jvnhy1g.fsf@Mini.fritz.box>
@ 2022-11-03  5:51                   ` Gerd Möllmann
  0 siblings, 0 replies; 8+ messages in thread
From: Gerd Möllmann @ 2022-11-03  5:51 UTC (permalink / raw)
  To: Konrad Podczeck; +Cc: 58832

On 29.10.22 09:46, Gerd Möllmann wrote:
> Konrad Podczeck <konrad.podczeck@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.)





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-11-03  5:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 11:28 bug#58832: problems with native compilation Konrad Podczeck
2022-10-28 12:01 ` Gerd Möllmann
2022-10-28 12:38   ` Konrad Podczeck
2022-10-28 12:54     ` Gerd Möllmann
2022-10-28 13:02       ` Konrad Podczeck
2022-10-28 15:32         ` Gerd Möllmann
2022-10-28 19:23           ` Konrad Podczeck
     [not found]           ` <DF205D70-486F-424A-94CC-9C061E53A345@univie.ac.at>
     [not found]             ` <m2bkpvuv9w.fsf@Mini.fritz.box>
     [not found]               ` <26824968-C3C1-43E2-A382-5096E31EA292@univie.ac.at>
     [not found]                 ` <m24jvnhy1g.fsf@Mini.fritz.box>
2022-11-03  5:51                   ` Gerd Möllmann

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).