Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122696 - x11-base/xorg-x11-7.0-r1 - libglx.so: undefined symbol: glCallList
Summary: x11-base/xorg-x11-7.0-r1 - libglx.so: undefined symbol: glCallList
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-13 08:32 UTC by Kimmo Sundqvist
Modified: 2006-07-11 20:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg log for "libglx.so: undefined symbol: glCallList" (Xorg.0.log,10.70 KB, text/plain)
2006-02-13 11:31 UTC, Kimmo Sundqvist
Details
xorg.conf for "libglx.so: undefined symbol: glCallList" (xorg.conf,2.46 KB, text/plain)
2006-02-13 11:32 UTC, Kimmo Sundqvist
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Sundqvist 2006-02-13 08:32:08 UTC
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.14-gentoo-r2 i686
Current Operating System: Linux puipui 2.6.14-gentoo-r2 #1 PREEMPT Fri Dec 9 15:57:56 EET 2005 i686
Build Date: 11 February 2006
[...]
dlopen: /usr/lib/xorg/modules/extensions/libglx.so: undefined symbol: glCallList
(EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so
(EE) Failed to load module "glx" (loader failed, 7)
dlopen: /usr/lib/xorg/modules/extensions/libGLcore.so: undefined symbol: __glXMalloc
(EE) Failed to load /usr/lib/xorg/modules/extensions/libGLcore.so
(EE) Failed to load module "GLcore" (loader failed, 7)
(EE) Failed to load module "xtt" (module does not exist, 0)
dlopen: /usr/lib/xorg/modules/libddc.so: undefined symbol: xf86I2CFindDev
(EE) Failed to load /usr/lib/xorg/modules/libddc.so
(EE) Failed to load module "ddc" (loader failed, 7)
dlopen: /usr/lib/xorg/modules/extensions/libdri.so: undefined symbol: drmAuthMagic
(EE) Failed to load /usr/lib/xorg/modules/extensions/libdri.so
(EE) Failed to load module "dri" (loader failed, 7)
(EE) Failed to load module "speedo" (module does not exist, 0)
dlopen: /usr/lib/xorg/modules/libvbe.so: undefined symbol: xf86InterpretEDID
(EE) Failed to load /usr/lib/xorg/modules/libvbe.so
(EE) Failed to load module "vbe" (loader failed, 7)
dlopen: /usr/lib/xorg/modules/drivers/mga_drv.so: undefined symbol: MGAGetClientPointer
(EE) Failed to load /usr/lib/xorg/modules/drivers/mga_drv.so
(EE) Failed to load module "mga" (loader failed, 7)
(EE) No drivers available.

Fatal server error:
no screens found

$ emerge -pv xorg-x11
[...]
[ebuild   R   ] x11-base/xorg-x11-7.0-r1

enabled drivers: keyboard, mouse, fbdev, mga, vesa

Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Pentium II (Deschutes)
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.4.3-r4, 1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -mcpu=pentium2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mcpu=pentium2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts cdr crypt cups dga dri eds emboss encode fam foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 java jpeg kde ladcca libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl pam pdflib perl png python qt quicktime readline samba sdl ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_mga video_cards_vesa video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-02-13 10:55:20 UTC
Please attach /var/log/Xorg.0.log and /etc/X11/xorg.conf, then reopen.
Comment 2 Kimmo Sundqvist 2006-02-13 11:31:42 UTC
Created attachment 79717 [details]
Xorg log for "libglx.so: undefined symbol: glCallList"
Comment 3 Kimmo Sundqvist 2006-02-13 11:32:43 UTC
Created attachment 79718 [details]
xorg.conf for "libglx.so: undefined symbol: glCallList"
Comment 4 Kimmo Sundqvist 2006-02-13 11:33:34 UTC
Attached xorg.conf and a log
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2006-02-13 11:38:53 UTC
Get rid of this line:
        Load	"GLcore"

How did you generate that xorg.conf? It looks a little strange to have 2 core pointers, both set to /dev/psaux.
Comment 6 Kimmo Sundqvist 2006-02-13 11:49:21 UTC
Got rid of the GLcore line.  Maybe I am missing something, or the other pointer uses /dev/ttyS0 (a COM port), not /dev/psaux.  A remnant from a time I had to swap PS/2 and serial mouses to that machine.

Either way, the undefined symbols remain after removing GLcore from the Module section.
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2006-02-13 11:54:21 UTC
Can you try rebuilding xorg-server with -O2 instead of -Os?
Comment 8 Kimmo Sundqvist 2006-02-14 01:43:55 UTC
Rebuilt xorg-server with -O2 instead of -Os.  The situation didn't change.

I'll start rebuilding drivers and other parts of X one by one and see if that will change something.
Comment 9 Kimmo Sundqvist 2006-02-14 08:41:27 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=5585 has something about the problem.  My bug at https://bugs.freedesktop.org/show_bug.cgi?id=5880 was marked duplicate of 5585.

Anyway, all my X related packages are soon compiled with -O2, and I can try running startx, just in case something odd and remarkable happens.
Comment 10 Kimmo Sundqvist 2006-02-14 12:23:03 UTC
Nothing odd or remarkable happened.  By commenting out parts of the "Module" section, I could reduce the number of problems to one: mga or vesa.  After uncommenting dri and glx, I had again three problems.  After this is solved, I will change make.conf back to -Os.

It seems like something in the new modular X somehow interprets my system as being "hardened", which it isn't.

The new modular X also doesn't interpret most of ordinary Gentoo systems as hardened, because so many have succeeded in building and running it.

I'm not exactly familiar with the role of Host.def, who provides it and who interprets it, and also, there is no such file installed on the machine I'm trying to migrate to X11R7.  My other machine, with plain old Xorg-x11 6.8.2 has /usr/lib/X11/config/host.def

Something like that seems to be the real problem, according to the information in the abovementioned two bugs at Freedesktop bugzilla.
Comment 11 Joshua Baergen (RETIRED) gentoo-dev 2006-02-14 18:52:03 UTC
Could you post the output of "gcc-config -l" please.

'host.def' was used by the old build system (imake).  It's now provided by xorg-cf-files for compatibility's sake (it's empty though).
Comment 12 Joshua Baergen (RETIRED) gentoo-dev 2006-02-14 19:06:23 UTC
Oh, and note that's a lower-case L, not the number 1 :P
Comment 13 Kimmo Sundqvist 2006-02-15 07:25:40 UTC
# gcc-config  -l
 [1] i686-pc-linux-gnu-3.3.6
 [2] i686-pc-linux-gnu-3.3.6-hardened
 [3] i686-pc-linux-gnu-3.3.6-hardenednopie
 [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.3.6-hardenednossp
 [6] i686-pc-linux-gnu-3.4.4 *
 [7] i686-pc-linux-gnu-3.4.4-hardened
 [8] i686-pc-linux-gnu-3.4.4-hardenednopie
 [9] i686-pc-linux-gnu-3.4.4-hardenednopiessp
 [10] i686-pc-linux-gnu-3.4.4-hardenednossp
Comment 14 Joshua Baergen (RETIRED) gentoo-dev 2006-02-16 16:56:48 UTC
Did you migrate fully from 3.3 to 3.4 using 'emerge -e world' (or one of the other methods)?

I have a feeling that this might be toolchain related if not...
Comment 15 Kimmo Sundqvist 2006-02-17 03:54:24 UTC
What are the other methods?  Anything easier than emerge -e world?  Will a revdep-rebuild do it?
Comment 16 Joshua Baergen (RETIRED) gentoo-dev 2006-02-17 21:16:21 UTC
It doesn't hurt to run revdep and see.  If it has a huge list of things to fix, that's probably your problem.  Personally, I run it at the end of every update as part of my update script.

However, I doubt it will find anything.  I realize emerge -e is a pain...'emerge -e xorg-x11' might be sufficient.
Comment 17 Kimmo Sundqvist 2006-02-24 08:44:44 UTC
Practically did emerge -e world, to be sure, and that fixed it.