From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on as default? Date: Wed, 25 Oct 2023 15:48:39 -0700 Message-ID: References: <83legs281v.fsf@gnu.org> <83r0liiy44.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13875"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 26 00:49:41 2023 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 1qvmh2-0003PQ-Qd for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Oct 2023 00:49:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvmgA-0007FW-EA; Wed, 25 Oct 2023 18:48:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvmg8-0007F9-Pr for emacs-devel@gnu.org; Wed, 25 Oct 2023 18:48:44 -0400 Original-Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvmg7-0007eG-1M; Wed, 25 Oct 2023 18:48:44 -0400 Original-Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2b9d07a8d84so3211781fa.3; Wed, 25 Oct 2023 15:48:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698274120; x=1698878920; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=agGVUCqEM9sRZYxSZRX2NZF8VhYKGimopHsdEX23aCc=; b=grhT1/M9qwXqd5HsIEqQrfS17vo6bVeyB1WL7bS2HIwqHpgRcHnpgtlqrCGnm7XoR7 7iJONiM0jdJoEY8SEHrREBvxzwL1NLvP7BzDW/DsIe1YqVY5oJ7yJyrUfyJYJn40cZKw gNCtJ52eMpF/lV1Z+C65ORUSpczgYlb26scnzE5l2SVNEf/f8qfJ2WgdHDTSNSuUeIJl Uq2UgKWBmVbf2psfjqxMLMdbzrmlAusv0EUUorIJGzSKLV/9p0T+xIrnGHLzMCu4BkbY yrh3d9ExshJ9Bz5qOho1puHthXF0bKcm0rWZ701gZLDKURcLVDHs1afwG0I6SHniip8C eqLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698274120; x=1698878920; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=agGVUCqEM9sRZYxSZRX2NZF8VhYKGimopHsdEX23aCc=; b=Yw3Ogfs3Kl2HNGIYgAozSQEhxnV7/goAlkXsK1vg8A5mF5UcDLxKwI0bg9nMr4Ehxh 1aApqr8zKUp27Pmves1xMwxwI1JYrbN0l01V7kcsKq/qKVZlIaVY8mxdhpJh7Wyjd+aQ gVQSyircnXJf1kX+oxgNVzcuQ8/JplM6IQolRFGgDPyczkhOSJEPApCNEB/di8I+8k6Q MyHUYuMInFSRa7nx99mjdZ76DB8Y3Sd0gL4lpiDWiKxXilX2/WSQIpN6uhqIpZ1+4AKI TvWgLcp0R47Sa/FAkaghiwPt4JAVfQz1s3HWNbJh/iWFuE5+WTvvOCcVxvlSqEtDglGv l8lA== X-Gm-Message-State: AOJu0YzYZ7p+7z8om6dqMkJ+CY0Hj6FL1Of/9JAd7aIof4J6nBQb81Y4 Ig78RkdAZItoX9ELShNYXR1FLvylMxMEsau92kY0RjVRNNs= X-Google-Smtp-Source: AGHT+IE6ZX4PE1yjGyXrrKGupR2+QH1DzpfevPEVH+ZX7rijONdKCXG/A0KZpl5BLlcTGGcreS/QZmQ3aDOWHoFfGdM= X-Received: by 2002:a2e:9219:0:b0:2c5:1388:e370 with SMTP id k25-20020a2e9219000000b002c51388e370mr12258779ljg.30.1698274119888; Wed, 25 Oct 2023 15:48:39 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 25 Oct 2023 15:48:39 -0700 In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::235; envelope-from=stefankangas@gmail.com; helo=mail-lj1-x235.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: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:311870 Archived-At: Andrea Corallo writes: > doing some work I just re-discovered that a good a explaination of that > was written by Eli in the 'native-comp-async-report-warnings-errors' doc > :) > > " > When native compilation happens asynchronously, it can produce > warnings and errors, some of which might not be emitted by a > byte-compilation. The typical case for that is native-compiling > a file that is missing some =E2=80=98require=E2=80=99 of a necessary feat= ure, > while having it already loaded into the environment when > byte-compiling. > > As asynchronous native compilation always starts from a pristine > environment, it is more sensitive to such omissions, and might be > unable to compile such Lisp source files correctly. Thanks for the reminder. So I think the plan you outlined previously sounds good.