[PATCH] Prefer locally defined symbols in modules

Julien Cristau jcristau at debian.org
Tue Sep 8 09:14:21 PDT 2009


On Tue, Sep  8, 2009 at 17:47:50 +0200, Matthias Hopf wrote:

> As multiple driver modules are loaded now on startup time (even if they
> aren't actually used) we get something now that has not really been a
> problem so far:
> 
>   Name clashes.
> 
> We at SUSE additionally load radeonhd and radeon, and there the clashes
> are most severe - I found 167 name clashes, which result in certain
> death on r4xx cards with AtomBIOS, because some AtomBIOS routines from
> radeonhd are called from the radeon driver, which have the same name but
> subtly different semantics. Or values from tables from the one driver
> are used with functions of the other. You get the picture.
> 
FWIW we've been building the radeon driver with -fvisibility=hidden for
about a year in Debian (and that's the default starting with server 1.7
iirc).

Cheers,
Julien


More information about the xorg-devel mailing list