This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
XFree86 4.2.0 vs gcc 3.1.1 on ppc
- From: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 30 Jul 2002 08:08:04 -0400 (EDT)
- Subject: 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