From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: HowTo: Have both native-emacs and emacs installed? Date: Tue, 25 Aug 2020 07:51:43 -0700 Message-ID: <24389.9599.211972.421166@retriever.mtv.corp.google.com> References: <20200824210455.EFCBFC2137B@raman-glaptop.localdomain> 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="22467"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, emacs-devel@gnu.org To: akrl@sdf.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 25 16:52:35 2020 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 1kAaJO-0005jf-VA for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Aug 2020 16:52:34 +0200 Original-Received: from localhost ([::1]:45512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAaJN-0003Ef-UB for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Aug 2020 10:52:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAaIf-0001fg-3X for emacs-devel@gnu.org; Tue, 25 Aug 2020 10:51:49 -0400 Original-Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]:35028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAaId-0000Vi-9j for emacs-devel@gnu.org; Tue, 25 Aug 2020 10:51:48 -0400 Original-Received: by mail-pg1-x52d.google.com with SMTP id o5so6990858pgb.2 for ; Tue, 25 Aug 2020 07:51:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=0e76qRfSh3Uj7KAfUE5NtZFcJiHlxjqCNBg5f6DXtGM=; b=NNFPRYmVYU1ve/uhVVK/OgycvDDUSSDGpHDyovC05OHqOxcZulDZrbMdmUqfj0vzN6 FYXZQ4WfBVvlpCKnZIings9b67KjRbtBfgEZBhLeBQc04M8XqgAy9h701g0gKWZliIvd l86uxbPfFb1O8jalSNOYKGf3L7VUyy4Ler1GMOzm9Oh9EEavgVqp+IIapixNCMIAmgc4 LAmNU6myTqoyIcFueRYFavDh1fxLXs7+Y2PMY78iKHdVt10h5tpx2IlD419ttYH/Kwq5 njuY+MJvBv/RNGLufHsia4lHxfskb+kjY+fWoUyoud4yZGCnDA/aPlqXG/hFFg72XoGN 9vmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=0e76qRfSh3Uj7KAfUE5NtZFcJiHlxjqCNBg5f6DXtGM=; b=LLVLqlnuU7sdBHS67iAW/6gGCJj4KbHDulph7fQn/D1jbsqcmy2CATwRcBtJ0sJJAl vhqG2vVsTvGV+NekKBWpE8HuqSG+GyhDVkFFCggBZQmARcqmkC15yGnnmG9UUSxQAAaZ 0ZZc3BjhcLYzaDrCG/hCdy1ldVSq4cwLKf5U455QxTVM8ijg2pf+SLT508ji1qEmfaY5 K7klIe9URQbCmWhJyf61NkpxqJntPMkRTX0l3R8Ko4mqdM/Yb5jbD/MWgojWLWS0Tt/l Y2mqLoE2LbvOiSpsFMiwvKt77EcjXkcc8xmVkyj7NZnXyFkgQkD3eAm3emI1UblFxg58 8RHw== X-Gm-Message-State: AOAM5307xcth//2TEdWZK+80/yZKZpfBGAIvcNLtOcwqvL3hJKdsd9Rf NPd9JoKeGc+jkvKw4kt2zQ1i+zyFjBXisA== X-Google-Smtp-Source: ABdhPJxt/zIIKDSIonQInHEDeYva3qEq3cXG0Re4ppIx69JR7coELdTIXSdGnTkimJZUbeHMiuqkBQ== X-Received: by 2002:a63:ec18:: with SMTP id j24mr6834073pgh.74.1598367105189; Tue, 25 Aug 2020 07:51:45 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([172.22.80.201]) by smtp.gmail.com with ESMTPSA id p9sm13135214pge.39.2020.08.25.07.51.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Aug 2020 07:51:44 -0700 (PDT) X-Google-Original-From: "T.V Raman" Original-Received: by retriever.mtv.corp.google.com (Postfix, from userid 13930) id 45439180039F; Tue, 25 Aug 2020 07:51:43 -0700 (PDT) In-Reply-To: X-Mailer: VM 8.2.0b under 28.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::52d; envelope-from=raman@google.com; helo=mail-pg1-x52d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -201 X-Spam_score: -20.2 X-Spam_bar: -------------------- X-Spam_report: (-20.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-2.602, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:254219 Archived-At: yes, dump file name including the prefix would be the easiest fix. For now I have two dump files plain.pdmp and native.pdmp from the two dumps and symlink emacs.pdmp appropriately, but clearly not a viable situation except when playing with it=20 Andrea Corallo writes: > "T.V Raman" writes: >=20 > > I built native-emacs with the flag --program-prefix=3Dnative- to > > configure thinking I could then have /usr/local/bin/emacs and > > /usr/local/bin/native-emacs. That part works, however the dumper f= ile > > ends up not having a build-specific name, so at the end, you can > > still only run one -- error is: > > > > 13:52:03 raman-glaptop ~ $ native-emacs -nw > > desired fingerprint: a8411d29f8395f2b0334445e1d6f966aa3b2866974b67= 79626dd74f69bd61f4f > > found fingerprint: a13aa195c0ea23eb408e4955d4b9bc4d5820e6120e91c9b= 55d2499abca4f6c82 > > emacs: could not load dump file "/usr/local/libexec/emacs/28.0.50/= x86=5F64-pc-linux-gnu/emacs.pdmp": not built for this Emacs executable >=20 > Hi Raman, >=20 > I see the issue. I think this is a generic problem that is not just= > related to the native compiler configuration but to any that has an > impact on the pdump fingerprint. >=20 > Maybe the dump file should include the program-prefix. >=20 > Andrea >=20 > --=20 > akrl@sdf.org --=20 =E2=99=89Id: kg:/m/0285kf1 =F0=9F=A6=AE=E2=99=89 -- ♉Id: kg:/m/0285kf1 🦮♉