Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81114 - sys-libs/pam-0.77-r7 compile failed
Summary: sys-libs/pam-0.77-r7 compile failed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-07 06:42 UTC by Alex Turbov
Modified: 2005-02-10 18:32 UTC (History)
1 user (show)

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 Alex Turbov 2005-02-07 06:42:44 UTC
---{Symptom}---
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: dynamic/pam_item.o: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
dynamic/pam_item.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libpam.so] Error 1
make[1]: Leaving directory `/var/tmp/portage/pam-0.77-r7/work/Linux-PAM-0.77/libpam'
make: *** [libpam] Error 2



Reproducible: Always
Steps to Reproduce:
1. emerge =sys-libs/pam-0.77-r7
2.
3.




---{My `emerge info`}--- 
zaufi portage # emerge info 
Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, 
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6-64bit x86_64) 
================================================================= 
System uname: 2.6.10-gentoo-r6-64bit x86_64 AMD Athlon(tm) 64 Processor 3000+ 
Gentoo Base System version 1.6.9 
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan  5 2005, 11:01:51)] 
dev-lang/python:     2.3.4 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 
sys-devel/binutils:  2.15.92.0.2-r2 
sys-devel/libtool:   1.5.10-r4 
virtual/os-headers:  2.6.8.1-r3 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CFLAGS="-fPIC -DPIC -O3 -pipe -march=athlon64 -fforce-addr 
-falign-functions=64 -falign-jumps=16 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/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="-fPIC -DPIC -O3 -pipe -march=athlon64 -fforce-addr 
-falign-functions=64 -falign-jumps=16 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" 
GENTOO_MIRRORS="http://gentoo.im.rle.ru/mirror/ 
http://mirror.gentoo.ru/pub/mirror/gentoo/ 
http://ftp.citkit.ru/pub/Linux/gentoo-portage/ 
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" 
MAKEOPTS="" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X acpi alsa apache2 arts avi bash-completion berkdb bitmap-fonts 
cddb cdparanoia cdr crypt dba dga divx4linux dvd dvdr encode esd exif fam fftw 
flac ftp gd gif gpm gtk gtk2 guile iconv icq imagemagick imap imlib innodb 
ithreads jp2 jpeg kde ldap libwww lzw lzw-tiff mad maildir md5sub mmap mng 
motif mozilla mpeg multilib mysql ncurses nptl nvidia odbc oggvorbis opengl 
oss pam pcntl pcre perl png pnp posix python qt quicktime readline sdl session 
slang slp sockets spell ssl svg tcpd tetex theora threads tiff 
truetypetruetype-fonts type1-fonts unicode usb userlocales xinerama xml xml2 
xpm xrandr xv xvid zlib" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-10 09:33:14 UTC
Seems like a PIC issue - can the amd64 guys please comment ?
Comment 2 Mike Doty (RETIRED) gentoo-dev 2005-02-10 18:32:26 UTC
try again with sane CFLAGS(-O2 -march=k8 -pipe)  feel free to reopen if you still have issues