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 08:30:37 +0000 Message-ID: References: <865z3866my.fsf@gmail.com> <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="17005"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: eliz@gnu.org, andrewjmoreton@gmail.com 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 09:31:10 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 1lHjO2-0004Kh-46 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Mar 2021 09:31:10 +0100 Original-Received: from localhost ([::1]:50286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHjO1-0003Ij-5k for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Mar 2021 03:31:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHjNt-0003IF-V2 for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 03:31:01 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHjNt-00037d-Nf for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 03:31:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lHjNt-00038o-KQ for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 03:31:01 -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 08:31:01 +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: Eli Zaretskii , andrewjmoreton@gmail.com, 46256@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161484665112057 (code B ref -1); Thu, 04 Mar 2021 08:31:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Mar 2021 08:30:51 +0000 Original-Received: from localhost ([127.0.0.1]:57646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHjNi-00038P-ME for submit@debbugs.gnu.org; Thu, 04 Mar 2021 03:30:50 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:51884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHjNg-00038H-Cx for submit@debbugs.gnu.org; Thu, 04 Mar 2021 03:30:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHjNg-0003CQ-4M for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 03:30:48 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:62174) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHjNc-00030F-IZ; Thu, 04 Mar 2021 03:30:47 -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 1248UbY1004212 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Thu, 4 Mar 2021 08:30:38 GMT In-Reply-To: (Andrea Corallo via's message of "Wed, 03 Mar 2021 20:21:38 +0000") Received-SPF: pass client-ip=205.166.94.24; envelope-from=akrl@sdf.org; helo=mx.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:201366 Archived-At: 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. Andrea