Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 96915

Summary: musicbrainz (required gnome dependency) fails to build requesting -fPIC to be enabled
Product: Gentoo Linux Reporter: Henrique Dante de Almeida <hdante>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Henrique Dante de Almeida 2005-06-23 19:34:27 UTC
On trying to emerge world with gnome installed, the dependency library
music brains fails to link, giving the following message:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
.libs/diskid.o: relocation R_X86_64_PC32 against `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::~basic_string()@@GLIBCXX_3.4'
can not be used when making a shared object; recompile with -fPIC



Reproducible: Always
Steps to Reproduce:
1. emerge musicbrainz
2. error

Actual Results:  
emerge stopped and couldn't emerge world



Expected Results:  
the library should have -fPIC enabled

Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 31 2005, 00:31:54)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
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.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon64 -fforce-addr -momit-leaf-frame-pointer
-fomit-frame-pointer -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon64 -fforce-addr -momit-leaf-frame-pointer
-fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo/"
LANG="pt_BR.UTF-8"
LC_ALL="pt_BR.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa avi berkdb bitmap-fonts bzip2 cdr crypt dvd dvdr eds fam
flac gif gnome gnutls gphoto2 gpm gstreamer gtk gtkhtml hal imlib ipv6 jp2 jpeg
lzw lzw-tiff mad mikmod mng motif mozilla mp3 mpeg ncurses nls nptl nvidia ogg
oggvorbis opengl pam pcre png python readline rtc samba sdl sndfile spell ssl
svg tcpd theora tiff truetype truetype-fonts unicode usb userlocales vorbis
xanim xml2 xmms xpm xrandr xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-23 19:37:57 UTC

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