Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155575 - Xorg can't load vbe and ddc with LDFLAGS=-Wl,-z,now
Summary: Xorg can't load vbe and ddc with LDFLAGS=-Wl,-z,now
Status: RESOLVED DUPLICATE of bug 110506
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-18 05:21 UTC by Tommaso Pasini
Modified: 2006-11-22 13:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tommaso Pasini 2006-11-18 05:21:49 UTC
Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-tommi04 i686)
=================================================================
System uname: 2.6.18-tommi04 i686 Genuine Intel(R) CPU           T2400  @ 1.83GHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 18 Nov 2006 12:00:03 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
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-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -msse3 -pipe -fomit-frame-pointer -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -msse3 -pipe -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="it"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi aiglx alsa amr apache2 asf audiofile avahi avi bash-completion berkdb bitmap-fonts bluetooth bonjour buttons bzip2 cairo caps ccache cddb cdparanoia cdr cli cpudetection cracklib crypt ctype cups custom-cflags dba dbus divx4linux dlloader dri dv dvd dvdr dvdread dvi eds elibc_glibc emacs emboss encode esd ethereal exif expat fam fastbuild fat ffmpeg firefox flac flash font-server foomaticdb force-cgi-redirect fortran ftp gcj gd gdbm gif gimp gimpprint glitz glut gmp gnome gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile hal howl hpn iconv idn imlib input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics irda isdnlog jack java javascript jpeg jpeg2k kernel_linux lame lcms ldap libg++ libwww linguas_it live lm_sensors mad matroska memlimit mikmod mjpeg mmap mmx mmxext mng mono mozilla mp3 mpeg mplayer msn musepack musicbrainz nautilus ncurses netjack nls nogecko-sdk nptl nptlonly nsplugin nvidia ogg openal opengl optimisememory pcre pdf pdflib perl pmu png posix ppds pppd pthreads python quicktime rar readline real reflection samba sdl sensord session simplexml skins slang smp soap sockets spell spl sse sse2 ssl startup-notification stream svg svga tcltk tcpd tetex theora threads tiff tokenizer toolbar truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_nv video_cards_nvidia vidix vorbis wifi win32codecs wireshark wma wxwindows x86 xforms xfs xml xml2 xorg xosd xprint xsl xv xvid xvmc zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

/var/log/Xorg.0.log shows:
(II) LoadModule: "ddc"
(II) Loading /usr/lib/xorg/modules/libddc.so
dlopen: /usr/lib/xorg/modules/libddc.so: undefined symbol: xf86DestroyI2CDevRec
(EE) Failed to load /usr/lib/xorg/modules/libddc.so
(II) UnloadModule: "ddc"
(EE) Failed to load module "ddc" (loader failed, 7)
(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) Failed to load module "vbe" (loader failed, 7)

I cannot tell when this thing started, but one day I noticed my composite manager (compiz) stopped drawing window borders and, looking for errors, I found this. Now I have to manually start metacity whenever I log in.
I tried re-emerging xorg-server, nvidia drivers and the whole x11-libs category, nothing happened. Revdep-rebuild doesn't show anything.
Xorg-server and the whole system underneath it is stable; the testing version shows the same problem.

The package xorg-server is built with LDFLAGS=-Wl,-z,now.

Sidenote, the system was working flawlessly the day before, as I can remember I had just upgraded libpng, I don't know whether this can matter; howewer reverting to the previous version didn't solve the issue.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-18 05:28:10 UTC
(In reply to comment #0)
> The package xorg-server is built with LDFLAGS=-Wl,-z,now.

So don't do it.

*** This bug has been marked as a duplicate of 110506 ***
Comment 2 Tommaso Pasini 2006-11-22 13:42:05 UTC
You are right, now xorg starts without any error.