emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: 22.0.95 fails to link (missing -lX11) on Solaris with Sun cc


From: Jan Djärv
Subject: Re: 22.0.95 fails to link (missing -lX11) on Solaris with Sun cc
Date: Mon, 05 Mar 2007 08:05:28 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20070212)



Richard Stallman skrev:
The bug was that Emacs crashes when some gnome themes are used. This is because Xft gets loaded and unloaded with dlopen, but pointers to its internal data remain. There is a bug filed on Xft/fontconfig. As a workaround we link Emacs with Xft to keep it from being unloaded.

    As long as we link the same libraries we should be fine.

I am not sure what that last sentence means.

As long as we link both Xft and X11 the bug is fixed. It does not matter if -lX11 is there twice in the link command, although it may look a bit strange.

What should we do so as to fix both bugs?

The fix installed is OK, that is, keep LIB_X11_LIB defined to -lX11. In the cases where XFT_LIBS also includes -lX11, we will have two -lX11 in the link command.

        Jan D.




reply via email to

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