bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#50230: Endian problem with native compilation


From: Andrea Corallo
Subject: bug#50230: Endian problem with native compilation
Date: Wed, 01 Sep 2021 15:13:54 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> Cc: 50230@debbugs.gnu.org
>> Date: Wed, 01 Sep 2021 12:28:59 +0000
>> From:  Andrea Corallo via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>> 
>> Andreas Schwab <schwab@linux-m68k.org> writes:
>> 
>> > define_cast_functions contains all the horrible mess.
>> >
>> > Andreas.
>> 
>> Hi Andreas,
>> 
>> is this bug fixed with 6767e5565?
>
> Andrea,
>
> Regardless of whether the big-endian bugs are solved with this, could
> you please try to give us an idea of how this change could affect the
> native code produced by Emacs, and whether it could destabilize Emacs
> with natively-compiled Lisp code to any significant degree?

This is changing the cast functions we synthesize and use in all the
code we generate, so yes it is potentially destabilizing.

That said the generated code looks correct to me (and considerably
cleaner).  Also, given these functions are really the foundation of a
lot of other code we generate I guess would be unlikely to have these
wrong but still have the testsuite passing clean and Emacs booting up
correctly.  Call me optimistic but I'd be pretty confident with this
change...

Not sure I can say more than this, hope it helps.

Regards

  Andrea





reply via email to

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