Bug#274862: xserver-xfree86: [libGLcore.a] Skipping -- No symbols found
Package: xserver-xfree86
Version: 4.3.0.dfsg.1-8
Severity: normal
Hi,
I know this was previously discussed here and it was decided that is an
harmless error, that can safelly be ignored, but I still feel we should
correct it, because is confusing to users (there are cases when your X
is not working, and the only errors you have are these ones):
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_clip.o": No symbols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_norm.o": No symbols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_xform.o": No symbols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_vertex.o": No symbols found
All 4 files should be compiled and linked in only if DEBUG is defined, because
all the code in them is also conditionally compiled if the mentioned variable
is defined ..
I'm attacheing a patch generated with "debian/rules make_patch", but I'm
not sure if we should test that DEBUG is defined or DoDebugLib is set to
yes .. if the later is the prefered test, please
"sed -i -e 's/def DEBUG/DoDebugLib/' <patch_file>"
Tnx.
-- Package-specific info:
Contents of /var/lib/xfree86/X.roster:
xserver-xfree86
/etc/X11/X target unchanged from checksum in /var/lib/xfree86/X.md5sum.
X server symlink status:
lrwxrwxrwx 1 root root 20 May 25 18:15 /etc/X11/X -> /usr/bin/X11/XFree86
-rwxr-xr-x 1 root root 1745484 Sep 28 15:09 /usr/bin/X11/XFree86
Contents of /var/lib/xfree86/XF86Config-4.roster:
xserver-xfree86
VGA-compatible devices on PCI bus:
0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
/etc/X11/XF86Config-4 does not match checksum in /var/lib/xfree86/XF86Config-4.md5sum.
XFree86 X server configuration file status:
-rw-r--r-- 1 root root 9897 Oct 3 16:29 /etc/X11/XF86Config-4
Contents of /etc/X11/XF86Config-4:
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "ServerFlags"
Option "DefaultServerLayout" "fglrx"
Option "DontZap" "true"
Option "DisableVidModeExtension" "true"
Option "AllowMouseOpenFail" "true"
EndSection
Section "Module"
Load "dbe" # Double buffer extension
Load "extmod"
Load "glx"
Load "dri"
Load "vbe"
Load "ddc"
Load "xaa"
Load "int10"
Load "record"
#off# Load "xtrap"
# Font Modules
Load "freetype"
Load "type1"
# Extra Stuff
Load "i2c"
EndSection
Section "DRI"
Group "video"
Mode 0660
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "armada"
Option "XkbLayout" "us"
#off# Option "XkbVariant" "us"
EndSection
Section "InputDevice"
Identifier "SynPS/2 Synaptics TouchPad"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mouse0"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "Name" "AutoDetected"
Option "Vendor" "AutoDetected"
EndSection
Section "InputDevice"
Identifier "PS/2 Generic Mouse on synaptics pass-through"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mouse1"
Option "Protocol" "Auto"
Option "Name" "AutoDetected"
Option "Vendor" "AutoDetected"
EndSection
Section "InputDevice"
Identifier "USB ImPS/2 Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mouse2"
Option "Protocol" "Auto"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "Resolution" "800"
Option "Name" "AutoDetected"
Option "Vendor" "AutoDetected"
EndSection
Section "Device"
Identifier "ATI Graphics Adapter RV350 NP (M10)"
VendorName "ATI"
BoardName "RV350 [Mobility Radeon 9600 M10]"
Driver "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "false"
Option "no_dri" "false"
#Option "no_dri" "true"
# === misc DRI settings ===
# disable DRI mtrr mapper, driver has its own code for mtrr
Option "mtrr" "false"
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
# Single Head (1 screen, second dark)
#Option "DesktopSetup" "0x00000000"
#Option "MonitorLayout" "AUTO, AUTO"
# Laptop Mode (Ability to toggle between internal / external screen)
#Option "DesktopSetup" "0x00000100"
#Option "MonitorLayout" "AUTO, NONE"
# Clone Mode (2 screens - same content)
Option "DesktopSetup" "0x00000100"
Option "MonitorLayout" "AUTO, AUTO"
#Option "MonitorLayout" "AUTO, STV"
# Big Desktop (2 screens - one framebuffer)
# horizontal arrangement: monitor connector 1 => left display
#Option "DesktopSetup" "0x00000200"
# horizontal arrangement: monitor connector 1 => right display
#Option "DesktopSetup" "0x00000201"
# vertical arrangement: monitor connector 1 => top display
#Option "DesktopSetup" "0x00000300"
# vertical arrangement: monitor connector 1 => bottom display
#Option "DesktopSetup" "0x00000301"
#Option "MonitorLayout" "AUTO, AUTO"
# Dual Head (2 screens - two drivers)
#Option "DesktopSetup" "0x00000000"
#Option "MonitorLayout" "AUTO, AUTO"
#Screen 0
#Screen 1
# Monitor Layout Options
#(p) auto detect -(s) auto detect
#Option "MonitorLayout" "AUTO, AUTO"
#(p) CRT display device -(s) CRT display device
#Option "MonitorLayout" "CRT, CRT"
#(p) DVI display device -(s) CRT display device
#Option "MonitorLayout" "TMDS, CRT"
#(p) DVI display device -(s) DVI display device(FireGL Z1/X1/X2 only!)
#Option "MonitorLayout" "TMDS, TMDS"
#(p) Laptop Panel device-(s) CRT display device(Laptops w. M9/M10 only!)
#Option "MonitorLayout" "LVDS, CRT"
#(p) Laptop Panel device-(s) DVI display device(Laptops w. M9/M10 only!)
#Option "MonitorLayout" "LVDS, TMDS"
#(p) auto detect -(s) TV out
#Option "MonitorLayout" "AUTO, STV"
#(p) CRT display device -(s) TV out
#Option "MonitorLayout" "CRT, STV"
#(p) DVI display device -(s) TV out
#Option "MonitorLayout" "TMDS, STV"
#(p) Laptop Panel device-(s) TV out
#Option "MonitorLayout" "LVDS, STV"
#(p) TV out -(s) auto detect
#Option "MonitorLayout" "STV, AUTO"
Option "IgnoreEDID" "false"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "NoTV" "false"
Option "TVStandard" "PAL-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
# Default
#Option "Capabilities" "0x00000000"
# Individual Configuration of Capabilities
Option "Capabilities" "0x00008800"
# Maya
#Option "Capabilities" "0x00008000"
# SOFTIMAGE|XSI
#Option "Capabilities" "0x20008000"
# SOFTIMAGE|3D
#Option "Capabilities" "0x20008000"
# Houdini 4.0
#Option "Capabilities" "0x00008000"
# Houdini 5.0
#Option "Capabilities" "0x00008000"
# Houdini 5.5
#Option "Capabilities" "0x00008000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "true"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "false"
# === Center Mode (Laptops only) ===
Option "CenterMode" "false"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "false"
# === QBS Management ===
Option "Stereo" "false"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAEnable" "true"
Option "FSAAScale" "6"
Option "FSAADisableGamma" "false"
Option "FSAACustomizeMSPos" "false"
Option "FSAAMSPosX0" "0.250000"
Option "FSAAMSPosY0" "0.416666"
Option "FSAAMSPosX1" "0.083333"
Option "FSAAMSPosY1" "0.083333"
Option "FSAAMSPosX2" "0.416666"
Option "FSAAMSPosY2" "0.750000"
Option "FSAAMSPosX3" "0.750000"
Option "FSAAMSPosY3" "0.916666"
Option "FSAAMSPosX4" "0.583333"
Option "FSAAMSPosY4" "0.250000"
Option "FSAAMSPosX5" "0.916666"
Option "FSAAMSPosY5" "0.583333"
# === Misc Options ===
# default (FireGL workstation boards: fast)
Option "UseFastTLS" "0"
# fast operation (only for standard gnu C/C++ OpenGL applications
#Option "UseFastTLS" "1"
# compatible operation (for WineX, VM emulators and some profilers)
#Option "UseFastTLS" "2"
Option "BufferTiling" "true"
Option "EnablePrivateBackZ" "true"
Option "BlockSignalsOnLock" "true"
Option "UseInternalAGPGART" "true"
Option "ForceGenericCPU" "false"
#Option "EnableDepthMoves" "false"
#Option "EnableHPV" "false"
#AGP locked user pages: disabled
#Option "KernelModuleParm" "agplock=1;agpgart=2;debug=0x00040003"
Option "KernelModuleParm" "agplock=1;agpgart=2"
BusID "PCI:1:0:0" # vendor=1002, device=4e50
Screen 0
EndSection
Section "Device"
Identifier "ATI Graphics Adapter RV350 NP (M10) - radeon driver"
VendorName "ATI"
BoardName "RV350 [Mobility Radeon 9600 M10]"
Driver "radeon"
BusID "PCI:1:0:0" # vendor=1002, device=4e50
Screen 0
EndSection
Section "Monitor"
Identifier "LGP:54c9"
VendorName "LG Philips"
ModelName "LP150U06-A2"
Option "DPMS"
EndSection
Section "Screen"
Identifier "LCD Screen"
Device "ATI Graphics Adapter RV350 NP (M10)"
Monitor "LGP:54c9"
DefaultFbBPP 32
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "LCD Screen - radeon driver"
Device "ATI Graphics Adapter RV350 NP (M10) - radeon driver"
Monitor "LGP:54c9"
DefaultFbBPP 32
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "fglrx"
Screen "LCD Screen"
InputDevice "Generic Keyboard"
InputDevice "SynPS/2 Synaptics TouchPad"
InputDevice "PS/2 Generic Mouse on synaptics pass-through"
InputDevice "USB ImPS/2 Mouse"
EndSection
Section "ServerLayout"
Identifier "radeon"
Screen "LCD Screen - radeon driver"
InputDevice "Generic Keyboard"
InputDevice "SynPS/2 Synaptics TouchPad"
InputDevice "PS/2 Generic Mouse on synaptics pass-through"
InputDevice "USB ImPS/2 Mouse"
EndSection
XFree86 X server log files on system:
-rw------- 1 root root 40146 Oct 4 15:19 /var/log/XFree86.0.log
Contents of most recent XFree86 X server log file
/var/log/XFree86.0.log:
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (990, 'unstable'), (900, 'testing'), (50, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-rc3
Locale: LANG=C, LC_CTYPE=C
Versions of packages xserver-xfree86 depends on:
ii debconf [debconf-2.0] 1.4.38 Debian configuration management sy
ii libc6 2.3.2.ds1-17 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.2-2 GCC support library
ii xserver-common 4.3.0.dfsg.1-8 files and utilities common to all
ii zlib1g 1:1.2.1.2-1 compression library - runtime
-- debconf information excluded
diff -Nru3 ./xc/lib/GL/mesa/src/Imakefile.inc ../build-tree.new/xc/lib/GL/mesa/src/Imakefile.inc
--- ./xc/lib/GL/mesa/src/Imakefile.inc 2002-11-14 23:01:16.000000000 +0200
+++ ../build-tree.new/xc/lib/GL/mesa/src/Imakefile.inc 2004-10-03 12:32:50.000000000 +0300
@@ -76,10 +76,6 @@
COREMESASRCS = $(COREMESABASESRCS) \
$(MESABUILDDIR)array_cache/ac_context.c \
$(MESABUILDDIR)array_cache/ac_import.c \
- $(MESABUILDDIR)math/m_debug_clip.c \
- $(MESABUILDDIR)math/m_debug_norm.c \
- $(MESABUILDDIR)math/m_debug_vertex.c \
- $(MESABUILDDIR)math/m_debug_xform.c \
$(MESABUILDDIR)math/m_eval.c \
$(MESABUILDDIR)math/m_matrix.c \
$(MESABUILDDIR)math/m_translate.c \
@@ -140,6 +136,13 @@
$(MESABUILDDIR)tnl/t_vb_texgen.c \
$(MESABUILDDIR)tnl/t_vb_texmat.c \
$(MESABUILDDIR)tnl/t_vb_vertex.c
+
+#ifdef DEBUG
+COREMESASRCS += $(MESABUILDDIR)math/m_debug_clip.c \
+ $(MESABUILDDIR)math/m_debug_norm.c \
+ $(MESABUILDDIR)math/m_debug_vertex.c \
+ $(MESABUILDDIR)math/m_debug_xform.c
+#endif
#ifdef NeedToLinkMesaSrc
LinkSourceFile(accum.c, $(MESASRCDIR)/src)
diff -Nru3 ./xc/lib/GL/mesa/src/math/Imakefile.inc ../build-tree.new/xc/lib/GL/mesa/src/math/Imakefile.inc
--- ./xc/lib/GL/mesa/src/math/Imakefile.inc 2002-11-14 23:01:17.000000000 +0200
+++ ../build-tree.new/xc/lib/GL/mesa/src/math/Imakefile.inc 2004-10-03 12:38:37.000000000 +0300
@@ -6,22 +6,26 @@
MESAMATHBUILDDIR = MesaMathBuildDir
- MESA_MATH_SRCS = $(MESAMATHBUILDDIR)m_debug_clip.c \
- $(MESAMATHBUILDDIR)m_debug_norm.c \
- $(MESAMATHBUILDDIR)m_debug_xform.c \
- $(MESAMATHBUILDDIR)m_debug_vertex.c \
- $(MESAMATHBUILDDIR)m_eval.c \
+ MESA_MATH_SRCS = $(MESAMATHBUILDDIR)m_eval.c \
$(MESAMATHBUILDDIR)m_matrix.c \
$(MESAMATHBUILDDIR)m_translate.c \
$(MESAMATHBUILDDIR)m_vector.c \
$(MESAMATHBUILDDIR)m_vertices.c \
$(MESAMATHBUILDDIR)m_xform.c
+#ifdef DEBUG
+ MESA_MATH_SRCS += $(MESAMATHBUILDDIR)m_debug_clip.c \
+ $(MESAMATHBUILDDIR)m_debug_norm.c \
+ $(MESAMATHBUILDDIR)m_debug_xform.c \
+ $(MESAMATHBUILDDIR)m_debug_vertex.c
+#endif
#ifdef NeedToLinkMesaSrc
+#ifdef DEBUG
LinkSourceFile(m_debug_clip.c, $(MESASRCDIR)/src/math)
LinkSourceFile(m_debug_norm.c, $(MESASRCDIR)/src/math)
LinkSourceFile(m_debug_vertex.c, $(MESASRCDIR)/src/math)
LinkSourceFile(m_debug_xform.c, $(MESASRCDIR)/src/math)
+#endif
LinkSourceFile(m_eval.c, $(MESASRCDIR)/src/math)
LinkSourceFile(m_matrix.c, $(MESASRCDIR)/src/math)
LinkSourceFile(m_translate.c, $(MESASRCDIR)/src/math)
@@ -30,51 +34,59 @@
LinkSourceFile(m_xform.c, $(MESASRCDIR)/src/math)
#endif
- MESA_MATH_OBJS = $(MESAMATHBUILDDIR)m_debug_clip.o \
- $(MESAMATHBUILDDIR)m_debug_norm.o \
- $(MESAMATHBUILDDIR)m_debug_xform.o \
- $(MESAMATHBUILDDIR)m_debug_vertex.o \
- $(MESAMATHBUILDDIR)m_eval.o \
+ MESA_MATH_OBJS = $(MESAMATHBUILDDIR)m_eval.o \
$(MESAMATHBUILDDIR)m_matrix.o \
$(MESAMATHBUILDDIR)m_translate.o \
$(MESAMATHBUILDDIR)m_vector.o \
$(MESAMATHBUILDDIR)m_vertices.o \
$(MESAMATHBUILDDIR)m_xform.o
+#ifdef DEBUG
+ MESA_MATH_OBJS += $(MESAMATHBUILDDIR)m_debug_clip.o \
+ $(MESAMATHBUILDDIR)m_debug_norm.o \
+ $(MESAMATHBUILDDIR)m_debug_xform.o \
+ $(MESAMATHBUILDDIR)m_debug_vertex.o
+#endif
#if defined(DoSharedLib) && DoSharedLib
- MESA_MATH_UOBJS = $(MESAMATHBUILDDIR)unshared/m_debug_clip.o \
- $(MESAMATHBUILDDIR)unshared/m_debug_norm.o \
- $(MESAMATHBUILDDIR)unshared/m_debug_xform.o \
- $(MESAMATHBUILDDIR)unshared/m_debug_vertex.o \
- $(MESAMATHBUILDDIR)unshared/m_eval.o \
+ MESA_MATH_UOBJS = $(MESAMATHBUILDDIR)unshared/m_eval.o \
$(MESAMATHBUILDDIR)unshared/m_matrix.o \
$(MESAMATHBUILDDIR)unshared/m_translate.o \
$(MESAMATHBUILDDIR)unshared/m_vector.o \
$(MESAMATHBUILDDIR)unshared/m_vertices.o \
$(MESAMATHBUILDDIR)unshared/m_xform.o
+#ifdef DEBUG
+ MESA_MATH_UOBJS += $(MESAMATHBUILDDIR)unshared/m_debug_clip.o \
+ $(MESAMATHBUILDDIR)unshared/m_debug_norm.o \
+ $(MESAMATHBUILDDIR)unshared/m_debug_xform.o \
+ $(MESAMATHBUILDDIR)unshared/m_debug_vertex.o
+#endif
#else
MATH_MESA_UOBJS = $(MESA_MATH_OBJS)
#endif
- MESA_MATH_DOBJS = $(MESAMATHBUILDDIR)debugger/m_debug_clip.o \
- $(MESAMATHBUILDDIR)debugger/m_debug_norm.o \
- $(MESAMATHBUILDDIR)debugger/m_debug_xform.o \
- $(MESAMATHBUILDDIR)debugger/m_debug_vertex.o \
- $(MESAMATHBUILDDIR)debugger/m_eval.o \
+ MESA_MATH_DOBJS = $(MESAMATHBUILDDIR)debugger/m_eval.o \
$(MESAMATHBUILDDIR)debugger/m_matrix.o \
$(MESAMATHBUILDDIR)debugger/m_translate.o \
$(MESAMATHBUILDDIR)debugger/m_vector.o \
$(MESAMATHBUILDDIR)debugger/m_vertices.o \
$(MESAMATHBUILDDIR)debugger/m_xform.o
+#ifdef DEBUG
+ MESA_MATH_DOBJS += $(MESAMATHBUILDDIR)debugger/m_debug_clip.o \
+ $(MESAMATHBUILDDIR)debugger/m_debug_norm.o \
+ $(MESAMATHBUILDDIR)debugger/m_debug_xform.o \
+ $(MESAMATHBUILDDIR)debugger/m_debug_vertex.o
+#endif
- MESA_MATH_POBJS = $(MESAMATHBUILDDIR)profiled/m_debug_clip.o \
- $(MESAMATHBUILDDIR)profiled/m_debug_norm.o \
- $(MESAMATHBUILDDIR)profiled/m_debug_xform.o \
- $(MESAMATHBUILDDIR)profiled/m_debug_vertex.o \
- $(MESAMATHBUILDDIR)profiled/m_eval.o \
+ MESA_MATH_POBJS = $(MESAMATHBUILDDIR)profiled/m_eval.o \
$(MESAMATHBUILDDIR)profiled/m_matrix.o \
$(MESAMATHBUILDDIR)profiled/m_translate.o \
$(MESAMATHBUILDDIR)profiled/m_vector.o \
$(MESAMATHBUILDDIR)profiled/m_vertices.o \
$(MESAMATHBUILDDIR)profiled/m_xform.o
+#ifdef DEBUG
+ MESA_MATH_POBJS += $(MESAMATHBUILDDIR)profiled/m_debug_clip.o \
+ $(MESAMATHBUILDDIR)profiled/m_debug_norm.o \
+ $(MESAMATHBUILDDIR)profiled/m_debug_xform.o \
+ $(MESAMATHBUILDDIR)profiled/m_debug_vertex.o
+#endif
Reply to: