[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Don't pass dependency_libs on program link line on Linux

From: Bob Friesenhahn
Subject: Re: [PATCH] Don't pass dependency_libs on program link line on Linux
Date: Sun, 28 Mar 2004 17:55:25 -0600 (CST)

On Mon, 29 Mar 2004, Scott James Remnant wrote:

> The dynamic link loader on some platforms, such as Linux, is able to
> correctly process the following style of dependency tree:
>         prog
>       /      \
>      /        \
> libone        libtwo
>             /        \
>            /          \
>        libthree     libfour
> Therefore when linking ‘prog’, we only need to pass "-lone -ltwo" on the
> link line.  Libtool's current behaviour causes problems when libone and
> libfour are different version of the same library with an alternative
> method (such as versioned symbols) of resolving symbols.
> Okay to apply?

Doesn't this patch cause Linux to be more equal than other operating
systems, thereby causing free applications to be developed which won't
work anywhere else?

This solution does not seem to support the case where an actual
dependency exists but is not registered in the library (because the
user didn't supply it) so that the dynamic link loader doesn't know
about it?

If libone or libfour contain weak symbols, what happens?

Bob Friesenhahn

reply via email to

[Prev in Thread] Current Thread [Next in Thread]