This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

XFree86 4.2.0 vs gcc 3.1.1 on ppc


   In case anyone else has been having problems with a XFree86 4.2.0
built with gcc 3.1.1, on debian ppc sid I have pinned down the problem.
On this platform, we see a failure of the GL xserver extension to load
when built with gcc 3.1.1. The error is...

(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
No symbols found in this module
Failed to load debug_xform.o
(EE) Failed to load /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) UnloadModule: "GLcore"
(EE) Failed to load module "GLcore" (loader failed, 270336000)

It turns out this problem is due to debian stripping the libGLcore.a
xserver extension with 'strip --strip-debug'. Apparently this was
tolerated under a gcc 2.95.4 built XFree86 4.2.0 but not a gcc 3.1.1
built one. I noticed that on debian they are explicitly avoiding
stripping the xserver extensions on alpha so this sort of problem
appears to have been pre-existing but is now more wide-spread under
gcc 3.1.1. Also, so far libGLcore.a appears to be the only xserver
extension that is broken by stripping in this manner. 
                           Jack


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]