apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davi Arnaut <d...@haxent.com.br>
Subject Re: Strange size of produced APR binaries on Solaris
Date Wed, 18 Oct 2006 11:07:25 GMT
Mladen Turk wrote:
> Hi,
> 
> Building APR gives a really strange binary sizes on Solaris.
> 
> $ gcc --version
> gcc (GCC) 3.3.2
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> $ uname -a
> SunOS dev12.qa.atl.jboss.com 5.9 Generic_118558-25 sun4u sparc SUNW,Sun-Fire-V210
> 
> 
> The APR is 1.2.7, and a simple
> ./configure --prefix=/foo/bar
> make && make install
> 
> produces the libapr-1.so.0.2.7 sized 3094060 bytes.
> 
> Now, is that normal?
> It is twice the size then any other platform.
> For example the libcrypto from OpenSSL is usually double
> the size then APR on any platform (even Solaris 10 x86),
> but on sparc it's the half the size 1427960 bytes compared
> with apr.
> 
> Anyone knows what might be the reason, and why the produced
> binaries are four times larger then expected?

Debugging symbols ? other library linked statically (expat ?) ? Have you
tried to strip ?

Also you can objdump -h and diff it's output to compare the size of each
section with a older "normal" .so.

--
Davi Arnaut

Mime
View raw message