http://bugs.gentoo.org/show_bug.cgi?id=61063 Ferris McCormick: If Mesa is built for the dlloader, its Imake files need something useful in 'LargePositionIndependentCflags'. Without this fix, all they get is the string 'LargePositionIndependentCflags'. The patch puts the definition in 'xorg.cf' because I think the problem is not linux-specific, but rather, gcc-specific. --- xc.orig/config/cf/xorg.cf- 2004-10-27 16:26:00.000000000 +0000 +++ xc/config/cf/xorg.cf 2004-10-27 16:27:10.000000000 +0000 @@ -612,6 +612,10 @@ #define DevelDRIDrivers mach64 #endif +#ifndef LargePositionIndependentCFlags +#define LargePositionIndependentCFlags -fPIC +#endif + /* Sparc64 Drivers */ #if defined(OpenBSDArchitecture) && defined(Sparc64Architecture) /* Amiga framebuffer module */