From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Al Haji-Ali Newsgroups: gmane.emacs.bugs Subject: bug#61880: Native compilation fails to generate trampolines on certain scenarios Date: Tue, 14 Mar 2023 13:22:13 +0000 Message-ID: <875yb3wjqy.fsf@gmail.com> References: <87ilf79vl0.fsf@gmail.com> <83356bwbd2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14113"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61880@debbugs.gnu.org, akrl@sdf.org To: rms@gnu.org, Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 14 15:28:31 2023 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 1pc5df-0003Ye-Dh for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Mar 2023 15:28:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pc58G-0003dT-MD; Tue, 14 Mar 2023 09:56:04 -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 1pc58F-0003d3-17 for bug-gnu-emacs@gnu.org; Tue, 14 Mar 2023 09:56:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pc58E-0004Xl-PC for bug-gnu-emacs@gnu.org; Tue, 14 Mar 2023 09:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pc58E-0005Eo-Jh for bug-gnu-emacs@gnu.org; Tue, 14 Mar 2023 09:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Al Haji-Ali Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Mar 2023 13:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61880 X-GNU-PR-Package: emacs Original-Received: via spool by 61880-submit@debbugs.gnu.org id=B61880.167880216120128 (code B ref 61880); Tue, 14 Mar 2023 13:56:02 +0000 Original-Received: (at 61880) by debbugs.gnu.org; 14 Mar 2023 13:56:01 +0000 Original-Received: from localhost ([127.0.0.1]:38177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pc58D-0005Ea-00 for submit@debbugs.gnu.org; Tue, 14 Mar 2023 09:56:01 -0400 Original-Received: from mail-ed1-f49.google.com ([209.85.208.49]:43684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pc58B-0005ER-BU for 61880@debbugs.gnu.org; Tue, 14 Mar 2023 09:55:59 -0400 Original-Received: by mail-ed1-f49.google.com with SMTP id x3so62320873edb.10 for <61880@debbugs.gnu.org>; Tue, 14 Mar 2023 06:55:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678802153; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=c/pCz2f/SPSUntEfQR6yfwiBlCxo2LMGpm7e0ItDgK0=; b=GtGqszgG4cCqWTt4RZJ2IQ2h4Ko/OHbQITxxIwCsKFPRTfWkcJ8J6x932OGnCUpdJD eSeQfSAVjAdnc9wI3Hd/CBsAHBf4Y6uRPLFzgTu2ebWT/9yf1zfZ4hbyvvug9H60AWtM FVxH8oJ9UG0VOmc6nuKNRrmuWLLZF9oXSM44HzLSQP0/8wTXN78uy+xSuUKuPnTAgv8b CRo2Us/VKfyCuC4TlmQPh4iunaV3cpBk+jjydxxcnFhjJ/evitgQwn62j2XGvxjPy+uX aSic7JDv/tPNMSJmDxu5iCXe8KCuRz+rxUsEs7jxml4PXAayUxlbWIkVUZTRsg2UIRZK 5ejg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678802153; h=mime-version: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=c/pCz2f/SPSUntEfQR6yfwiBlCxo2LMGpm7e0ItDgK0=; b=BzUQR6Fe6+zUySvrSHPgU19ok3cZJbw5VDENSBUqiLofUWw44kC5sGLKYUvWswVzrT HvFxtS9Z5w7ofnz+1FuPn7WGToCZjL3w7m9BKmKiO4MXTyxN30qZBuqDL7+zKoU07pQv 6UeJhCWO/buB0zDbSoUZrGpZxwmSxFoa6syZN/UgSZlkWONAYJBTx/yRltL5ON2Mt5aZ zjo9uFHJ5hdyS3FTg+vWguJrAQRh1ikvns/JqINzc10Ml8ib0RB94ozjha0/7sxuY5M0 MzZ6CvfTkQPwsv0pjZxKPml1EAvqmiUrkP+1cKT+b84vCYV4dX9T0ZxqOyhHeUhNsQ4y PwDw== X-Gm-Message-State: AO0yUKUWcb+V8C0RJqDYh1WCdZJeITkaGOaj+alUaPuMXFMB9x9ul2dU uc4PPdvQwSPz2ygfGXIPe6db2ToKcYA= X-Google-Smtp-Source: AK7set8bvaxZwFwvgCZuTeEEkwse0m3+HPna4CB6MlhrTdgEsIeSToZIpe4ay5jr/YpZ66CKUpCizg== X-Received: by 2002:adf:e584:0:b0:2ce:9fb8:b560 with SMTP id l4-20020adfe584000000b002ce9fb8b560mr7936138wrm.8.1678800602170; Tue, 14 Mar 2023 06:30:02 -0700 (PDT) Original-Received: from localhost (sgyl-45-b2-v4wan-165314-cust948.vm6.cable.virginm.net. [92.236.87.181]) by smtp.gmail.com with ESMTPSA id j15-20020adff00f000000b002cea9d931e6sm2163782wro.78.2023.03.14.06.30.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 06:30:01 -0700 (PDT) In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:257935 Archived-At: On 13/03/2023, Richard Stallman wrote: > I'm very glad that we now warn users about this pitfall. > We have had bug reports over the years from users who fell > into it. To "fix" it would be a mistake, but a warning > is fine. Connecting this to bug#61917, is the compilation error there perhaps caused by the advice to the primitive function `delete-region`? Is it always wrong to advice primitives? Or only those that are "involved in producing primitives" as Eli put it? If so, how can one tell which is which? -- Al