GNU bug report logs -
#48804
27.2; compilation emacs on macOS
Previous Next
Reported by: Niels Søndergaard <nisoni <at> algon.dk>
Date: Thu, 3 Jun 2021 05:56:01 UTC
Severity: normal
Found in version 27.2
Done: Andrea Corallo <akrl <at> sdf.org>
Bug is archived. No further changes may be made.
Full log
Message #82 received at 48804 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
hello
with: ./configure --without-ns --with-x-toolkit=no -with-native-compilation --with-mailutils
which is not what I really wants,
we’re back to the original failure:
checking libgccjit.h usability... yes
checking libgccjit.h presence... yes
checking for libgccjit.h... yes
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.
mvh
Niels
> Den 4. jun. 2021 kl. 17.02 skrev Niels Søndergaard <nisoni <at> algon.dk>:
>
> I cannot get version 11 through Homebrew, the gewest I can get is 10.2.0_4
> I’ll take out the eksport CC= from my .zshrc
> and try again
>
> mvh
> Niels
>
>> Den 4. jun. 2021 kl. 16.43 skrev Alan Third <alan <at> idiocy.org <mailto:alan <at> idiocy.org>>:
>>
>> On Fri, Jun 04, 2021 at 05:15:23PM +0300, Eli Zaretskii wrote:
>>>> From: Niels Søndergaard <nisoni <at> algon.dk <mailto:nisoni <at> algon.dk>>
>>>> Date: Fri, 4 Jun 2021 16:08:10 +0200
>>>> Cc: Niels Søndergaard <nisoni <at> algon.dk <mailto:nisoni <at> algon.dk>>,
>>>> Alan Third <alan <at> idiocy.org <mailto:alan <at> idiocy.org>>,
>>>> Konrad Podczeck <konrad.podczeck <at> univie.ac.at <mailto:konrad.podczeck <at> univie.ac.at>>,
>>>> 48804 <at> debbugs.gnu.org <mailto:48804 <at> debbugs.gnu.org>
>>>>
>>>> Yes, 10.2.0_4
>>>>
>>>> installed by Homebrew ben default on my machine
>>>
>>> That's the problem: AFAIK Emacs cannot be built on macOS with GCC.
>>> And I don't think not specifying --with-ns avoids that problem.
>>
>> --with-ns is the default on macOS, so to build with GCC you need to
>> specify --without-ns. But that's probably not what's wanted here.
>>
>> Neils, if you followed the suggestion elsewhere in this thread to set
>> CC, please undo that and let configure find clang.
>>
>> Make sure you have the latest libgccjit installed with homebrew
>> (version 11?).
>>
>> --
>> Alan Third
>
[Message part 2 (text/html, inline)]
This bug report was last modified 3 years and 357 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.