Subject: Re: bug#63365: 30.0.50; GCC 13.1 breaks building Emacs with native-compilation

From: Andrea Corallo <[email-masked]>
Date: Sun, 25 Jun 2023 14:11:15 -0400

Eli Zaretskii <[email-masked]> writes:

>> From: Andrea Corallo <[email-masked]>
>> Cc: Arash Esbati <[email-masked]>,  [email-masked],
>>   [email-masked],  [email-masked]
>> Date: Sun, 25 Jun 2023 09:51:13 -0400
>> 
>> Maybe someone should compare the two binaries (with and without
>> -foptimize-sibling-calls) to understand which compilation unit (and
>> which function) differs in details.
>
> How does one compare binaries in a useful way?  The Emacs binary is
> AFAIR around 20MB even when stripped of all symbols.

That's a good question, for elf there are specific tools for that, even
just readelf can output function sizes and that's a good starting point.

For Windows I've idea (I'm assuming Windows is not elf based).

  Andrea