[busybox] some size savings
Bernhard Fischer
rep.nop at aon.at
Sun Nov 6 22:24:15 UTC 2005
On Thu, Nov 03, 2005 at 09:33:40AM -0500, Paul Fox wrote:
> > On Wednesday 02 November 2005 14:48, Bernhard Fischer wrote:
> > > Stressing compilers like that did (for me, at least) trigger some more
> > > or less "interresting" compiler deficiencies, AFAIC): Pathscale as well
> > > as gcc gave up on multiple fn() names per unit (illegal code, granted,
> > > still -- unwarned thus uncought), icc -- and the rest of the gang i
> > > tried this approach with -- segfault{ed,s} on certain other corner
> > > cases and the like. Minor noise in compiler-evolution, from my POV,
> > > fwiw. Nothing fancy, just a couple of bugs at our side and a handful
> > > dozend of 'em at "producers" side of affairs..
> >
> > It's ok for 1.1 to require a new compiler, but we'll need to have it in by
> > -pre2.
>
>say what? i guess i've been sleeping. exactly what's going to break,
>using existing 3.3 compilers that work on busybox 1.0?
the patch won't break gcc-3.x and gcc-4.x. I couldn't compile current
svn with a gcc-2.95 (it fails in cut.c).
>
> > Is this still the libbb.so work we're discussing? (You're trying to build
> > libbb.so all in one gulp?) The relevant question is probably "any idea what
> > kind of memory footprint it takes to compile this puppy"? (Keeping in mind
> > that you can't build gcc 4.0.2 in a measly 128 megs of ram without swap. 256
> > it builds in, though. Right now I believe we compile in 32...)
> >
> > And what kind of space savings are you seeing?
>
>my question too.
http://members.aon.at/berny_f/busybox/busybox.combine-20051106-2306.tar.bz2
is the patch + allyesconfig with e2fsprogs disabled.
with this config, i get (oorig == svn r12083, c == r12083+patch):
780 -rwxr-xr-x 1 1000 1000 791704 2005-11-06 23:13 busybox.c.gcc-3.3
776 -rwxr-xr-x 1 1000 1000 788760 2005-11-06 20:57 ../oorig/busybox.gcc-3.3
740 -rwxr-xr-x 1 1000 1000 750708 2005-11-06 23:12 busybox.c.gcc-3.4
736 -rwxr-xr-x 1 1000 1000 747860 2005-11-06 20:55 ../oorig/busybox.gcc-3.4
744 -rwxr-xr-x 1 1000 1000 755588 2005-11-06 23:11 busybox.c.gcc-4.0
748 -rwxr-xr-x 1 1000 1000 758548 2005-11-06 20:54 ../oorig/busybox.gcc-4.0
716 -rwxr-xr-x 1 1000 1000 728216 2005-11-06 23:09 busybox.c.gcc-4.1
736 -rwxr-xr-x 1 1000 1000 745808 2005-11-06 20:53 ../oorig/busybox.gcc-4.1
text data bss dec hex filename
775337 11816 1046692 1833845 1bfb75 ../oorig/busybox.gcc-3.3
775945 12200 1047556 1835701 1c02b5 busybox.c.gcc-3.3
text data bss dec hex filename
734462 11792 1046596 1792850 1b5b52 ../oorig/busybox.gcc-3.4
734214 12176 1047492 1793882 1b5f5a busybox.c.gcc-3.4
text data bss dec hex filename
744028 11820 1046724 1802572 1b814c ../oorig/busybox.gcc-4.0
741985 12008 1047224 1801217 1b7c01 busybox.c.gcc-4.0
text data bss dec hex filename
733284 10920 1046468 1790672 1b52d0 ../oorig/busybox.gcc-4.1
717859 8764 1045932 1772555 1b0c0b busybox.c.gcc-4.1
More information about the busybox
mailing list