At Fri, 5 Dec 2025 04:16:51 +0300, Andrew Randrianasulu 
<[email protected]> wrote:
Subject: Re: sparc lost its binary pakages
>
> > $ file build-x86_64-nb9.99.81-31.0.50/src/emacs
> > build-x86_64-nb9.99.81-31.0.50/src/emacs: ELF 64-bit LSB executable, 
> > x86-64, version 1 (SYSV), statically linked, for NetBSD 9.99.81, with 
> > debug_info, not stripped
> > $ size build-x86_64-nb9.99.81-31.0.50/src/emacs
> >    text    data     bss     dec     hex filename
> > 19149051 358196 2911673 22418920 15615e8 
> > build-x86_64-nb9.99.81-31.0.50/src/emacs
> > $ ls -l build-x86_64-nb9.99.81-31.0.50/src/emacs
> > -rwxr-xr-x  2 woods  wheel  141404440 Apr  2  2025 
> > build-x86_64-nb9.99.81-31.0.50/src/emacs
> >
>
> wow, 141 Mbyte ? ;) It sure grown from its early days ;)

Well, yes, but most of that is debug info:  with debug_info, not stripped

The reason I posted the file(1) and size(1) output is that those are
what help you identify what is in the file and then distinguish between
the binary file-on-disk size vs. the actual program size and what's
relevant for worst-case runtime memory use (worst-case on a system like
NetBSD that does demand-paging of shared executable text pages that is).

The stripped file is "only" about 19 Mb, as hinted by the "text" size.

$ ls -l build-x86_64-nb9.99.81-31.0.50/src/emacs.stripped
-rwxr-xr-x  1 woods  wheel  19664232 Dec  7 14:17 
build-x86_64-nb9.99.81-31.0.50/src/emacs.stripped

--
                                        Greg A. Woods <[email protected]>

Kelowna, BC     +1 250 762-7675           RoboHack <[email protected]>
Planix, Inc. <[email protected]>     Avoncote Farms <[email protected]>

Attachment: pgpAfx8BKA5Dg.pgp
Description: OpenPGP Digital Signature

Reply via email to