Size of libdns between 9.10.0 and 9.10.1
grantksupport at operamail.com
grantksupport at operamail.com
Wed Sep 24 16:24:35 UTC 2014
On Wed, Sep 24, 2014, at 08:56 AM, Evan Hunt wrote:
> On Wed, Sep 24, 2014 at 09:23:51AM +0200, Anand Buddhdev wrote:
> > I've just downloaded and build BIND 9.10.1, and I noticed something. The
> > size of the generated libdns.so.146.0.2 file is 2046056 bytes. In my
> > previous build of 9.10.0-P2, the size of libdns.so.142.2.2 is 6658892.
> > That's a massive reduction in size. Did you guys suddenly delete a lot
> > of code?
>
> No, we didn't. Same compiler/linker? Same build options?
just fwiw, here, unstripped,
ls -al bind-9.10.*/lib64/libdns.so.14*.*
-rw-r--r-- 1 root root 2.2M Jun 11 15:20 bind-9.10.0-P2/lib64/libdns.so.142.2.2
-rw-r--r-- 1 root root 2.2M Sep 22 19:57 bind-9.10.1/lib64/libdns.so.146.0.2*
file `ls bind-9.10.*/lib64/libdns.so.14*.*`
bind-9.10.0-P2/lib64/libdns.so.142.2.2: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=ebbe375dd419037fd5195bc55e02a46ef2a52b15, not stripped
bind-9.10.1/lib64/libdns.so.146.0.2: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=27eb2f56a14979bca6354b833882c333141bc8c1, not stripped
or, stripped,
strip --strip-unneeded `ls bind-9.10.*/lib64/libdns.so.14*.*`
file `ls bind-9.10.*/lib64/libdns.so.14*.*`
bind-9.10.0-P2/lib64/libdns.so.142.2.2: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=ebbe375dd419037fd5195bc55e02a46ef2a52b15, stripped
bind-9.10.1/lib64/libdns.so.146.0.2: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=27eb2f56a14979bca6354b833882c333141bc8c1, stripped
ls -al bind-9.10.*/lib64/libdns.so.14*.*
-rw-r--r-- 1 root root 2.0M Sep 24 09:18 bind-9.10.0-P2/lib64/libdns.so.142.2.2
-rw-r--r-- 1 root root 2.0M Sep 24 09:18 bind-9.10.1/lib64/libdns.so.146.0.2*
in both cases, similar to your smaller instance ...
More information about the bind-users
mailing list