[Bug 362947] New: evaluate debian/ubuntu libtool patch

https://bugzilla.novell.com/show_bug.cgi?id=362947 Summary: evaluate debian/ubuntu libtool patch Product: openSUSE 11.0 Version: Alpha 2 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: P5 - None Component: Development AssignedTo: schwab@novell.com ReportedBy: crrodriguez@novell.com QAContact: qa@suse.de Found By: Development Both debian and Ubuntu are using a libtool patch{1} that sets link_all_deplibs=no on ELF systems, this will help a lot reducing unedded library dependencies in packages. {1} http://patches.ubuntu.com/by-release/extracted/debian/libt/libtool/1.5.26-1/... This is just a suggestion, I think this may work for us as well ( ubuntu and debian archives are a biiiigg test ;) ) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=362947 User pth@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=362947#c4 --- Comment #4 from Philipp Thomas <pth@novell.com> 2009-03-02 10:53:47 MST --- Christian, go ahead and check it in into BETA and we'll see if and what it breaks. After all, that's what BETA is for :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=362947 User coolo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=362947#c5 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|coolo@novell.com |matz@novell.com --- Comment #5 from Stephan Kulow <coolo@novell.com> 2009-03-03 06:03:54 MST --- BETA only builds a very limited set of packages. So you won't see what breaks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=362947 User matz@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=362947#c6 Michael Matz <matz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |matz@novell.com Info Provider|matz@novell.com | --- Comment #6 from Michael Matz <matz@novell.com> 2009-03-03 06:23:36 MST --- Many of our packages use their own libtool, so the patch wouldn't make much impact I think. I think this will definitely break when dependency libraries are only static, so I'm not sure if the idea to change the installed libtool (the one used by users then) is that bright an idea. Despite that I would indeed try this, if we only had a way of trying out. As we have no BETA anymore (the current tree called like that is totally useless) we can't, so ... well, we're screwed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=362947 User kukuk@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=362947#c7 --- Comment #7 from Thorsten Kukuk <kukuk@novell.com> 2009-03-03 06:28:15 MST --- This patch would solve a lot of problems in the future, so I would like to see it. Even if short term only few packages will use it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=362947 User crrodriguez@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=362947#c8 --- Comment #8 from Cristian Rodríguez <crrodriguez@novell.com> 2009-03-03 06:41:01 MST --- (In reply to comment #6)
Many of our packages use their own libtool, so the patch wouldn't make much impact I think.
Yes, only packages that are libtoolized again will benefit from this..
I think this will definitely break when dependency libraries are only static.
Yes, it will.
Despite that I would indeed try this, if we only had a way of trying out.
Hrmmm.. there isnt anything other than STABLE then ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=362947 User pth@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=362947#c9 --- Comment #9 from Philipp Thomas <pth@novell.com> 2009-03-03 06:56:02 MST --- Hmm, autoreconf added to every package? Fun. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=362947 User rguenther@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=362947#c10 --- Comment #10 from Richard Guenther <rguenther@novell.com> 2009-03-03 07:03:17 MST --- Certainly not. Iff at all you want to patch the generated files instead. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=362947 User crrodriguez@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=362947#c11 --- Comment #11 from Cristian Rodríguez <crrodriguez@novell.com> 2009-03-03 07:33:57 MST --- as far as Understand, this deplibs comes from "la" files right ? well.. in that case this fix isnt going to have such a big impact either, as currently only the X system libraries and a few other packages have them, I have removed zillions of them already..maybe it is time to remove them all already... and no, Im afraid that autoreconf everything or patching the generated files is out of the question.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=362947 User crrodriguez@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=362947#c12 --- Comment #12 from Cristian Rodríguez <crrodriguez@novell.com> 2009-03-04 09:52:52 MST --- what about trying an a bit more perverse change ? ;-) making --as-needed a default option used by gcc when it calls ld, recent changes in binutils, specially this one. head -n 7 binutils-2.19.51/ld/NEWS -*- text -*- * --as-needed now links in a dynamic library if it satisfies undefined symbols in regular objects, or in other dynamic libraries. In the latter case the library is not linked if it is found in a DT_NEEDED entry of one of the libraries already linked. Will likely do less software to fail, note that IM NOT asking right now to make it a permanent default, just run one full build like that and see how much stuff breaks, IMHO the results can be pretty interesting... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=362947 Philipp Thomas <pth@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=362947 User cmorve69@yahoo.es added comment https://bugzilla.novell.com/show_bug.cgi?id=362947#c13 Cristian Morales Vega <cmorve69@yahoo.es> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cmorve69@yahoo.es --- Comment #13 from Cristian Morales Vega <cmorve69@yahoo.es> 2009-04-01 07:25:53 MDT --- While it is discussed if that's done or not, if you can provide patched gcc packages every individual project could test it. Once you have convinced KDE or Gnome guys, or perhaps some "big" repo like "games", to try it and fix any problem you will have a stronger position to ask for a full Factory test. I promise to test my home repo ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=362947 User crrodriguez@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=362947#c14 --- Comment #14 from Cristian Rodríguez <crrodriguez@novell.com> 2009-04-01 08:20:24 MDT --- KDE has used as-needed since a long time.. and modifing gcc specs to use as-needed by default is easy, IMHO we have to focus in figuring if this feature of the linker is currenly "good enough" to build a complete distro.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com