Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88893 - media-libs/musicbrainz-2.1.1 would not emerge on a new stage1 2005.0 amd64 install, -fPIC error
Summary: media-libs/musicbrainz-2.1.1 would not emerge on a new stage1 2005.0 amd64 in...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 96915 (view as bug list)
Depends on:
Blocks: 83369
  Show dependency tree
 
Reported: 2005-04-12 13:37 UTC by Raymond Lewis Rebbeck
Modified: 2005-06-23 20:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log from the build directory (config.log,40.70 KB, text/plain)
2005-04-16 06:54 UTC, Raymond Lewis Rebbeck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Lewis Rebbeck 2005-04-12 13:37:18 UTC
emerging 'media-libs/musicbrainz-2.1.1' on my new stage1 2005.0 amd64 install results in the following error:

/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
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libmusicbrainz.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/musicbrainz-2.1.1/work/libmusicbrainz-2.1.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/musicbrainz-2.1.1/work/libmusicbrainz-2.1.1'
make: *** [all] Error 2

!!! ERROR: media-libs/musicbrainz-2.1.1 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

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

Actual Results:  
The error described above occured and the program failed to emerge. 

Expected Results:  
It should have correctly emerged, without error.  

Portage 2.0.51.19 (default-linux/amd64/2005.0, 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 3000+ 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 11 2005, 
12:38:49)] 
dev-lang/python:     2.3.4-r1 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6, 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 -O2 -pipe" 
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/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon64 -O2 -pipe -fvisibility-inlines-hidden" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
LANG="" 
LC_ALL="" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" 
USE="amd64 X acpi alsa avi berkdb bitmap-fonts cjk crypt curl dvd fam flac 
font-server fortran gif hal java jp2 jpeg kde kdeenablefinal kdexdeltas 
lm_sensors lzw lzw-tiff mad mp3 ncurses nls nptl ogg oggvorbis opengl pam perl 
png python qt readline ssl tcpd tiff truetype truetype-fonts type1-fonts 
unicode usb userlocales vorbis xine xml2 xpm xrandr xv zlib" 
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Herbie Hopkins (RETIRED) gentoo-dev 2005-04-13 03:26:21 UTC
Please attach your config.log from the build directory.
Comment 2 Raymond Lewis Rebbeck 2005-04-16 06:54:54 UTC
Created attachment 56450 [details]
config.log from the build directory
Comment 3 Jan Dusek 2005-06-02 00:44:49 UTC
Hi, the same error here (amd64, 2005.0 stage1) - any progress?
Comment 4 Jan Dusek 2005-06-02 00:51:42 UTC
Maybe I'll just add a link for a hotfix dystopianray found:
http://forums.gentoo.org/viewtopic-t-316156.html (don't use
-fvisibility-inlines-hidden)
Comment 5 Olivier Crete (RETIRED) gentoo-dev 2005-06-02 04:39:18 UTC
-fvisibility-inlines-hidden is an unsupported, remove it from your CXXFLAGS and
it will work, thank you.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-06-23 19:37:57 UTC
*** Bug 96915 has been marked as a duplicate of this bug. ***
Comment 7 Henrique Dante de Almeida 2005-06-23 20:38:09 UTC
To clarify things: this is not a library bug. The '-fPIC' bug is actually caused
by '-fvisibility-inlines-hidden' bugs _both_ in gcc and libstdc++. Please, don't
use this flag on AMD64 while this is not fixed (it seems to be a problem o PPC64
too). For more information, read http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664