From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Paul Adrian Glaubitz Newsgroups: gmane.emacs.bugs Subject: bug#44531: 27.1; Emacs 27 fails to build from source on m68k (regression) Date: Sun, 4 Sep 2022 10:02:06 +0200 Message-ID: <5aab8c76-0b8b-2da7-96d8-ffbfa50a09bb@physik.fu-berlin.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36880"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Cc: 44531@debbugs.gnu.org, Daniel Colascione To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 04 10:03:21 2022 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 1oUkbA-0009OZ-FA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Sep 2022 10:03:20 +0200 Original-Received: from localhost ([::1]:42718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUkb7-0006EZ-AD for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Sep 2022 04:03:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUkas-0006E3-KL for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 04:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54706) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUkas-0007jn-82 for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 04:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUkar-0002jZ-SH for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 04:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: John Paul Adrian Glaubitz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Sep 2022 08:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44531 X-GNU-PR-Package: emacs Original-Received: via spool by 44531-submit@debbugs.gnu.org id=B44531.166227853210451 (code B ref 44531); Sun, 04 Sep 2022 08:03:01 +0000 Original-Received: (at 44531) by debbugs.gnu.org; 4 Sep 2022 08:02:12 +0000 Original-Received: from localhost ([127.0.0.1]:43405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUka3-0002iU-SO for submit@debbugs.gnu.org; Sun, 04 Sep 2022 04:02:12 -0400 Original-Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:40061) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUka2-0002iK-Bl for 44531@debbugs.gnu.org; Sun, 04 Sep 2022 04:02:11 -0400 Original-Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.95) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1oUkZz-00439K-Bk; Sun, 04 Sep 2022 10:02:07 +0200 Original-Received: from dynamic-077-183-139-092.77.183.pool.telefonica.de ([77.183.139.92] helo=[192.168.1.9]) by inpost2.zedat.fu-berlin.de (Exim 4.95) with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (envelope-from ) id 1oUkZz-000ite-5l; Sun, 04 Sep 2022 10:02:07 +0200 Content-Language: en-US In-Reply-To: X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 77.183.139.92 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:241479 Archived-At: Hello! On 7/2/22 21:28, Stefan Monnier wrote: >> dumping fingerprint: 7b5c59c589dc151eb1e4269bd83fbe809616b5cb9bb5c80014d5b560b391dfb6 >> dump relocation out of range > > This error message basically says that the relation is not a multiple of > the minimum expected alignment. So it seems to be a direct consequence > of the 16bit alignment used on m68k combined with the following from > pdumper.el: > > [...] > DUMP_RELOC_ALIGNMENT_BITS = 2, > > /* Minimum alignment required by dump file format. */ > DUMP_RELOCATION_ALIGNMENT = 1 << DUMP_RELOC_ALIGNMENT_BITS, > [...] > > I can't see anything in the code which explains what this alignment > requirement is about. You can try lowering DUMP_RELOC_ALIGNMENT_BITS > to 1 and see if that works (long shot). > Daniel? I just gave lowering DUMP_RELOC_ALIGNMENT_BITS to 1 and it fixes the problem for me. Maybe DUMP_RELOC_ALIGNMENT_BITS could be set depending on the native alignment of the host machine? Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913