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.help Subject: Re: Help with native compilation Date: Tue, 19 Oct 2021 22:24:49 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21270"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (darwin) Cc: help-gnu-emacs@gnu.org To: Jonathon McKitrick Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 19 21:26:12 2021 Return-path: Envelope-to: geh-help-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 1mcukW-0005Jv-Fl for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 19 Oct 2021 21:26:12 +0200 Original-Received: from localhost ([::1]:54778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcukV-00058q-Bx for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 19 Oct 2021 15:26:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcujH-00055U-Ky for help-gnu-emacs@gnu.org; Tue, 19 Oct 2021 15:24:55 -0400 Original-Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:44733) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcujF-0007os-UJ for help-gnu-emacs@gnu.org; Tue, 19 Oct 2021 15:24:55 -0400 Original-Received: by mail-wm1-x330.google.com with SMTP id b189-20020a1c1bc6000000b0030da052dd4fso5084093wmb.3 for ; Tue, 19 Oct 2021 12:24:52 -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=ouCl5gstUfhdcd/j6lsCLHR02e5L8UIpHb8g4kfq/XA=; b=MhthGqjIM9ti8VaK8n3mzd+61h2nPsv0RcIlDSLlSLfNjay+hYI9AzfjdsdAZ2F3XM KY2+ExBioNIYlntNzc942QP3TNTYv4WSsJbDXM94LvzeBH+2HqRI6z7J+bCkS8Kd5XLt k7oTIPVNc3s60QSzzYlwCdQt5leG9EoXguOEYaFQo8yTJWgKCJj20n/nRXuam9G67YRN YeGFEyOSL/WRKG8UDRJ61LfyudDupbSrfPdpgHz5BUN9VIAwcI2j4CkulVfqzCa+uYgT M9IGbecrPtek6r2ldqM6+JZGljNQ6MCGabknDtTHry9NYRqxE04+2gfWiX0UTp4RomMP /shA== 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=ouCl5gstUfhdcd/j6lsCLHR02e5L8UIpHb8g4kfq/XA=; b=wUW7IQYiEi9nkoAOYtSU4X0BexrFGknCO/RHTjt/hQIGtXRCo+g/+LHQhHoJak8TKW O4i9GA0vIA6bYU9PkydVPCK673YJqJPZW59IICnBp90FDZEAbaizO+FWhmKumuHs0gaD HXDrtIjpCY7B8N9nuXH8T/+DuwdQxigjV7KZDpeYMwKHh/J+vsdLt0X/mSZJS7ABQ+6p UYMD9N+FHxAt0Nq36nM115nHU2AWizlponSyeqchlpY+lYJ1kUCWCV7uHrz/y8AK1mip 5yd2DxLCwwgFssSFJzx6Z1Sw5DgMHW9kaGDtDUb1Z/UXdno1gixKv8XV1QTj7xaq3HPu z0Cw== X-Gm-Message-State: AOAM5322YBRh1R+78699/gBePASKnJ5oBB/V/g3EIWJfKjxY6RWdSiVD BWqcWh5ebDy2rq01kxdZfkEM9L76qFU= X-Google-Smtp-Source: ABdhPJw/s0D1kCESIEnYVS7EUZsfosvI1pI/45oYvpqTnmfR30NpJjm+SA/I0xedQVkW8yXiDXUejw== X-Received: by 2002:adf:f486:: with SMTP id l6mr45309198wro.375.1634671491524; Tue, 19 Oct 2021 12:24:51 -0700 (PDT) Original-Received: from Home-Mac ([141.226.12.112]) by smtp.gmail.com with ESMTPSA id g2sm15753912wrq.62.2021.10.19.12.24.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Oct 2021 12:24:50 -0700 (PDT) In-Reply-To: (Jonathon McKitrick's message of "Tue, 19 Oct 2021 10:59:53 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=danflscr@gmail.com; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:133890 Archived-At: Jonathon McKitrick [2021-10-19 Tue 10:59] wrote: > I'm trying to build emacs 28 or 29 with native compilation on macos. >From "etc/PROBLEMS" in the Emacs project: Native complitation requires the libgccjit library to be installed and its path available to Emacs. Errors such as: libgccjit.so: error: error invoking gcc driver Error: Internal native compiler error failed to compile indicate Emacs can't find the library in running time. One can set the "LIBRARY_PATH" environment variable in the early initialization 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") ":")) You might need to adjust the version numbers. -- Daniel Fleischer