On Tue, 27 Apr 2010 15:43:07 +0200
Adam Tkac <at...@redhat.com> wrote:

> Hello,
> 
> when Xorg loads libvnc.so module, undefined symbols are not resolved
> immediately but they are resolved "on demand". This might look like a
> benefit but I don't think so.
> 
> I often hit problems that Xorg loads libvnc.so without any problem
> and then X session crashes due undefined symbol, when less used code
> path inside libvnc.so is executed and it contains symbol which is not
> exported from Xorg binary.
> 
> I propose to switch to immediately linkage which will avoid such problems
> and undefined symbols will be catched during module loading.
> 
> Proposed patch is attached but I'm not sure about compatibility. Do
> you know if it can cause build failures on, for example, OS X?
> 
> Comments are welcomed.
> 

Isn't there supposed to be an ABI check in Xorg to avoid these kinds of
things?

Rgds
-- 
Pierre Ossman            OpenSource-based Thin Client Technology
System Developer         Telephone: +46-13-21 46 00
Cendio AB                Web: http://www.cendio.com

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to