i can merge the xorg-x11 ebuild, but I cant start it up. if i try to start with startx for example, i get lots of Elf_RelocateEntry() Unsupported reloaction type 18 messages. Reproducible: Always Steps to Reproduce: 1.emerge xorg-x11 2.startx 3. Actual Results: these errormessages: Elf_RelocateEntry() Unsupported reloaction type 18 Expected Results: i should have got a shiny xserver running pr0llb00k ~ # emerge info Portage 2.0.51-r15 (selinux/2004.1/ppc, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 ppc) ================================================================= System uname: 2.6.10-gentoo-r6 ppc 7410, altivec supported Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 7 2005, 21:38:00)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.4, 1.7.9-r1, 1.8.5-r3, 1.4_p6, 1.6.3, 1.5 sys-devel/binutils: 2.15.90.0.3-r4 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache cvs distlocks sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://gentoo-distfiles.local.nil.nul/gentoo-portage" USE="X aalib aim alsa altivec apache2 arts bash-completion berkdb bidi bitmap-fonts bluetooth bonobo bzip2 cddb cdr cdrom cjk clamav crypt cups curl dba directfb divx4linux dmx dvd dvdr dvdread eep escreen esd etwin fam fbcon fla flac font-server foomaticdb ftp gd gdbm gif gimpprint gpm gtk gtk2 hardened hardenedphp iconv icq imagemagick imap imlib ipv6 ipv6arpa irda irmc jabber jack jack-tmpfs java jpeg junit ldap libwww maildir motif mozilla mpeg mpeg4 msn mysql ncurses nethack nls odbc oggvorbis opengl oscar pam pcmcia pda perl php png pnp postgres ppc ppds psyco pthreads python qt quicktime radeon readline samba sdl selinux session slang soap spell sqlite ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1 type1-fonts vhosts vim-with-x wmf xine xinerama xml xml2 xmms xprint xsl xv xvid yahoo zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY --- my Xorg.0.log shows following lines: (...) Elf_RelocateEntry() Unsupported relocation type 18 Elf_RelocateEntry() Unsupported relocation type 18 Elf_RelocateEntry() Unsupported relocation type 18 Elf_RelocateEntry() Unsupported relocation type 18 Elf_RelocateEntry() Unsupported relocation type 18 Elf_RelocateEntry() Unsupported relocation type 18 Elf_RelocateEntry() Unsupported relocation type 18 Elf_RelocateEntry() Unsupported relocation type 18 Elf_RelocateEntry() Unsupported relocation type 18 (II) Module bitmap: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.4 --- pr0llb00k ~ # emerge -pv xorg-x11 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-base/xorg-x11-6.8.2 (-3dfx) (-3dnow) +bitmap-fonts +cjk -debug -dlloader +dmx -doc +font-server +hardened -insecure-drivers +ipv6 -minimal (-mmx) +nls +opengl +pam -sdk (-sse) -static +truetype-fonts +type1-fonts (-uclibc) +xprint +xv 0 kB Total size of downloads: 0 kB --- my xorg.conf follows...
Created attachment 51167 [details] my xorg.conf working on builds of xorg-x11 which i haven't merged myself
Add 'dlloader' to your use flags. The elf loader is not supported by hardened, it's too primitive. The other alternative is to build X static, but I'd guess you probably don't want that.
aye... i tell you tommorrow (or the day after) if it works... *compiling*
thx alot, that dlloader useflag did it :)
changing this "bug"-message to resolved/fixed...
Shouldn't hardened imply dlloader in USE flags then?
And how is this fixed?
Created attachment 60282 [details, diff] Possible fix
The preference for dlloader with xorg-x11 is independent of arch (more accurately the problems with elfloader occur on all hardened arches!). Currently 'dlloader' is in the hardened profile for ppc, ppc64, x86 and x86/2.6 - I don't know when it was added, but the point is that these hardened profile users get it by default, so it's correct to consider it fixed. The ppc & ppc64 profiles are currently 'in testing' - so using them, finding and reporting issues with them would be appreciated.