From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Niels =?UTF-8?Q?S=C3=B8ndergaard?= Newsgroups: gmane.emacs.bugs Subject: bug#48804: 27.2; compilation emacs on macOS Date: Thu, 3 Jun 2021 11:10:28 +0200 Message-ID: <6A6BCCEF-8DC7-433D-9189-E9E1966B278C@algon.dk> References: <8335tzxx6h.fsf@gnu.org> <3DE8BABE-F3C7-4A12-A34E-622F6C5A3366@algon.dk> <83y2brwfou.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_A161892F-3019-4691-988C-018948C78DB8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4366"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Niels =?UTF-8?Q?S=C3=B8ndergaard?= , 48804@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 03 11:11:34 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lojNz-0000pw-QJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Jun 2021 11:11:31 +0200 Original-Received: from localhost ([::1]:55166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lojNx-00017H-NI for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Jun 2021 05:11:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lojNW-00012s-Fj for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 05:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58957) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lojNW-0005JV-7n for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 05:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lojNW-0000Ss-3d for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 05:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Niels =?UTF-8?Q?S=C3=B8ndergaard?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Jun 2021 09:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48804 X-GNU-PR-Package: emacs Original-Received: via spool by 48804-submit@debbugs.gnu.org id=B48804.16227114551765 (code B ref 48804); Thu, 03 Jun 2021 09:11:02 +0000 Original-Received: (at 48804) by debbugs.gnu.org; 3 Jun 2021 09:10:55 +0000 Original-Received: from localhost ([127.0.0.1]:42270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lojNL-0000SI-2i for submit@debbugs.gnu.org; Thu, 03 Jun 2021 05:10:55 -0400 Original-Received: from algon.dk ([212.99.233.66]:45854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lojNJ-0000S4-BF for 48804@debbugs.gnu.org; Thu, 03 Jun 2021 05:10:50 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by algon.dk (Postfix) with ESMTP id A343320048; Thu, 3 Jun 2021 11:10:43 +0200 (CEST) X-Virus-Scanned: amavisd-new at algon.dk Original-Received: from algon.dk ([127.0.0.1]) by localhost (odin.algon.dk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jo4mxF_J_e4K; Thu, 3 Jun 2021 11:10:42 +0200 (CEST) Original-Received: from smtpclient.apple (unknown [85.83.136.51]) by algon.dk (Postfix) with ESMTPA id 7CFC720047; Thu, 3 Jun 2021 11:10:42 +0200 (CEST) In-Reply-To: X-Mailbutler-Message-Id: FA69D68B-53F8-4421-8396-DACE3E0A1C3E X-Mailer: Apple Mail (2.3654.100.0.2.22) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:207924 Archived-At: --Apple-Mail=_A161892F-3019-4691-988C-018948C78DB8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Sorry, I tried the tutorial01, it failed withn not found the libgccjit library, = then I tried to install the library with=20 homebrew, whig said it was there, the I god into that a reintall loader = the X86 instad of the ARM for=20 my M1 iMac, so indtil futher, I give up, and will not attemp to compile 28.0.50 and = just run on 27.2=E2=80=A6.. mvh Niels > Den 3. jun. 2021 kl. 10.12 skrev Andrea Corallo : >=20 > Eli Zaretskii > writes: >=20 >>> From: Niels S=C3=B8ndergaard >>> Date: Thu, 3 Jun 2021 08:51:06 +0200 >>> Cc: Niels S=C3=B8ndergaard , >>> 48804@debbugs.gnu.org >>>=20 >>> The configure sends a link, but I can=E2=80=99t find the source to = compile out of that, neither can I understand, what >>> the =E2=80=9Csmoke=E2=80=9D test is. >>=20 >> The link shows a source of a C program whose first line says: >>=20 >> Smoketest example for libgccjit.so >>=20 >>> I tried to follow the instruktions, but god lost underway=E2=80=A6. >>=20 >> You mean, the instructions on the URL how to compile the test = program? >> They are quite simple: 2 shell commands. >>=20 >> Anyway, I've modified that error message to say this instead: >>=20 >> 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: >> . >=20 > Just a small note, the smoke test we run from the configure is not > exactly the one of the link as we just compile a function returning an > integer. Needless to say that most certainly if one works the other > will too. >=20 > Andrea --Apple-Mail=_A161892F-3019-4691-988C-018948C78DB8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Sorry,
I tried the tutorial01, it failed withn = not found the libgccjit library, then I tried to install the library = with 
homebrew, whig said it was there, the I = god into that a reintall loader the X86 instad of the ARM = for 
my M1 iMac,
so = indtil futher, I give up, and will not attemp to compile 28.0.50 and = just run on 27.2=E2=80=A6..


mvh
Niels

Den 3. = jun. 2021 kl. 10.12 skrev Andrea Corallo <akrl@sdf.org>:

Eli Zaretskii <eliz@gnu.org> writes:

From: Niels S=C3=B8ndergaard <nisoni@algon.dk>
Date: Thu, 3 Jun 2021 08:51:06 +0200
Cc: Niels = S=C3=B8ndergaard <nisoni@algon.dk>,
48804@debbugs.gnu.org

The = configure sends a link, but I can=E2=80=99t find the source to compile = out of that, neither can I understand, what
the = =E2=80=9Csmoke=E2=80=9D test is.

The link shows a source of a C program whose first line = says:

 Smoketest example for = libgccjit.so

I tried to follow the instruktions, but god lost = underway=E2=80=A6.

You mean, = the instructions on the URL how to compile the test program?
They are quite simple: 2 shell commands.

Anyway, I've modified that error message to say this = instead:

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

Just a small note, the smoke test we run from the configure = is not
exactly the = one of the link as we just compile a function returning an
integer.  Needless to say = that most certainly if one works the other
will too.

 Andrea

3D""= --Apple-Mail=_A161892F-3019-4691-988C-018948C78DB8--