From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47169: 28.0.50; [feature/native-comp] native-compiler-error-empty-byte when batch-native-compiling is confusing to users Date: Tue, 16 Mar 2021 18:04:13 +0000 Message-ID: References: <871rcgiamc.fsf@collares.org> <83tupbeq3z.fsf@gnu.org> <87sg4vvx0z.fsf@collares.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9213"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , 47169@debbugs.gnu.org To: Mauricio Collares Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 16 19:33:51 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 1lMEVq-0002Go-EI for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Mar 2021 19:33:50 +0100 Original-Received: from localhost ([::1]:46280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMEVp-0006do-19 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Mar 2021 14:33:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lME42-0003M4-EB for bug-gnu-emacs@gnu.org; Tue, 16 Mar 2021 14:05:11 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lME3x-000367-UJ for bug-gnu-emacs@gnu.org; Tue, 16 Mar 2021 14:05:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lME3x-0005Zp-Oz for bug-gnu-emacs@gnu.org; Tue, 16 Mar 2021 14:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Mar 2021 18:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47169 X-GNU-PR-Package: emacs Original-Received: via spool by 47169-submit@debbugs.gnu.org id=B47169.161591786421391 (code B ref 47169); Tue, 16 Mar 2021 18:05:01 +0000 Original-Received: (at 47169) by debbugs.gnu.org; 16 Mar 2021 18:04:24 +0000 Original-Received: from localhost ([127.0.0.1]:40983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lME3L-0005Yw-6G for submit@debbugs.gnu.org; Tue, 16 Mar 2021 14:04:24 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:51815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lME3H-0005Yl-Oj for 47169@debbugs.gnu.org; Tue, 16 Mar 2021 14:04:21 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12GI4DHJ013392 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 16 Mar 2021 18:04:13 GMT In-Reply-To: <87sg4vvx0z.fsf@collares.org> (Mauricio Collares's message of "Tue, 16 Mar 2021 14:17:00 -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:202479 Archived-At: Mauricio Collares writes: > Andrea Corallo writes: >> >> Okay f3abb17118 should implement this. >> >> Mauricio could you try if this works for you? > > Hi Andrea, > > Thanks for taking a look at this! Making no-byte-compile imply > no-native-compile is a good idea. However, I think the bug is still > present: I just tested f3abb17118 by running batch-native-compile on a > file whose first line is ";;; -*- no-byte-compile: t -*-", and I still > see native-compiler-error-empty-byte being signaled. Hi Mauricio, sorry for the sloppy/untested patch, 3e133cc050 works for me please have a try. Thanks Andrea