From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: MPS: Please check if scratch/igc builds with native compilation Date: Tue, 21 May 2024 21:38:17 +0200 Message-ID: References: <875xv76mkj.fsf@gmail.com> <87v83756cp.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13705"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Helmut Eller , Emacs Devel , Eli Zaretskii To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 21 21:39:08 2024 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 1s9VKF-0003KI-Km for ged-emacs-devel@m.gmane-mx.org; Tue, 21 May 2024 21:39:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9VJc-0003Bp-0u; Tue, 21 May 2024 15:38:28 -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 1s9VJY-0003Ax-Qm for emacs-devel@gnu.org; Tue, 21 May 2024 15:38:25 -0400 Original-Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s9VJV-0008A7-EA; Tue, 21 May 2024 15:38:24 -0400 Original-Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a5a89787ea4so832519866b.2; Tue, 21 May 2024 12:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716320299; x=1716925099; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=XolIof+BZLuiODJ0lTHdob3rmzYG7Wp+0cksxXPaO0Y=; b=H9uQCjkh9cfCinCIu2lib8Ck9Q6I27EGKNNhk8n3WHCB+xUYFVPoN7OjhhFjsJmjIu d1ZpwBUBy7b6S1rEPSOR+cGHL+TmIsa9cO4xQmY/a4HaxEW/SvQEDsBCfTyI6ysDRW2l LERDMPB1xxmJUVKEhvxbviQlbeQCp19H5P8A5iZ0LG3I8KAZRHXg8pfDEVeFxpEVKL4A /op0cAAlkswhG98rRt25ayDjOBuwTVrPVtqhvCj3EOcrYy2DuguNB8JRG3M6QTnGT0tA 1Q0COJbGcf4Ti/QBHL6suYNyhV3gzjWqyreQBL2Y9yXhv1G1dJoK8qhQtkGDUqRUFx4A 5m4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716320299; x=1716925099; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=XolIof+BZLuiODJ0lTHdob3rmzYG7Wp+0cksxXPaO0Y=; b=wGmpmqXtvc7Gi7NLRLV3RA+/l1WCy3CKcj9rSEwa4dzvaH0BHG5h9RhMjI6OkQYI6L 01I/SlLd7z6dNJzFFTXsNNwED0OtGQWWBoC+gOd/PxTHftHbEeRjwL4QVzkIj100RTol 37PILP1+Bdf/p6eB6mUXXToN7diJXfRLn2uuWgfPUaVQ1ueFpdSKN+mF3WI37j1mpqGv UEg3oTiT/rpNKjQzjUaC9Jq4BJiLgy/qTEZE1xglCNgJ0IfN3kY69raEu5NEh7b7prLR eSvojQ2CJFIPiozDqDNCELurq/CbSy/e1FDuzE77Cnz0DdSsLuiLU1PXpxhxcKvmQhGF WzEg== X-Forwarded-Encrypted: i=1; AJvYcCXKhfnFuzv8c2UzBP7146xo9yT8QiGUXxb4k4tugWYGTkGFoXfgq8I7Obs5UK0pFvjC/29v1j/bUbkEGh08UErOlKPJBslSiD//Hp0+xgBXcco= X-Gm-Message-State: AOJu0Ywrw1KR3CDMWmsgRr3RwHjjIRcPfFetYusZkx9T5rJQUqHhNJIM GVo5zYEvkUXw709JWscpzO9SdIgURxXM9UStUgzq/tpEtVeZEIIPDYmfLg== X-Google-Smtp-Source: AGHT+IF295BZvTVDor0/ef0P7JGS2z33AFuGRCmef0FIJT5MperAjOfT8RzpXrOefF0Quqh7REB23w== X-Received: by 2002:a17:906:b1d3:b0:a59:9ad4:6f42 with SMTP id a640c23a62f3a-a5a2d66a2e1mr2264809966b.58.1716320298655; Tue, 21 May 2024 12:38:18 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e36251.dip0.t-ipconnect.de. [217.227.98.81]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b0163csm1652245966b.163.2024.05.21.12.38.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 12:38:18 -0700 (PDT) In-Reply-To: (Andrea Corallo's message of "Tue, 21 May 2024 15:35:05 -0400") Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x630.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:319466 Archived-At: Andrea Corallo writes: > Andrea Corallo writes: > >> Helmut Eller writes: >> >>> Is there some way to disable optimizations for libgccjit so that the >>> native compiler isn't quite so slow? >> >> The following should do the job, maybe is also an interesting test to >> do... >> >> modified lisp/emacs-lisp/comp.el >> @@ -54,7 +54,7 @@ comp >> "Emacs Lisp native compiler." >> :group 'lisp) >> >> -(defcustom native-comp-speed 2 >> +(defcustom native-comp-speed 0 >> "Optimization level for native compilation, a number between -1 and 3. >> -1 functions are kept in bytecode form and no native compilation is performed >> (but *.eln files are still produced, and include the compiled code in > > Okay a datapoint, I did managed to bootstrap two times a native compiled > Emacs with only this patch installed with no errors. Interesting. On my systems, speed 0 didn't change things.