x86info can't compile with -fPIC option i make a modified ebuild script, with this it will be ok i think, this is just a workaround, the better way is to correct the source code (i can't do this) Reproducible: Always Steps to Reproduce: 1. USE="pic" emerge sys-apps/x86info 2. 3. emerge info: Portage 2.0.51_rc9 (hardened/x86/2.6, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.6-1.435.2.3 i686) ================================================================= System uname: 2.6.6-1.435.2.3 i686 Intel(R) Celeron(R) CPU 2.60GHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -fPIC -pipe -fomit-frame-pointer -msse -mmmx" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -fPIC -pipe -fomit-frame-pointer -msse -mmmx" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.mirror.icd.hu/ ftp://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="aac accounting acl acpi acpi4linux apache2 apm bcmath berkdb bzlib calendar cdparanoia cdr cdrom clamac clamav crypt ctype curl curlwrappers dba dbase dbm devfs devfs26 dio dlloader dv dvb dvd dvdr dvdread encode erandom exif f77 fam freetype fs ftp gcj gd gdbm geoip gif gmp gnutls guile hal hardened iconv image imagemagick imap inifile innodb intl java javascript jikes jpeg jpeg2k junit ldap lesstif libg++ libwww live lm_sensors lzo lzw lzw-tiff mcal memlimit mhash mime mmap mmx mmx2 mng mp3 mpeg mpeg4 mysql ncurses nethack network nls nptl ntlm objc odbc oggvorbis openal openssh pam parse-clocks pcap pcntl pcre pdf pdflib perl pic pie png pnp posix postgres pthreads pwdb python readline recode samba sasl shared sharedmem simplexml skey slang smime sms snmp sockets spell squid sse ssl svg sysvipc tcltktcpd threads tiff transcode truetype type1 unicode usb userlocales virus-scan wmf x86 xfs xinetd xml xml2 xmlrpc xpm zlib"
Created attachment 41702 [details] The correct ebuild script The modifications: - inherit eurils + inherit eurils flag-o-matic scr_compile() { + filter-flags "-fPIC" emake .... }
added a patch to fix the assembly code and support PIC
Oh, i forget to close this.