From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: Merging MPS a.k.a. scratch/igc, yet again Date: Thu, 19 Dec 2024 17:32:15 +0000 Message-ID: <87h66z8tqr.fsf@protonmail.com> References: <8634iwex8q.fsf@gnu.org> <87plm0msrq.fsf@telefonica.net> <87zfl4npcd.fsf@debian-hx90.lan> <87ldwnn0ny.fsf@telefonica.net> <87frmjirum.fsf@no.lan> Reply-To: Pip Cet 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="17745"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 19 18:38:18 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 1tOKTa-0004S2-AR for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Dec 2024 18:38:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOKTI-0007Yd-Bp; Thu, 19 Dec 2024 12:38:00 -0500 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 1tOKNu-0003jt-96 for emacs-devel@gnu.org; Thu, 19 Dec 2024 12:32:30 -0500 Original-Received: from mail-4322.protonmail.ch ([185.70.43.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOKNs-0000xr-Hg for emacs-devel@gnu.org; Thu, 19 Dec 2024 12:32:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1734629542; x=1734888742; bh=srAJC81YX2Hxfo5cDgrf7ndja+n0cCyhcnX+CbEzeM0=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=Zv4UGueoH+YCJp0aZOyZNQaseDYFtzuLAAb4u/aEe49QTDRZDvGJccgFyr0paJ9pd V3DdLitFXBDnXRRTXKX767a/3TtXktch16xPakBZFOQuywF0b1fS+yjTQChuuktGch CsT2v/QrwKr11cTqlDP7IC+WvCdQ6HfRhZze18Ep4Fm2Pk4235GYas/FWmRCZGGXkL DW4QBmIc8khb0fowabZuzT7LLICWIR4Xa1jeoLLBfVFnWE1dmJUNKDV1eae763sbtA ebjzgTDziXlAKbspublwXJLcsWqpgNYl9Ea8vVzN0V6iH24LzFqOSVsByGFX/eZ2Dz gC7z5MuyafaMg== In-Reply-To: <87frmjirum.fsf@no.lan> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 497c3b19a7b22495c5138b8b75f478b408265f85 Received-SPF: pass client-ip=185.70.43.22; envelope-from=pipcet@protonmail.com; helo=mail-4322.protonmail.ch X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 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_MSPIKE_H2=-1.116, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 19 Dec 2024 12:37:53 -0500 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:326753 Archived-At: "Gregor Zattler" writes: > Hi Pip, Emacs developers, Hello! > * Pip Cet via "Emacs development discussions." [202= 4-12-10; 15:10 GMT]: >> ...and more problems. MPS has made the decision not to work with gcc > -O3, only with -O2 or less, and LTO in particular is something MPS > cannot reliably support, IIUC. > > is this (-O2) true only for building mps or > also for building Emacs with > --with-mps=3Dyes? If the latter it should > be documented in README-IGC, I think. I think you're right. I do think that the -O2 or less rule was meant to apply to MPS only, not for all applications using it. Does anyone remember what our conclusion was wrt -fno-omit-frame-pointer? I seem to remember there was a patch to MPS to avoid relying on setjmp() to save all registers, but I'd still be happier if we enabled that for all MPS builds, since we don't know whether our MPS has the patch. > I built mps as instructed in README-IGC, > but tried to build emacs with -O3 and it > crashed. I can reproduce and file a > bug, if you are interested. I'm definitely interested. It might just be the -fomit-frame-pointer thing, but if people run into that, clearly our configure script needs to be modified to explicitly request -fno-omit-frame-pointer. Pip