From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: Native compilation: the bird-eye view Date: Sun, 17 May 2020 12:04:58 +0800 Message-ID: <87pnb3uryt.fsf@localhost> References: <83o8qocd32.fsf@gnu.org> <83ftbzdewp.fsf@gnu.org> <83blmndbpo.fsf@gnu.org> <838shrdb1c.fsf@gnu.org> <67B6C70B-8FD1-4F20-B49C-32381EC9C1A7@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="88204"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Yuan Fu , Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 17 06:09:54 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jaAcb-000MkQ-S6 for ged-emacs-devel@m.gmane-mx.org; Sun, 17 May 2020 06:09:53 +0200 Original-Received: from localhost ([::1]:57528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaAca-0005r1-VI for ged-emacs-devel@m.gmane-mx.org; Sun, 17 May 2020 00:09:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaAc9-0005SU-1U for emacs-devel@gnu.org; Sun, 17 May 2020 00:09:25 -0400 Original-Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]:53516) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaAc7-0004mZ-Qt; Sun, 17 May 2020 00:09:24 -0400 Original-Received: by mail-pj1-x1031.google.com with SMTP id hi11so3042793pjb.3; Sat, 16 May 2020 21:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=s09m6mNZD9FNQPLT0S+GqeUYCQ2JZSPQp94j2mE/ARc=; b=Sqb4g7f8YDC9ym5mUaALPPBr0vF8sKqYLvx45i9YWR/n7ppDaRbICb3Y4jh8T6MY6l CLgiYBwmwJfu6M2gDmC1aUpPrBQk4rwQ27G1vCqvLhvjG27MebLkKEcp2X3hLTtQm8v2 ezsBdSREXo82Yu8eQQVzHHpwZdkzm8rNbhhmL/9Jdke4meyAsNefYtGuGM5S2vYXHBS1 xBO0iblN6n4zI6Gjh2cXY4t2tK8eiAmI5IapuPEo5gdA7atla3UGDzuSzmvNbe6mx/cY mF0oOOPUU+WQj70iCsza29Nl4JqxmlrYIJfAx6L3LMerqiwYhmLVMXLi/S06zn7INAH7 YcOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=s09m6mNZD9FNQPLT0S+GqeUYCQ2JZSPQp94j2mE/ARc=; b=VoSnNRxTCmkuYvQm3nDrKM/M9H2upalBATtBaa6pyTzfmnnVHQrSq7yP6TpfXyYl55 wXm/rcL2ipHF4cOymX5JYaa/TiPOjNdLUf+JQfvjcCQ5yXPX8h95IzdCJ3oOvLDMcUZq SL3jWWNrDjufmNY9mKzbLU6PUtBG83XOHLCZtZ3VLp/An6jWj5EGJ2eRMi6jfw2B8y/L VYk64WM09UgZgq/WPgojqGKVPRxfNdMKsKNG1Pc4JB20qfo30D1bZugqUOv3JVnjQDyS I/342EMwwKKaLeAaCtVl9wWdTDFGA7VHymTPcO9jqsn/9N2nY06JWtJ561EKSqjoeYJ4 1l1w== X-Gm-Message-State: AOAM5319Zm4B0EMcgx57zLa+L9gjdgxt2QxCELc/a3paWAKHx0rNXbf8 DF+l3ik7kUVuca83Y95Couo= X-Google-Smtp-Source: ABdhPJxb/lfntSVwgY4KzBlR2XtvIryYgmwXJTW2ItQM5gAbyosW6Z7TOb+Dfu/KIXZbKTYn8XAn4g== X-Received: by 2002:a17:90a:350d:: with SMTP id q13mr11819464pjb.61.1589688561883; Sat, 16 May 2020 21:09:21 -0700 (PDT) Original-Received: from localhost ([23.27.206.164]) by smtp.gmail.com with ESMTPSA id d35sm4743967pgd.29.2020.05.16.21.09.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 May 2020 21:09:21 -0700 (PDT) In-Reply-To: <67B6C70B-8FD1-4F20-B49C-32381EC9C1A7@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1031.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:250563 Archived-At: > It=E2=80=99s also possible that the user doesn=E2=80=99t the proper versi= on of gcc & libgccjit. Then it should be another dependency for Emacs package (or packaged together with binary?). Though libgccjit is not readily available in some systems. I am using Gentoo and libgccjit is blocked by default (https://bugs.gentoo.org/569608). Best, Ihor Yuan Fu writes: >>=20 >> 2- If Emacs is installed, often is not able to compile because the user >> has possibly no write privileges on the folder where the compiler is >> trying to output the eln. Either we switch this feature off in this >> case or we go for a different directory model. > > It=E2=80=99s also possible that the user doesn=E2=80=99t the proper versi= on of gcc & libgccjit. > > Yuan --=20 Ihor Radchenko, PhD, Center for Advancing Materials Performance from the Nanoscale (CAMP-nano) State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong U= niversity, Xi'an, China Email: yantar92@gmail.com, ihor_radchenko@alumni.sutd.edu.sg