<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>14261</bug_id>
          
          <creation_ts>2003-01-20 17:16 0000</creation_ts>
          <short_desc>bind-tools binaries are huge, dynamic linking helps</short_desc>
          <delta_ts>2004-01-05 20:51:43 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>1.4_rc2</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>lcars@gentoo.org</reporter>
          <assigned_to>naz@gentoo.org</assigned_to>
          <cc>h3y@esaurito.net</cc>

      

      
          <long_desc isprivate="0">
            <who>lcars@gentoo.org</who>
            <bug_when>2003-01-20 17:16:09 0000</bug_when>
            <thetext>bind-tools binaries such as dig, nsloolup and host are really huge (approzimately 1MB!) this is a bind fault not really a gentoo one, however I find it that building libdns, libisc, libisccc, libisccfg and liblwres as dynamic libraries and link those apps against them can help saving space (as example my dig is 61k). This can be accomplished when compiling bind tree with the following example command:  cd ./lib/dns ; ld -shared -s -o libdns.so -whole_archive libdns.a ; cp libdns.so  /usr/lib/bind  along with modifing the Makefile with something like -L/usr/lib/bind -ldns and so on for all the other libraries. Right now I don&apos;t have the exact procedure (if you think that this is a good idea I can write one), this is only a raw example.  What do you think?  Bye</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>woodchip@gentoo.org</who>
            <bug_when>2003-02-23 14:49:16 0000</bug_when>
            <thetext>you wanna fix this Nazzy?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>naz@gentoo.org</who>
            <bug_when>2003-02-24 23:32:20 0000</bug_when>
            <thetext>Ok, I will see what can be done</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>naz@gentoo.org</who>
            <bug_when>2003-03-07 01:19:00 0000</bug_when>
            <thetext>Created an attachment (id=9060)
bind-tools fix

Updated ebuild for bind-tools</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lcars@gentoo.org</who>
            <bug_when>2003-04-07 03:07:01 0000</bug_when>
            <thetext>Ok, actually it doesn&apos;t do exactly the same but I&apos;ve just discovered that dynamic 
linking can be enabled with &apos;--with-libtool&apos; (thanks to isc support). &apos;dig&apos; size for 
example drop to 160K and I suppose that this is a much cleaner method than the 
one I&apos;ve proposed ;) 
 
bye </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2004-01-05 20:51:43 0000</bug_when>
            <thetext>they seem to be very small atm.
60-70K each for me.
closing this old bug now.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>9060</attachid>
            <date>2003-03-07 01:19 0000</date>
            <desc>bind-tools fix</desc>
            <filename>bind-tools-9.2.2_rc1-r1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDAzIEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogL2hvbWUvY3Zzcm9vdC9nZW50b28teDg2L25ldC1kbnMvYmluZC10b29scy9i
aW5kLXRvb2xzLTkuMi4yX3JjMS5lYnVpbGQsdiAxLjYgMjAwMy8wMi8xMyAxMzo1Njo0NSB2YXBp
ZXIgRXhwICQKCk1ZX1A9JHtQLy8tdG9vbHN9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