Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109826 - kdebase-3.5.0_beta2 failure with kcheckpass requiring -fPIC
Summary: kdebase-3.5.0_beta2 failure with kcheckpass requiring -fPIC
Status: RESOLVED DUPLICATE of bug 107218
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-19 08:54 UTC by Jason Stubbs (RETIRED)
Modified: 2005-10-19 09:22 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 Jason Stubbs (RETIRED) gentoo-dev 2005-10-19 08:54:37 UTC
make[2]: Entering directory  
`/var/tmp/portage/kdebase-3.5.0_beta2/work/kdebase-3.4.92/kcheckpass'  
/bin/sh ../libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc   
-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith  
-Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE  
-DNDEBUG -O2  -march=opteron -O2 -pipe -Wformat-security  
-Wmissing-format-attribute -D_GNU_SOURCE   -o kcheckpass -pie  
-L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    kcheckpass.o  
checkpass_etcpasswd.o checkpass_pam.o checkpass_shadow.o  
checkpass_osfc2passwd.o checkpass_aix.o  -lkdefakes -lcrypt  
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:  
kcheckpass.o: relocation R_X86_64_32 against `a local symbol' can not be used  
when making a shared object; recompile with -fPIC  
kcheckpass.o: could not read symbols: Bad value  
collect2: ld returned 1 exit status  
make[2]: *** [kcheckpass] Error 1  
make[2]: Leaving directory  
`/var/tmp/portage/kdebase-3.5.0_beta2/work/kdebase-3.4.92/kcheckpass'  
 
Adding -fPIC to CFLAGS and CXXFLAGS in kcheckpass/Makefile allows it to 
compile and run successfully. Same issue existed with 3.5.0_beta1 as well. 
Possibly of interest is the fact that I have USE="-pam". 
 
 
Portage 2149-svn (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.13-ck6 x86_64) 
================================================================= 
System uname: 2.6.13-ck6 x86_64 AMD Opteron(tm) Processor 246 
Gentoo Base System version 1.12.0_pre9 
dev-lang/python:     2.3.5, 2.4.2 
sys-apps/sandbox:    1.2.13 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=opteron -O2 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=opteron -O2 -pipe" 
DISTDIR="/mnt/archive/gentoo/distfiles" 
FEATURES="livecvsportage noinfo nostrip sign strict userpriv" 
GENTOO_MIRRORS="http://gentoo.gg3.net/" 
LC_ALL="ja_JP.UTF-8" 
LINGUAS="en ja" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/mnt/archive/gentoo/rsync" 
SYNC="rsync://gentoo.gg3.net/gentoo-portage" 
USE="amd64 X a52 aac alsa arts cjk dts dvd dvdr dvdread ffmpeg flac gif 
gstreamer hal immqt-bc jpeg kdeenablefinal mad mp3 nocd nptl nptlonly ogg 
opengl pdflib png python qt readline sasl sdl smime spell ssl subversion 
truetype-fonts unicode v4l v4l2 videos vorbis xv xvid zlib linguas_en 
linguas_ja userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-19 09:22:42 UTC

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