From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: Question about native compilation (bug?) Date: Thu, 27 Jul 2023 12:15:33 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37783"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: "emacs-devel@gnu.org" To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 27 19:28:21 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 1qP4mj-0009cn-Jk for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Jul 2023 19:28:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qP3eK-0001M1-BK; Thu, 27 Jul 2023 12:15:36 -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 1qP3eI-0001LF-Jk for emacs-devel@gnu.org; Thu, 27 Jul 2023 12:15:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qP3eH-0005Rt-PN; Thu, 27 Jul 2023 12:15:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=PkDrT+dwkoenquBf69QzmY3E+2lqYePMAymeQiLFMBM=; b=gH0toIegqMIYdAL2YG7V I8Sbi1+oYzCM1EF0EFhmsyCrrIGBWIG5R0qY69kVUKATg2hF/7D0LjiEUNPcx2mBrKgvRu+R6f5PU I6A30s7+uZYCCRnB2D7qaOx2B/HogQwlyHrFGLKimJjNh/s6Ylmo2T1XWNVrFiPHapgh9flVQAiuH qWQsPkARnpdIBGGCyNefHzQGPNZbJvDv7Xo5NqSyJ5HEMUEXA7rvWiiUvipdtm9W3QLJA3CxFnFIe LZX4+k/uOIznE1y90NhCy823HcogFfhTcnOoxKLw598VPcHSrCIBHU+OI7sEt8tFKlgg2FMfHVCVU uQasWy0VuRkb3Q==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qP3eH-00047I-J2; Thu, 27 Jul 2023 12:15:33 -0400 In-Reply-To: (Drew Adams's message of "Thu, 27 Jul 2023 14:37:15 +0000") 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:308162 Archived-At: Drew Adams writes: >> Redefining a primitive (thing that is not recommended but often done) >> one must at least use the same signature as the original one. I don't >> think we support the case where the new definition is of a different >> signature. Native compilation might be just more sensitive in this >> unsupported condition. > > I don't know whether the same problem arises if > the redefined function has a Lisp instead of a > C definition. If not, then what you say might > have a bit more sway. Should be only about primitives (C definitions). Andrea