Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32324 - x11-wm/metacity needs to be built with -fPIC to emerge control-center-2.4.0 on amd64
Summary: x11-wm/metacity needs to be built with -fPIC to emerge control-center-2.4.0 o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-30 04:39 UTC by Mikko Tiihonen
Modified: 2003-11-13 20:13 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 Mikko Tiihonen 2003-10-30 04:39:34 UTC
If x11-wm/metacity-2.6.2 is not built with -fPIC, or more specifically the
libmetacity-private.a library of the metacity, the bulding of
gnome-base/control-center-2.4.0 fails with the following error:

ld: ../../capplets/common/.libs/libcommon.a(gradient.o): relocation R_X86_64_32S
can not be used when making a shared object; recompile with -fPIC
../../capplets/common/.libs/libcommon.a(gradient.o): could not read symbols: Bad
value


Reproducible: Always
Steps to Reproduce:
1. emerge metacity without -fPIC
2. emerge control-center
3.

Actual Results:  
build fails with because one needed library wasn't compiled with -fPIC

Expected Results:  
control-panel was emerged succcessfully

Portage 2.0.49-r15 (default-amd64-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 x86_64 4
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-pipe -O2 -fomit-frame-pointer -frename-registers --param
max-delay-slot-insn-search=250 --param max-delay-slot-live-search=800 --param
max-pending-list-length=72 --param max-gcse-passes=3 --param
max-crossjump-edges=200"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs userpriv usersandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.linux.no/
ftp://trumpetti.atm.tut.fi/gentoo/ ftp://gentoo.linux.no/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.se.gentoo.org/gentoo-portage"
USE="amd64 oss 3dnow apm avi crypt -cups encode foomaticdb gif -java jpeg libg++
libwww mikmod mmx mpeg ncurses nls pdflib png -qt quicktime sdl spell sse
truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline X gpm tcpd pam ssl
perl python imlib oggvorbis opengl mozilla gnome gtk doc ethereal freetype gtk2
mozsvg -cups -java -qt -esd -kde -arts -svga -motif"
Comment 1 Brad House 2003-11-13 20:13:57 UTC
seems as metacity 2.6.3 is fine