From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#46256: [feature/native-comp] AOT eln files ignored if run from build tree Date: Thu, 04 Mar 2021 11:54:23 +0000 Message-ID: References: <865z38a9vo.fsf@gmail.com> <86eehujcip.fsf@gmail.com> <86blch14qt.fsf@gmail.com> <83h7m84h9g.fsf@gnu.org> <86v9ao5czu.fsf@gmail.com> <86wnutogrh.fsf@gmail.com> <86wnut8fb9.fsf@gmail.com> <861rd1tbpa.fsf@gmail.com> <83pn0km6y3.fsf@gnu.org> <86ft1f8ara.fsf@gmail.com> <83sg5cjdn8.fsf@gnu.org> <83r1kwjcy2.fsf@gnu.org> <83k0qoj9zv.fsf@gnu.org> <83im68j963.fsf@gnu.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20840"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: andrewjmoreton@gmail.com, eliz@gnu.org To: 46256@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 04 12:55:16 2021 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 1lHmZY-0005JH-2K for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Mar 2021 12:55:16 +0100 Original-Received: from localhost ([::1]:44046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHmZX-00069V-5C for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Mar 2021 06:55:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHmZK-00068M-Mf for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 06:55:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHmZK-0004jb-F8 for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 06:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lHmZK-0004ET-Ed for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 06:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Mar 2021 11:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46256 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: 46256@debbugs.gnu.org, andrewjmoreton@gmail.com, eliz@gnu.org Original-Received: via spool by 46256-submit@debbugs.gnu.org id=B46256.161485887116198 (code B ref 46256); Thu, 04 Mar 2021 11:55:02 +0000 Original-Received: (at 46256) by debbugs.gnu.org; 4 Mar 2021 11:54:31 +0000 Original-Received: from localhost ([127.0.0.1]:57968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHmYp-0004DB-1u for submit@debbugs.gnu.org; Thu, 04 Mar 2021 06:54:31 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:61882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHmYk-0004Cz-Vn for 46256@debbugs.gnu.org; Thu, 04 Mar 2021 06:54:29 -0500 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 124BsNOM025720 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Thu, 4 Mar 2021 11:54:25 GMT In-Reply-To: (Andrea Corallo via's message of "Thu, 04 Mar 2021 08:30:37 +0000") 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" Xref: news.gmane.io gmane.emacs.bugs:201379 Archived-At: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of > text editors" writes: > > [...] > >> PS ATM I see a crash too in my 32bit wide-int setup here, this is while >> executing a top_level_run function loading a .eln file. I need to >> compile a more recent gdb to look into this further but it looks >> something basic is going wrong there. > > Ok, I think this issue was that `comp-abi-hash' was not accounting for > '--with-wide-int' and on my system a wide-int binary was loading a > non-wide-int .eln. With 6444f69de2 I added > `system-configuration-options' as an input to the hash. > > This is a conservative choice, we may want to look only at > '--with-wide-int' but I'm wondering if that's really the only sensitive > input therefore having `system-configuration-options' in the equation > looked safer to me at least for now. Just to report, this morning I've used a bit Emacs 32bit wide-int and as of 6444f69de2 seems to work fine here (some or org and C file editing), also the compiler testsuite is passing clean. Andrea