while updating xorg last 3 days, I came up with some errors restarting X server : (II) Loading /usr/lib/xorg/modules/libvbe.so dlopen: /usr/lib/xorg/modules/libvbe.so: undefined symbol: xf86Int10AllocPages (EE) Failed to load /usr/lib/xorg/modules/libvbe.so (II) UnloadModule: "vbe" (EE) VESA: Failed to load module "vbe" (loader failed, 7) (II) Loading sub module "vbe" (II) LoadModule: "vbe" (II) Loading /usr/lib/xorg/modules/libvbe.so dlopen: /usr/lib/xorg/modules/libvbe.so: undefined symbol: xf86Int10AllocPages (EE) Failed to load /usr/lib/xorg/modules/libvbe.so (II) UnloadModule: "vbe" (EE) VESA: Failed to load module "vbe" (loader failed, 7) (II) UnloadModule: "vesa" (II) UnloadModule: "vesa" (EE) Screen(s) found, but none have a usable configuration. or (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so dlopen: /usr/lib/xorg/modules/drivers/radeon_drv.so: undefined symbol: fbdevHWMapMMIO (EE) Failed to load /usr/lib/xorg/modules/drivers/radeon_drv.so (II) UnloadModule: "radeon" (EE) Failed to load module "radeon" (loader failed, 7) and eventually errors about dri ou glx. Same for fglrx driver. The problem came up with me recently adding the following LDFLAGS : LDFLAGS="-Wl,-z,now -Wl,--as-needed" Now, I have commented it, recompiled xorg-server and the drivers (xf86-video-ati) and it works. Here is my emerge --info Portage 2.1_pre10-r2 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.3.6-r3, 2.6.16-gentoo-r3 i686) ================================================================= System uname: 2.6.16-gentoo-r3 i686 Pentium III (Katmai) Gentoo Base System version 1.12.0_pre19 distcc[21662] (dcc_mkdir) ERROR: mkdir /var/tmp/portage/.distcc/state failed: No such file or directory [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.4.3 dev-util/ccache: 2.4-r1 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS=" -O3 -mtune=pentium3 -fomit-frame-pointer -ftree-vectorize -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d" CXXFLAGS=" -O3 -mtune=pentium3 -fomit-frame-pointer -ftree-vectorize -pipe -fvisibility-inlines-hidden" DISTDIR="/var/tmp/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/" LANG="fr_FR.UTF-8" LC_ALL="fr_FR.UTF-8" LINGUAS="en fr ja" MAKEOPTS="-j2" PKGDIR="/var/tmp/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/gentopia /usr/local/overlays/xgl-coffee" SYNC="rsync://percolator.esiee.net/gentoo-portage" USE="x86 X a52 aalib acl acpi alsa avahi avi bash-completion beagle bitmap-fonts bonjour bzip2 cairo canna cdr cjk cli crypt daap dbus dri dvd dvdr eds emboss encode esd evo exif fbcon ffmpeg firefox flac foomaticdb freewnn gaim gecko-sdk gif glitz glx gnome gnutls gphoto2 gpm gstreamer gstreamer010 gtk gtk2 gtkhtml h264 hal ipv6 isdnlog jabber jpeg lcms libg++ libnotify libwww logrotate mad matroska mmx mng mp3 mpeg msn musicbrainz ncurses networkmanager nfs nls nptl nptlonly ogg opengl pam parse-clocks pcre pdflib perl png pppd python quicktime readline reflection samba sdl session silc smp spell spl sse ssl svg symlink tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vorbis win32codecs x264 xinerama xml xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en linguas_fr linguas_ja userland_GNU video_cards_ati video_cards_vesa video_cards_radeon video_cards_fglrx" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
Don't report as-needed bugs unless you are using latest binutils (2.16.92). And, remove -Wl,-z,now altogether, sticking something like that into global LDFLAGS is not a proper way to do such stuff. If you get lazy bindings QA warning, file a bug.
Hum, binutils-2.16.92 is still hardmasked ( -* ) while xorg-server is ~arch, so I guess there is something to do anyway. > And, remove -Wl,-z,now altogether, sticking something like that into global > LDFLAGS is not a proper way to do such stuff. If you get lazy bindings QA > warning, file a bug. Thanks for the notice
(In reply to comment #2) > Hum, binutils-2.16.92 is still hardmasked ( -* ) while xorg-server is ~arch, so > I guess there is something to do anyway. -as-needed doesn't work correctly w/ current arch/~arch binutils. You need to use the hardmasked version if you want to experiment with that. :)
ok, I'll test it later, thanks.
ok tested with the latest binutils for some times now and it seems good. Side question : what does it change if I mark the bug as closed ?