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.bugs Subject: bug#40614: 28.0.50; [feature/native-comp] straight.el fails to inject :straight keyword handler into use-package when use-package is native-compiled Date: Mon, 20 Apr 2020 15:47:05 +0800 Message-ID: <87zhb6vbt2.fsf@localhost> References: <87ftd6q5ow.fsf@localhost> <87mu7dw7dp.fsf@localhost> <87y2qrak1t.fsf@localhost> <87d083wk28.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="45789"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40614-done@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 20 09:52:11 2020 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 1jQRDv-000Bm9-87 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Apr 2020 09:52:11 +0200 Original-Received: from localhost ([::1]:59100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQRDu-0002Vc-8H for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Apr 2020 03:52:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48784 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQRDm-0002VQ-Ng for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2020 03:52:03 -0400 Original-Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQRDm-000398-7B for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2020 03:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34996) by eggs1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQRDl-00038w-S6 for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2020 03:52:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jQRDl-0007jR-PO for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2020 03:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Apr 2020 07:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40614 X-GNU-PR-Package: emacs Original-Received: via spool by 40614-done@debbugs.gnu.org id=D40614.158736906829661 (code D ref 40614); Mon, 20 Apr 2020 07:52:01 +0000 Original-Received: (at 40614-done) by debbugs.gnu.org; 20 Apr 2020 07:51:08 +0000 Original-Received: from localhost ([127.0.0.1]:46542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQRCt-0007iL-Ss for submit@debbugs.gnu.org; Mon, 20 Apr 2020 03:51:08 -0400 Original-Received: from mail-pl1-f170.google.com ([209.85.214.170]:43251) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQRCq-0007hn-3c for 40614-done@debbugs.gnu.org; Mon, 20 Apr 2020 03:51:06 -0400 Original-Received: by mail-pl1-f170.google.com with SMTP id z6so3641478plk.10 for <40614-done@debbugs.gnu.org>; Mon, 20 Apr 2020 00:51:03 -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; bh=KFn7vHurhO50+bymyK7dk7GHFb4JAGCXcCKg7LjKvi4=; b=jn7tRr3NAnk1MKp+Lns1svHzo6UMAFPgNU8uk3GkZ0C1SGN/DQPPZ85fuY4ogvajLI YmhdD7NsGyCJwXX4uhO2j3VPoIye+uQDEJ8UefPgkOC4CcdrpsKA1H5L8f7kCW82IEA+ Sl0BT6wYW/w1z1QWk0nvggiZKoGu7wZFm6GrLYAenLgGfDUTMSnqrku71YKNKZX5BfcY rrdvj5ebrMt+1aCvQcCOzBArPJITRm8UzaGqwQmznB2IEqIJGzZRhgVCHJOqc66dMGvC qGZjWCTQUXdChkx759pIKzbEu6fxMYmy99HIVA6g3Yq8+eo8Jy34Adt1IEOKPrEE6ydN 2WUA== 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; bh=KFn7vHurhO50+bymyK7dk7GHFb4JAGCXcCKg7LjKvi4=; b=Mnmtb7T8m4JNp1CTwz0IfWyMGJvEnQSk4WzCP6Ll0A41aDtBucgypxctA3DXnrRJ8p sDUBhlUvr4lwfxYS91KoWbe1Y2zFCUxPr3D9neh7/NAPQ0gPJsfH9kmrBuNaYcnmgRKO skWxiMrkOWscbTkzzYOrSgbP/qgLEowHYIxOY+GYw+0kPwJzZYpRCx1yhn/CTYyodjqf G67E4/BxlF7+nVV4i/IdbZSiG/FScYDST+dF1XAGzZfxhV8rxo2P7Y3ipmBC470g8jgc FyNnsyVmQfiv5bt73UtB4TrPcY/zPvp+V9gFXl9kb/xfFXsM3Q1kpr1eV/o5ULTLiWdo U9kQ== X-Gm-Message-State: AGi0PubwLe0vtKkhvuBIxGiNvMOMozn4hIEwwqZql2CTHrJRf9HWPifI 7XmLLY7bz1J+5UD47mgH2C4= X-Google-Smtp-Source: APiQypK6UzEVSeGlbhGPSOsI07uKfVA3YnczSo1HXWxZ+6hwSGsaOrRrvCOIPenC/qeON/sd/UqmMw== X-Received: by 2002:a17:90a:ea05:: with SMTP id w5mr21264272pjy.143.1587369058151; Mon, 20 Apr 2020 00:50:58 -0700 (PDT) Original-Received: from localhost ([210.3.160.230]) by smtp.gmail.com with ESMTPSA id x123sm322053pfb.1.2020.04.20.00.50.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 00:50:57 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 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:178703 Archived-At: > I mean you can compile at speed 0, it requires a fraction of the memory > required at speed 2. You can even used that only to complete the > compilation that failed. In .gitlab-ci.yml we have examples on how to > the speed can be controlled while building. Thanks! I did not know that speed 0 would use less memory. Finally managed to finish the compilation. Best, Ihor Andrea Corallo writes: > Ihor Radchenko writes: > >> >> Sure. Though I plan to move the native-compile branch to my system >> installation. Deferred compilation of built-in packages will not be easy >> there, unless I run Emacs as root. >> >> Speed is actually not so big issue (at least to compile the built-in >> elisp). The problem was that I tried to run make -j3 -> make -j2 -> make >> -j1 hoping that less native-compilation processes would use less >> memory. Everything, including make -j1 failed eventually and took a long >> time because of using swap. Not sure what I can do for reducing memory >> usage. > > I mean you can compile at speed 0, it requires a fraction of the memory > required at speed 2. You can even used that only to complete the > compilation that failed. In .gitlab-ci.yml we have examples on how to > the speed can be controlled while building. > > -- > akrl@sdf.org -- Ihor Radchenko, PhD, Center for Advancing Materials Performance from the Nanoscale (CAMP-nano) State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong University, Xi'an, China Email: yantar92@gmail.com, ihor_radchenko@alumni.sutd.edu.sg