Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47197 - xorg-x11 and xfree break with PIE / dlloader, showing unresolved symbols
Summary: xorg-x11 and xfree break with PIE / dlloader, showing unresolved symbols
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 54210 55793 57076 57707 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-08 03:43 UTC by Andreas Simon
Modified: 2005-11-13 15:17 UTC (History)
4 users (show)

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


Attachments
Xorg.0.log (Xorg.0.log,19.93 KB, text/plain)
2004-04-08 03:44 UTC, Andreas Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Simon 2004-04-08 03:43:04 UTC
x11-base/xorg-x11-6.7.0 doesn't work when built with USE=pie


When xorg-x11 is compiled with USE=pie the module loader fails to load most modules or drivers because of missing symbols.
For that reason xorgcfg fails too because it can't load the modules/drivers.

Without USE=pie everything works fine.
Comment 1 Andreas Simon 2004-04-08 03:44:00 UTC
Created attachment 28880 [details]
Xorg.0.log

Here is an log from an xorgcfg run.
Comment 2 Andreas Simon 2004-04-08 03:44:37 UTC
Here my emerge info:

# emerge --info
Portage 2.0.50-r3 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-love1)
=================================================================
System uname: 2.6.5-love1 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.13p1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -ftracer -pipe -fstack-protector -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -ftracer -pipe -fstack-protector -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage /opt/portage-kde"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl alsa apm arts artswrappersuid avi berkdb cdr crypt cups dga dvb dvd encode esd faad flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib ipv6 java jpeg kde lcms ldap libg++ libwww mad maildir mikmod mmx mng motif mozilla mpeg mule ncurses nls nptl offensive oggvorbis opengl oss pam pdflib perl pic pie png python qt quicktime readline sasl sdl slang spell sse ssl tcltk tcpd tetex theora threads tiff truetype unicode x86 xml2 xmms xv zlib"
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-08 23:22:49 UTC
Correct. You need to specify the needed symbols in xorg.conf.
Comment 4 Andreas Simon 2004-04-12 08:55:40 UTC
I am not sure if I understand you correctly.
Do you mean that this is no real bug but a configuration issue?

At least xorg.conf's manual page doesn't contain anything about how to specify linker symbols.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-12 09:11:29 UTC
I mean the dlloader is not officially supported at this time, by us or upstream. It is unable to resolve these issues so you need to manually load them in xorg.conf. See 
http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=400.

Brandon, perhaps you can give him some more pointers on this also?
Comment 6 Andreas Simon 2004-04-12 09:30:13 UTC
Okay, thanks.
Comment 7 Evan Langlois 2004-05-21 19:57:55 UTC
Uhhmm ... looks to me like the best solution is USE="-pie".  Everything else looks like a PITA.  Is this a correct assesment of the situation?

Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2004-06-20 22:24:51 UTC
*** Bug 54210 has been marked as a duplicate of this bug. ***
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-01 14:26:39 UTC
*** Bug 55793 has been marked as a duplicate of this bug. ***
Comment 10 Stephen Davis 2004-07-14 22:38:31 UTC
*** Bug 57076 has been marked as a duplicate of this bug. ***
Comment 11 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-20 12:00:20 UTC
*** Bug 57707 has been marked as a duplicate of this bug. ***
Comment 12 Joshua Baergen (RETIRED) gentoo-dev 2005-11-13 15:16:22 UTC
Dlloader is working now and is actually the only supported loader for the 7.0
release.
Comment 13 Joshua Baergen (RETIRED) gentoo-dev 2005-11-13 15:17:57 UTC
Should be fixed in current Portage versions, if not just 7.0.