Subject: Re: bug#44531: 27.1; Emacs 27 fails to build from source on m68k (regression)

From: Daniel Colascione <[email-masked]>
Date: Sat, 21 Nov 2020 00:07:28 -0800

On November 20, 2020 11:48:09 PM Eli Zaretskii <[email-masked]> wrote:

>> From: John Paul Adrian Glaubitz <[email-masked]>
>> Date: Mon, 09 Nov 2020 14:30:34 +0100
>>
>> Hello!
>>
>> Starting with version 27, Emacs has started failing to build from source
>> on m68k (Linux) with the following error message:

m68k is big endian, isn't it? Try building with enable-checking to see 
whether we can see where the bit rearrangement problem might be.

>>
>> /bin/mkdir -p ../etc
>> /usr/bin/make -C ../lisp update-subdirs
>> make[4]: Entering directory '/<<BUILDDIR>>/emacs-27.1+1/debian/build-gtk/lisp'
>> make[4]: Leaving directory '/<<BUILDDIR>>/emacs-27.1+1/debian/build-gtk/lisp'
>> cp -f temacs bootstrap-emacs
>> rm -f bootstrap-emacs.pdmp
>> ./temacs --batch  -l loadup --temacs=pbootstrap
>> Loading loadup.el (source)...
>> dump mode: pbootstrap
>> Using load-path (/<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp 
>> /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/emacs-lisp 
>> /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/progmodes 
>> /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/language 
>> /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/international 
>> /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/textmodes 
>> /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/vc)
>> Loading emacs-lisp/byte-run (source)...
>> Loading emacs-lisp/backquote (source)...
>> Loading subr (source)...
>> Loading version (source)...
>> (...)
>> Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/vc/vc-hooks.el 
>> (source)...
>> Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/vc/ediff-hook.el 
>> (source)...
>> Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/uniquify.el 
>> (source)...
>> Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/electric.el 
>> (source)...
>> Loading 
>> /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/emacs-lisp/eldoc.el 
>> (source)...
>> Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/cus-start.el 
>> (source)...
>> Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/tooltip.el (source)...
>> Finding pointers to doc strings...
>> Finding pointers to doc strings...done
>> Dumping under the name bootstrap-emacs.pdmp
>> dumping fingerprint: 
>> 7b5c59c589dc151eb1e4269bd83fbe809616b5cb9bb5c80014d5b560b391dfb6
>> dump relocation out of range
>>
>> Full build log available in [1].
>>
>> I have not been able to figure out what "dump relocation out of range"
>> actually means, so any explanation is much appreciated.
>
> Daniel, any advice for how to go about this problem?