LD Changes To Implicit DSO Linking Update
mclasen at redhat.com
Tue Feb 16 14:59:16 UTC 2010
On Tue, 2010-02-16 at 15:57 +0100, Gerd Hoffmann wrote:
> On 02/09/10 09:06, Richard Hughes wrote:
> > On 8 February 2010 22:46, Kevin Kofler<kevin.kofler at chello.at> wrote:
> >> As a result, you'll be causing dozens of FTBFS bugs just before the feature
> >> freeze. I think this is entirely the wrong time in the release cycle to do
> >> such a change, if it is done at all.
> > I've been fixing upstream projects for weeks to build with
> > --no-as-needed. The list of projects that fail to build should be much
> > smaller now, especially for GNOME and Freedesktop stuff.
> Well. Even pretty fundamental GNOME stuff like gtk2-devel is still
> broken. Look here:
> [root at localhost ~]# pkg-config --libs gtk+-2.0
> -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
> -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype
> -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
> -lX11 is missing (at least, maybe more). Any gtk app using pkg-config
> to figure which libraries are required fails to build now.
> I've seen a simliar issue with libpng (-lz missing) and I suspect tons
> of other *.pc files are broken too.
No. Why should we put libX11 in the .pc file ?
If you do any direct Xlib calls in your program, you get to put it in
the link line yourself.
More information about the devel