Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54308 - XFree86 doesn't work after compiling with Hardened GCC/GLIBC
Summary: XFree86 doesn't work after compiling with Hardened GCC/GLIBC
Status: RESOLVED DUPLICATE of bug 43177
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Hardened Gentoo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-18 07:18 UTC by Andrew Kolchoogin
Modified: 2005-07-17 13:06 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 Andrew Kolchoogin 2004-06-18 07:18:07 UTC
It doesn't work. More precisely, XFree86 X Server couldn't load any of its' modules at run time because of duplicate symbol __i686.get_pc_thunk.bx.

I don't exactly sure that it's a bug in Hardened GCC/GLIBC because XFree86 has it's own object modules loader and doesn't use system one -- maybe it's a bug in server module loader.

Reproducible: Always
Steps to Reproduce:
1. Install Gentoo/Hardened 2004.0
2. Update Portage tree to latest copy
3. Put flags "hardened pie" to "USE" variable
4. Do 'emerge glibc && emerge gcc'
5. Do 'emerge xfree'
6. Start 'X -configure'
Actual Results:  
It crashes: "Unable to load module 'libbitmap.a'"

Expected Results:  
It should make configuration file. :)

Portage 2.0.50-r8 (hardened-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.
5-r5)
=================================================================
System uname: 2.6.5-r5 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -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.
2/share/config /usr/kde/3/share/config /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.spb.ru/rsync ftp://mirrors.sec.informatik.
tu-darmstadt.de/gentoo/ http://ftp.du.se/pub/os/gentoo ftp://mirror.gentoo.
ru/pub/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 arts audiofile avi berkdb bindist bonobo caps cdr 
crypt cscope cups curl dga directfb divx4linux doc dvd encode esd ethereal evo 
fam fastcgi fbcon fdftk fftw flac flash foomaticdb freetds gb gd gdbm gif ginac 
gmp gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml hardened hardenedphp icq 
imagemagick imap imlib innodb jack java jpeg kde lcms ldap libg++ libgda libwww 
mad maildir mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi mssql mysql nas 
ncurses netcdf nls odbc offensive oggvorbis opengl oss pam pda pdflib perl pic 
pie plotutils png pnp postgres ppds prelude python qt quicktime readline ruby 
samba sasl scanner sdl slang slp snmp socks5 speex spell sse ssl svg svga szip 
tcltk tcpd tetex theora threads tiff truetype trusted unicode usb vhosts videos 
wavelan wmf x86 xface xinerama xml2 xmms xosd xv xvid zlib"
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-06-20 11:13:26 UTC

*** This bug has been marked as a duplicate of 43177 ***