From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Fleischer Newsgroups: gmane.emacs.bugs Subject: bug#50411: 28.0.50; emacs compilation Date: Sun, 19 Sep 2021 00:25:26 +0300 Message-ID: References: <83y28as4g9.fsf@gnu.org> <83bl56rmw8.fsf@gnu.org> <83k0je55jl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27616"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: 50411@debbugs.gnu.org, nisoni@algon.dk To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 18 23:26:10 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 1mRhqc-0006xa-76 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Sep 2021 23:26:10 +0200 Original-Received: from localhost ([::1]:43390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRhqa-0002jO-HK for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Sep 2021 17:26:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRhqU-0002jG-43 for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 17:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53780) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRhqT-0007RR-QY for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 17:26:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRhqT-00049K-Jx for bug-gnu-emacs@gnu.org; Sat, 18 Sep 2021 17:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Fleischer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Sep 2021 21:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50411 X-GNU-PR-Package: emacs Original-Received: via spool by 50411-submit@debbugs.gnu.org id=B50411.163200034015920 (code B ref 50411); Sat, 18 Sep 2021 21:26:01 +0000 Original-Received: (at 50411) by debbugs.gnu.org; 18 Sep 2021 21:25:40 +0000 Original-Received: from localhost ([127.0.0.1]:37093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRhq7-00048i-Ha for submit@debbugs.gnu.org; Sat, 18 Sep 2021 17:25:39 -0400 Original-Received: from mail-wr1-f51.google.com ([209.85.221.51]:38758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRhq2-00048S-NY for 50411@debbugs.gnu.org; Sat, 18 Sep 2021 17:25:38 -0400 Original-Received: by mail-wr1-f51.google.com with SMTP id u18so19522094wrg.5 for <50411@debbugs.gnu.org>; Sat, 18 Sep 2021 14:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=JvRyC8W3ylqKqzBGYi5CV9/a/sCrZIzYAclt4Kz4iEo=; b=NqgsyXubUJnExUd4nd7wfPA6xlQ2FDR4chHe6EG8dZ4FRJKkUoezTaQfH0MdD6IDOb CruyqNTM3KlUtkWOSpKovLOeULwQJH/DwM7VHF5hQRn5gEB5TiFffn15ruNGBOfL039G c6+BW1vNuW0cYO6Kg6PhkEOj2f5JhPNyW1ZOnm8rF9XwAhvZsCx+MrR+KAfSKGUvWWbv 2smTRJnEzsAm+b/ps+OZ5bDl0Hm0DprAuNjoxZmCAdAzbgK/Ts5USeQ7WstWDHPMYRMn uZazq2C9Zjvd6G8FmjGAVmlLlSNtpZrN9rDcn92Y9C9SqDJaW0nXuaxXiwvTPAUPgLvS QU4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=JvRyC8W3ylqKqzBGYi5CV9/a/sCrZIzYAclt4Kz4iEo=; b=aeGMhg+62LUtI89Pxw2LwHjoL3rxyenAxfIYb4k03k5irF23kIJvc8TDVwqfL41r60 nGKjz90RDjSo4478IF+86CRxqtxl+ODTPjUUoyxkhq0eAzhqw5Rumt2dR4boAZTKvaWw Tk/fQ5JGKAMf18Lw0IKtGh4bDuvoabLojr8Rd+8RKubASWJJGix0nT2EmS/eQ4XSVFP/ TpuA7xfN/xuvOZbc/fVKJRNL3QBQdPI7+kf3kunq1RatFnVCkcN69pm3oT7j/PKhiPfC 1xp0tnLF6+q363Qka1s6L7MTwyhhwSaf3pdmKFjl70Zh6OGvijTD7TDUTL3l+Q1ILrXz ubJw== X-Gm-Message-State: AOAM533BQ0ebExGkwA/Qn4X489AJn5qDShTocwNaymCMT3+FyCnZNMRg fdtMOsIVbAvTzvredV/QXGY= X-Google-Smtp-Source: ABdhPJx5fR/52lesohQSOV4m2/imFWJW9iruUqQ0lqTcOrtkPNA4ZfV233z02fP8tgrPQMdhKwTutQ== X-Received: by 2002:adf:f185:: with SMTP id h5mr20001880wro.302.1632000328691; Sat, 18 Sep 2021 14:25:28 -0700 (PDT) Original-Received: from Home-Mac ([141.226.13.159]) by smtp.gmail.com with ESMTPSA id c135sm14730027wme.6.2021.09.18.14.25.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Sep 2021 14:25:28 -0700 (PDT) In-Reply-To: <83k0je55jl.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 18 Sep 2021 17:20:30 +0300") 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:214663 Archived-At: --=-=-= Content-Type: text/plain Eli Zaretskii [2021-09-18 Sat 17:20] wrote: > etc/PROBLEMS, perhaps? See patch. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Native-compilation-on-macOS-libgccjit-in-path.patch Content-Description: Patch >From 34c372847d46e5df12e108515838c59b7bf82da9 Mon Sep 17 00:00:00 2001 From: Daniel Fleischer Date: Sun, 19 Sep 2021 00:17:49 +0300 Subject: [PATCH] Native compilation on macOS: libgccjit in path * etc/PROBLEMS: libgccjit should be in LIBRARY_PATH; example code for early initialization. --- etc/PROBLEMS | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/etc/PROBLEMS b/etc/PROBLEMS index f90418798d..1fd88995d6 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -2671,6 +2671,18 @@ something like the following in your init file: (push "\\`-[^-]*-monaco-bold-" face-ignored-fonts) +** Native Compilation on macOS + +Native complitation requires the libgccjit library to be installed and +its path available to Emacs. One can set the "LIBRARY_PATH" +environment variable in the early initalization file; for example: + +(setenv "LIBRARY_PATH" + (string-join + '("/usr/local/opt/gcc/lib/gcc/11" + "/usr/local/opt/libgccjit/lib/gcc/11" + "/usr/local/opt/gcc/lib/gcc/11/gcc/x86_64-apple-darwin20/11.2.0") ":")) + * Build-time problems ** Configuration -- 2.33.0 --=-=-= Content-Type: text/plain -- Daniel Fleischer --=-=-=--