Hello,

I was doing some binary size comparisons between -m32 and -m64 builds on x86_64 
Linux (SUSE 10.2 with gcc 4.1.2). This is the same build environment, same 
glibc, etc.
just one configured for i386-linux and built with -m32 and the other for 
x86_64-linux

One thing I noticed is that a few executable sizes differ widely: 

(.text sizes)   64bit   32bit
./src/csplit    95481   27704   
./src/nl        87879   19551   
./src/ptx       98316   28623
./src/expr      88373   20731
./src/tac       83726   15935

The other differences are in the expected range of a few percent.

On some investigation it looks like 64bit contains the regexpr functions and 
some
other library functions, while the 32bit versions use the one from glibc.
I assume that must be a (harmless) bug since the glibc version (2.5) is 
identical
between 32bit and 64bit.

A diff of the two config.logs is available at 
http://one.firstfloor.org/~andi/coreutils-conf-diff

-Andi


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to