emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preview: portable dumper


From: Daniel Colascione
Subject: Re: Preview: portable dumper
Date: Mon, 19 Feb 2018 12:24:03 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

On 02/17/2018 02:31 AM, Andreas Schwab wrote:
Doesn't work on powerpc:

../../emacs/src/pdumper.c:2479: Emacs fatal error: assertion failed: 
vector_nbytes ((struct Lisp_Vector *) in) == out_size

(gdb) p out_size
$1 = 536
(gdb) p vector_nbytes ((struct Lisp_Vector *) in)
$2 = 544

Andreas.


Thanks for testing. I don't have a PowerPC handy. I guess I can go find an emulator, but in the meantime: can you think of anything specific to PowerPC that might break the code? Word size? pdumper works for me in both 32- and 64-bit forms on x86. Endian? AIUI, PowerPC has selectable endianness. Are you big- or little-endian? Besides, pdumper *should* be endian-neutral. And if we were looking at an endianness mismatch, I'd expect a much bigger mismatch than 544 vs. 536. What stack do you have there? Does your system use natural alignment?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]