Bug 46222 - szib needs -fPIC to compile
Bug#: 46222 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: amd64@gentoo.org Reported By: schut@sarvision.com
Component: Applications
URL: 
Summary: szib needs -fPIC to compile
Keywords:  
Status Whiteboard: 
Opened: 2004-03-30 02:09 0000
Description:   Opened: 2004-03-30 02:09 0000
dev-libs/szib-1.1-r1 doesn't compile without -fPIC on amd64.

Reproducible: Always
Steps to Reproduce:
1. emerge szip
2.
3.

Actual Results:  
complains about compiling without -fPIC 

Expected Results:  
finish the compilation/install 

Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 
2.6.4-gentoo-r1) 
================================================================= 
System uname: 2.6.4-gentoo-r1 x86_64 4 
Gentoo Base System version 1.4.3.13 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.7.8 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -pipe -fomit-frame-pointer" 
CHOST="x86_64-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/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo 
http://212.219.247.10/sites/www.ibiblio.org/gentoo/ 
http://212.219.247.13/sites/www.ibiblio.org/gentoo/ 
http://212.219.247.21/sites/www.ibiblio.org/gentoo/" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X acpi alsa amd64 apache2 apm arts berkdb cdr crypt cscope cups curl dga 
directfb doc dvd dvdr emacs esd fftw foomaticdb gd gdbm gif gpm gtk gtk2 
imagemagick imap imlib jabber java javascript jikes jpeg kde ldap libg++ 
libwww maildir motif mpeg mpi ncurses nls odbc opengl pam perl png postgres 
ppds python qt readline samba slang snmp spell ssl tcpd tetex tiff truetype 
unicode usb wxwindows xml xml2 zlib"

------- Comment #1 From Danny van Dyk (RETIRED) 2004-03-30 05:50:54 0000 -------
Created an attachment (id=28369) [details]
New ebuild for dev-libs/szip-1.1-r2 with append-flags -fPIC

This ebuild allows dev-libs/szip1.1-r1 to build on amd64. It will append -fPIC
for every ${ARCH}.

------- Comment #2 From Daniel Ahlberg (RETIRED) 2004-03-30 06:39:42 0000 -------
Fixed in CVS, thanks!