Re: Minimizing ld dependencies with --as-needed

2005-04-23 Thread Tollef Fog Heen
* Ralf Wildenhues | * Tollef Fog Heen wrote on Wed, Apr 13, 2005 at 09:45:03PM CEST: | * Ralf Wildenhues | | | I would be much happier if someone with time would just help to put | | this into libtool properly as an option (and possible adjust pkg-config, | | FWIW). I'm pretty sure it

Re: Minimizing ld dependencies with --as-needed

2005-04-20 Thread Ralf Wildenhues
Hi Tollef, Sorry for the high response latency. * Tollef Fog Heen wrote on Wed, Apr 13, 2005 at 09:45:03PM CEST: * Ralf Wildenhues | I would be much happier if someone with time would just help to put | this into libtool properly as an option (and possible adjust pkg-config, | FWIW). I'm

Re: Minimizing ld dependencies with --as-needed

2005-04-13 Thread Tollef Fog Heen
* Ralf Wildenhues | I would be much happier if someone with time would just help to put | this into libtool properly as an option (and possible adjust pkg-config, | FWIW). I'm pretty sure it would minimize the combined amount of work, | with increased benefit. pkg-config has the necessary

Re: Minimizing ld dependencies with --as-needed

2005-04-12 Thread Ralf Wildenhues
[ please cc: me on replies ] * Ron Johnson wrote: What are the opinions of d-d's of --as-needed? According to this thread, the number of dependencies can sometimes be slashed drastically. I would be much happier if someone with time would just help to put this into libtool properly as an

Minimizing ld dependencies with --as-needed

2005-04-01 Thread Ron Johnson
What are the opinions of d-d's of --as-needed? http://www.ubuntuforums.org/showthread.php?t=17287 According to this thread, the number of dependencies can sometimes be slashed drastically. (Of course, it would have to wait until Sarge becomes Stable.) --

Re: Minimizing ld dependencies with --as-needed

2005-04-01 Thread Andrew Suffield
On Fri, Apr 01, 2005 at 02:34:44AM -0600, Ron Johnson wrote: What are the opinions of d-d's of --as-needed? It's a method of working around bugs. Just fix the bugs instead. Update libtool to the latest version and don't -l stuff you don't need to -l. -- .''`. ** Debian GNU/Linux ** | Andrew

Re: Minimizing ld dependencies with --as-needed

2005-04-01 Thread Tollef Fog Heen
* Andrew Suffield | It's a method of working around bugs. Just fix the bugs | instead. Update libtool to the latest version and don't -l stuff you | don't need to -l. pkgconfig does add a bunch of gratious -l, similar to what libtool used to. This will be fixed, but I'm not sure I want to

Re: Minimizing ld dependencies with --as-needed

2005-04-01 Thread Andrew Suffield
On Fri, Apr 01, 2005 at 12:24:23PM +0200, Tollef Fog Heen wrote: * Andrew Suffield | It's a method of working around bugs. Just fix the bugs | instead. Update libtool to the latest version and don't -l stuff you | don't need to -l. pkgconfig does add a bunch of gratious -l, similar to

Re: Minimizing ld dependencies with --as-needed

2005-04-01 Thread Josselin Mouette
Le vendredi 01 avril 2005 à 02:34 -0600, Ron Johnson a écrit : What are the opinions of d-d's of --as-needed? http://www.ubuntuforums.org/showthread.php?t=17287 According to this thread, the number of dependencies can sometimes be slashed drastically. I'm moving all my packages to use it.

Re: Minimizing ld dependencies with --as-needed

2005-04-01 Thread Steve Langasek
On Fri, Apr 01, 2005 at 12:53:27PM +0200, Josselin Mouette wrote: Le vendredi 01 avril 2005 à 02:34 -0600, Ron Johnson a écrit : What are the opinions of d-d's of --as-needed? http://www.ubuntuforums.org/showthread.php?t=17287 According to this thread, the number of dependencies can

Re: Minimizing ld dependencies with --as-needed

2005-04-01 Thread Ron Johnson
On Fri, 2005-04-01 at 03:09 -0800, Steve Langasek wrote: On Fri, Apr 01, 2005 at 12:53:27PM +0200, Josselin Mouette wrote: Le vendredi 01 avril 2005 à 02:34 -0600, Ron Johnson a écrit : What are the opinions of d-d's of --as-needed? http://www.ubuntuforums.org/showthread.php?t=17287

Re: Minimizing ld dependencies with --as-needed

2005-04-01 Thread Gustavo Franco
On Apr 1, 2005 7:32 AM, Andrew Suffield [EMAIL PROTECTED] wrote: On Fri, Apr 01, 2005 at 12:24:23PM +0200, Tollef Fog Heen wrote: * Andrew Suffield | It's a method of working around bugs. Just fix the bugs | instead. Update libtool to the latest version and don't -l stuff you | don't

Re: Minimizing ld dependencies with --as-needed

2005-04-01 Thread GOMBAS Gabor
On Fri, Apr 01, 2005 at 06:01:27AM -0600, Ron Johnson wrote: And since these are (always?) dependencies on shared objects, these libraries never get used, except to say, Here I am!, right? The runtime linker still loads them, which can be expensive (esp. if there are many relocation records),

Re: Minimizing ld dependencies with --as-needed

2005-04-01 Thread GOMBAS Gabor
On Fri, Apr 01, 2005 at 12:53:27PM +0200, Josselin Mouette wrote: I'm moving all my packages to use it. It's not only a workaround for libtool or pkgconfig bugs, it's also a great tool when some upstream authors gratuitously adds unneeded -l flags. General note: you have to be careful with

Re: Minimizing ld dependencies with --as-needed

2005-04-01 Thread Daniel Jacobowitz
On Fri, Apr 01, 2005 at 03:09:13AM -0800, Steve Langasek wrote: On Fri, Apr 01, 2005 at 12:53:27PM +0200, Josselin Mouette wrote: Le vendredi 01 avril 2005 à 02:34 -0600, Ron Johnson a écrit : What are the opinions of d-d's of --as-needed?

Re: Minimizing ld dependencies with --as-needed

2005-04-01 Thread Tollef Fog Heen
* Gustavo Franco | I agree, but are we tracking all these post-sarge issues that are | coming on d-d and others lists? I hope that after sarge we start | working on these issues before etch came closer. I'm doing a rebuild of sarge with a changed pkg-config now, to see what breaks. -- Tollef

Re: Minimizing ld dependencies with --as-needed

2005-04-01 Thread Gustavo Franco
On Apr 1, 2005 1:58 PM, Tollef Fog Heen [EMAIL PROTECTED] wrote: * Gustavo Franco | I agree, but are we tracking all these post-sarge issues that are | coming on d-d and others lists? I hope that after sarge we start | working on these issues before etch came closer. I'm doing a rebuild