Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90197 - arts and kdelibs fail to compile due to missing -fPIC
Summary: arts and kdelibs fail to compile due to missing -fPIC
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-23 23:20 UTC by justin moser
Modified: 2005-04-24 13:55 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 justin moser 2005-04-23 23:20:36 UTC
for amd64, arts-1.4.2-r1 and kdelibs-3.3.2-r8 fail to compile for me, complaining that i need to "recompile using -fPIC." i read about this on the amd64 project, so I presume this is where i report this kind of error.

see emerge --info below

Reproducible: Always
Steps to Reproduce:
1. emerge arts or kdelibs
2. see compile error
3.

Actual Results:  
i didn't think to capture the actual error message. however, it barfed an error
that was akin to "blah blah blah recompile with -fPIC"

forcing it to pass "-fPIC" with my CFLAGS and CXXFLAGS  permits them to compile
right.

Expected Results:  
(do i really need to fill in all these text boxes?)

# emerge --info
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 23 2005, 21:53:16)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
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-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O3 -pipe -ffast-math -funroll-all-loops -fpeel-loops
-ftracer -funswitch-loops -fomit-frame-pointer -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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -pipe -ffast-math -funroll-all-loops
-fpeel-loops-ftracer -funswitch-loops -fomit-frame-pointer
-fprefetch-loop-arrays -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo"
LDFLAGS="-Wl,-O2 -Wl,--sort-common -Wl,--no-keep-memory -s"
MAKEOPTS="-j2"
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 arts berkdb bitmap-fonts cdr crypt curl emul-linux-x86
fam font-server fortran gif gpm imagemagick imlib ithreads jp2 jpeg kde
kdeenablefinal kdexdeltas lzw lzw-tiff motif mp3 multilib ncurses nls nptl ogg
oggvorbis opengl oss pam perl png python qt quicktime readline real samba spell
ssl tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb
userlocales vorbis xml2 xmms xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 justin moser 2005-04-23 23:21:23 UTC
looks like i'm having the same problem with kdebase-3.3.2-r1. is it something in my configuration? :/
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-04-24 02:37:19 UTC
You should at least try again with basic CFLAGS/CXXFLAGS/LDFLAGS, and then reopen if it still happens (make sure you disable ccache and clean /var/tmp/portage/ before).
Comment 3 justin moser 2005-04-24 13:55:40 UTC
yeah. clearing ccache and /var/tmp/portage AND throttling down my flags did the trick. so, yeah it was something in my flags.

thank you :)