GNU bug report logs - #48344
Problem with native-compilation

Previous Next

Package: emacs;

Reported by: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>

Date: Tue, 11 May 2021 11:12:02 UTC

Severity: normal

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48344 in the body.
You can then email your comments to 48344 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#48344; Package emacs. (Tue, 11 May 2021 11:12: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. (Tue, 11 May 2021 11:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>
To: bug-gnu-emacs <at> gnu.org
Subject: Problem with native-compilation
Date: Tue, 11 May 2021 13:11:10 +0200
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48344; Package emacs. (Tue, 11 May 2021 11:22:01 GMT) Full text and rfc822 format available.

Message #8 received at 48344 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>
Cc: 48344 <at> debbugs.gnu.org
Subject: Re: bug#48344: Problem with native-compilation
Date: Tue, 11 May 2021 13:21:39 +0200
On Tue, 11 May 2021 13:11:10 +0200 Konrad Podczeck <konrad.podczeck <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48344; Package emacs. (Tue, 11 May 2021 19:22:02 GMT) Full text and rfc822 format available.

Message #11 received at 48344 <at> debbugs.gnu.org (full text, mbox):

From: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 48344 <at> debbugs.gnu.org
Subject: Re: bug#48344: Problem with native-compilation
Date: Tue, 11 May 2021 21:21:31 +0200
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 <at> gmx.net>:
> 
> On Tue, 11 May 2021 13:11:10 +0200 Konrad Podczeck <konrad.podczeck <at> 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





Reply sent to Andrea Corallo <akrl <at> sdf.org>:
You have taken responsibility. (Wed, 12 May 2021 12:59:02 GMT) Full text and rfc822 format available.

Notification sent to Konrad Podczeck <konrad.podczeck <at> univie.ac.at>:
bug acknowledged by developer. (Wed, 12 May 2021 12:59:02 GMT) Full text and rfc822 format available.

Message #16 received at 48344-done <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>
Cc: 48344-done <at> debbugs.gnu.org, Stephen Berman <stephen.berman <at> gmx.net>
Subject: Re: bug#48344: Problem with native-compilation
Date: Wed, 12 May 2021 12:58:09 +0000
Konrad Podczeck <konrad.podczeck <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 10 Jun 2021 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.