unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48344: Problem with native-compilation
@ 2021-05-11 11:11 Konrad Podczeck
  2021-05-11 11:21 ` Stephen Berman
  0 siblings, 1 reply; 4+ messages in thread
From: Konrad Podczeck @ 2021-05-11 11:11 UTC (permalink / raw)
  To: 48344

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

I installed libgccjit from homebrew on the latest MacOS.

Using the option --with-native-compilation to build Emacs, during the configure phase I got:


checking libgccjit.h usability... yes
checking libgccjit.h presence... yes
checking for libgccjit.h... yes
configure: error: Installed libgccjit has failed passing the smoke test.

“usabilty” yes, but then “failed” some test, look contradictory.
What is the “smoke test”? There is no hint in any of the docs coming with Emacs.

Konrad

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

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

* bug#48344: Problem with native-compilation
  2021-05-11 11:11 bug#48344: Problem with native-compilation Konrad Podczeck
@ 2021-05-11 11:21 ` Stephen Berman
  2021-05-11 19:21   ` Konrad Podczeck
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Berman @ 2021-05-11 11:21 UTC (permalink / raw)
  To: Konrad Podczeck; +Cc: 48344

On Tue, 11 May 2021 13:11:10 +0200 Konrad Podczeck <konrad.podczeck@univie.ac.at> wrote:

> I installed libgccjit from homebrew on the latest MacOS.
>
> Using the option --with-native-compilation to build Emacs, during the configure phase I got:
>
> checking libgccjit.h usability... yes
> checking libgccjit.h presence... yes
> checking for libgccjit.h... yes
> configure: error: Installed libgccjit has failed passing the smoke test.
>
> “usabilty” yes, but then “failed” some test, look contradictory.
> What is the “smoke test”?

https://en.wikipedia.org/wiki/Smoke_testing_%28software%29

>                           There is no hint in any of the docs coming with Emacs.

The complete error message in the configure file is this:

"Installed libgccjit has failed passing the smoke test.
You can verify it yourself compiling:
<https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html>.
Please report the issue to your distribution if libgccjit was installed through
that.
Here instructions on how to compile and install libgccjit from source:
<https://gcc.gnu.org/wiki/JIT>."

(I haven't yet tried building --with-native-compilation so I don't know
if the configure output shows the complete message.)

Steve Berman





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

* bug#48344: Problem with native-compilation
  2021-05-11 11:21 ` Stephen Berman
@ 2021-05-11 19:21   ` Konrad Podczeck
  2021-05-12 12:58     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 4+ messages in thread
From: Konrad Podczeck @ 2021-05-11 19:21 UTC (permalink / raw)
  To: Stephen Berman; +Cc: 48344

Thanks for your reply. However, I could not find anything helpful on the webpages you gave me. So I followed this:
 
> Please report the issue to your distribution if libgccjit was installed through
> that.

In any case, I find it contradictory that the compilation  of Emacs reports on the one hand "checking libgccjit.h usability… yes,” and on the other hand "Installed libgccjit has failed passing the smoke test."

> Am 11.05.2021 um 13:21 schrieb Stephen Berman <stephen.berman@gmx.net>:
> 
> On Tue, 11 May 2021 13:11:10 +0200 Konrad Podczeck <konrad.podczeck@univie.ac.at> wrote:
> 
>> I installed libgccjit from homebrew on the latest MacOS.
>> 
>> Using the option --with-native-compilation to build Emacs, during the configure phase I got:
>> 
>> checking libgccjit.h usability... yes
>> checking libgccjit.h presence... yes
>> checking for libgccjit.h... yes
>> configure: error: Installed libgccjit has failed passing the smoke test.
>> 
>> “usabilty” yes, but then “failed” some test, look contradictory.
>> What is the “smoke test”?
> 
> https://en.wikipedia.org/wiki/Smoke_testing_%28software%29
> 
>>                          There is no hint in any of the docs coming with Emacs.
> 
> The complete error message in the configure file is this:
> 
> "Installed libgccjit has failed passing the smoke test.
> You can verify it yourself compiling:
> <https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html>.
> Please report the issue to your distribution if libgccjit was installed through
> that.
> Here instructions on how to compile and install libgccjit from source:
> <https://gcc.gnu.org/wiki/JIT>."
> 
> (I haven't yet tried building --with-native-compilation so I don't know
> if the configure output shows the complete message.)
> 
> Steve Berman






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

* bug#48344: Problem with native-compilation
  2021-05-11 19:21   ` Konrad Podczeck
@ 2021-05-12 12:58     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 4+ messages in thread
From: Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-05-12 12:58 UTC (permalink / raw)
  To: Konrad Podczeck; +Cc: 48344-done, Stephen Berman

Konrad Podczeck <konrad.podczeck@univie.ac.at> writes:

> Thanks for your reply. However, I could not find anything helpful on the webpages you gave me. So I followed this:
>  
>> Please report the issue to your distribution if libgccjit was installed through
>> that.

Thanks, closing this bug.

Regards

  Andrea





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

end of thread, other threads:[~2021-05-12 12:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11 11:11 bug#48344: Problem with native-compilation Konrad Podczeck
2021-05-11 11:21 ` Stephen Berman
2021-05-11 19:21   ` Konrad Podczeck
2021-05-12 12:58     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors

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