| View previous topic :: View next topic |
| Author |
Message |
Lin-Darian Tux's lil' helper


Joined: 24 Mar 2005 Posts: 84
|
Posted: Tue Sep 27, 2005 8:03 am Post subject: KDE 3.5 compile issue another -fPIC error [SOLVED] |
|
|
| Code: | -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -march=k8 -pipe -O3 -ffast-math -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 -lpam -ldl
/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_beta1/work/kdebase-3.4.91/kcheckpass'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.5_beta1/work/kdebase-3.4.91'
make: *** [all] Error 2 |
I'd be very grateful for any help
| Code: | Portage 2.0.52-r1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System version 1.12.0_pre8
dev-lang/python: 2.3.5, 2.4.1-r1
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
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=k8 -pipe -O3 -ffast-math"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O3 -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.scphost.com/pub/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X a52 acpi alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr clearcase cpudetection crypt cups curl dv dvb dvd dvdr dvdread dxr3 eds emboss encode fam ffmpeg foomaticdb fortran gd gif gnome gpm gstreamer gtk gtk2 haskell howl imagemagick imlib ipv6 jpeg jpeg2k kde kdeenablefinal kerberos krb4 libwww lm_sensors logrotate lzw lzw-tiff mad mapeditor mikmod mmap mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis on-the-fly-crypt opengl oss pam parse-clocks pascal pdflib perl php png python qmail qt quicktime readline samba sdl sensord spell sql ssl subversion syslog tcltk tcpd threads tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xine xinerama xml xml2 xmms xpm xscreensaver xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY |
Last edited by Lin-Darian on Fri Sep 30, 2005 12:38 am; edited 1 time in total |
|
| Back to top |
|
 |
Lin-Darian Tux's lil' helper


Joined: 24 Mar 2005 Posts: 84
|
|
| Back to top |
|
 |
nxsty Veteran


Joined: 23 Jun 2004 Posts: 1556 Location: .se
|
Posted: Wed Sep 28, 2005 7:59 pm Post subject: |
|
|
| Have you tried with the stable binutils? |
|
| Back to top |
|
 |
marvin rouge Veteran


Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Thu Sep 29, 2005 6:24 am Post subject: |
|
|
| Have you tried to emerge kcheckpass with -fPIC in your CFLAGS ? if it builds, then you just have to report a bug. |
|
| Back to top |
|
 |
bbkr n00b

Joined: 04 Jul 2005 Posts: 22
|
Posted: Thu Sep 29, 2005 9:47 am Post subject: |
|
|
stable ain't working.
downgrade to sys-devel/binutils-2.15.90.0.1.1-r5. |
|
| Back to top |
|
 |
Lin-Darian Tux's lil' helper


Joined: 24 Mar 2005 Posts: 84
|
Posted: Fri Sep 30, 2005 12:37 am Post subject: |
|
|
| Acutally all I did to make to work, was add CFLAGS=-fPIC infront of KDE-BASE, it emerges perfectly, then remerge the kde meta build |
|
| Back to top |
|
 |
|