First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 14261
Alias:
Product:
Component:
Status: RESOLVED
Resolution: INVALID
Assigned To: Michael M Nazaroff (RETIRED) <naz@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrea Barisani (RETIRED) <lcars@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
bind-tools-9.2.2_rc1-r1.ebuild bind-tools fix text/plain Michael M Nazaroff (RETIRED) 2003-03-07 01:19 0000 1.30 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 14261 depends on: Show dependency tree
Bug 14261 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-01-20 17:16 0000
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'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

------- Comment #1 From Donny Davies (RETIRED) 2003-02-23 14:49:16 0000 -------
you wanna fix this Nazzy?

------- Comment #2 From Michael M Nazaroff (RETIRED) 2003-02-24 23:32:20 0000 -------
Ok, I will see what can be done

------- Comment #3 From Michael M Nazaroff (RETIRED) 2003-03-07 01:19:00 0000 -------
Created an attachment (id=9060) [edit]
bind-tools fix

Updated ebuild for bind-tools

------- Comment #4 From Andrea Barisani (RETIRED) 2003-04-07 03:07:01 0000 -------
Ok, actually it doesn't do exactly the same but I've just discovered that
dynamic 
linking can be enabled with '--with-libtool' (thanks to isc support). 'dig'
size for 
example drop to 160K and I suppose that this is a much cleaner method than the 
one I've proposed ;) 

bye 

------- Comment #5 From Robin Johnson 2004-01-05 20:51:43 0000 -------
they seem to be very small atm.
60-70K each for me.
closing this old bug now.

First Last Prev Next    No search results available      Search page      Enter new bug