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
Please attach /var/log/Xorg.0.log and /etc/X11/xorg.conf, then reopen.
Created attachment 79717 [details] Xorg log for "libglx.so: undefined symbol: glCallList"
Created attachment 79718 [details] xorg.conf for "libglx.so: undefined symbol: glCallList"
Attached xorg.conf and a log
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.
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.
Can you try rebuilding xorg-server with -O2 instead of -Os?
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.
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.
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.
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).
Oh, and note that's a lower-case L, not the number 1 :P
# 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
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...
What are the other methods? Anything easier than emerge -e world? Will a revdep-rebuild do it?
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.
Practically did emerge -e world, to be sure, and that fixed it.