GNU bug report logs - #44531
27.1; Emacs 27 fails to build from source on m68k (regression)

Previous Next

Package: emacs;

Reported by: John Paul Adrian Glaubitz <glaubitz <at> physik.fu-berlin.de>

Date: Mon, 9 Nov 2020 13:32:01 UTC

Severity: important

Found in version 27.1

Full log


Message #50 received at 44531 <at> debbugs.gnu.org (full text, mbox):

From: John Paul Adrian Glaubitz <glaubitz <at> physik.fu-berlin.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 44531 <at> debbugs.gnu.org, Daniel Colascione <dancol <at> dancol.org>
Subject: Re: bug#44531: 27.1; Emacs 27 fails to build from source on m68k
 (regression)
Date: Sun, 4 Sep 2022 10:02:06 +0200
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





This bug report was last modified 2 years and 347 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.