Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81140 - plib 1.8.3 needs -fPIC on amd64
Summary: plib 1.8.3 needs -fPIC on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 81141 (view as bug list)
Depends on:
Blocks: 83369
  Show dependency tree
 
Reported: 2005-02-07 09:59 UTC by Frank Weinberg
Modified: 2005-04-20 14:16 UTC (History)
1 user (show)

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


Attachments
Build also shared libs for plib (plib-1.8.4-sharedlibs.patch,7.80 KB, patch)
2005-02-10 19:13 UTC, Danny van Dyk (RETIRED)
Details | Diff
Allows compilation on amd6 and other -fPIC-loving arches (torcs-1.2.2-fPIC.patch,13.07 KB, patch)
2005-02-10 19:14 UTC, Danny van Dyk (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Weinberg 2005-02-07 09:59:09 UTC
When trying to emerge games-sports/torcs-1.2.2 it mourned about plib not being compiled with -fPIC. (Reemerging plib with -fPIC in CFLAGS solved the problem as expected)

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




emerge --info:

Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-
r1, 2.6.9-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, 
Oct 21 2004, 08:12:56)]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.6.3, 1.8.5-r3, 1.7.9-r1, 1.4_p6, 1.5, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -Os -pipe -fomit-frame-pointer -frename-registers -fweb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/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=k8 -Os -pipe -fomit-frame-pointer -frename-registers -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv 
usersandbox"
GENTOO_MIRRORS="ftp://ftp.uni-kl.de/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.uni-kl.de/ftp/linux/gentoo-portage"
USE="amd64 X aalib acpi alsa apache2 avi bash-completion berkdb bitmap-fonts cdr 
crypt doc dvd dvdr emacs encode f77 fam flac font-server fortran gdbm gif gnome 
gpm gstreamer gtk gtk2 imagemagick imlib java jp2 jpeg leim libwww lzw lzw-tiff 
mad mbox mng motif mozilla mpeg mule multilib mysql ncurses nls oggvorbis opengl 
pam pdflib perl png python qt readline sdl slang ssl svg tcltk tcpd tetex theora 
tiff truetype truetype-fonts type1-fonts unicode usb userlocales wmf xface xml2 
xpm xrandr xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2005-02-10 19:13:07 UTC
Created attachment 50971 [details, diff]
Build also shared libs for plib

This one needs full autotool programm afterwards:
aclocal; libtoolize --copy --force; automake --add-missing; autoconf
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2005-02-10 19:14:12 UTC
Created attachment 50972 [details, diff]
Allows compilation on amd6 and other -fPIC-loving arches

This one should be applied unconditionally
Comment 3 Danny van Dyk (RETIRED) gentoo-dev 2005-02-10 19:15:00 UTC
Games people: Could you please have a look @ above patches and tell me if i'm
allowed to commit ? TIA ;-)
Comment 4 Danny van Dyk (RETIRED) gentoo-dev 2005-02-10 19:25:51 UTC
*** Bug 81141 has been marked as a duplicate of this bug. ***
Comment 5 SpanKY gentoo-dev 2005-03-01 15:36:57 UTC
i thought i already gave you the go ahead for this Danny ...
Comment 6 Simon Stelling (RETIRED) gentoo-dev 2005-04-20 14:16:31 UTC
couldn't reproduce this with 1.8.4 which is now stable