Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121134 - libsidplay-1.36.57 fails to emerge on amd64
Summary: libsidplay-1.36.57 fails to emerge on amd64
Status: RESOLVED DUPLICATE of bug 78720
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-31 23:29 UTC by Claes Mogren
Modified: 2006-03-18 09:43 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 Claes Mogren 2006-01-31 23:29:45 UTC
Emerging media-libs/libsidplay fails on amd64. There's some linking issue, but I can't figure it out:

...
gcc -shared  sidtune.lo eeconfig.lo player.lo 6510_.lo 6581_.lo envelope.lo mixing.lo samples.lo fformat_.lo info_.lo mus_.lo pp_.lo psid_.lo sid_.lo   -Wl,-soname -Wl,libsidplay.so.1 -o .libs/libsidplay.so.1.0.3
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: info_.lo: relocation R_X86_64_PC32 against `std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::basic_istringstream(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
distcc[13563] ERROR: compile (null) on localhost failed
make[1]: *** [libsidplay.la] Error 1
make[1]: Leaving directory `/usr/portage/tmp/portage/libsidplay-1.36.57/work/libsidplay-1.36.57/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/libsidplay-1.36.57 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile


------------------ Emerge info -----------------------
Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -ftracer -fno-ident"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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=athlon64 -O2 -pipe -ftracer -fno-ident -fvisibility-inlines-hidden -fno-enforce-eh-specs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X acpi aim alsa apache2 avi bash-completion berkdb bitmap-fonts bluetooth browserplugin cairo calendar canvas cdparanoia cdr crypt cups dbus dga dio directfb divx4linux doc dri dvd dvdr eds emboss encode exif fbcon ffmpeg fftw foomaticdb fortran gif glx gnome gphoto2 gpm gstreamer gtk gtk2 hal icq imagemagic imlib ipv6 jabber java jpeg lzw lzw-tiff mime mono mozilla mozsvg mp3 mpeg msn ncurses nls nptl nsplugin offensive oggvorbis opengl oscar pam pdflib perl png python quicktime readline ruby samba sdl spell sqlite ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l wmf xpm xscreensaver xv xvid yahoo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS
Comment 1 Chris White (RETIRED) gentoo-dev 2006-01-31 23:39:14 UTC
libsidplay-2.1.1.ebuild is the latest stable, can you verify on that first?
Comment 2 Claes Mogren 2006-02-01 00:41:12 UTC
Sure.. Weird that it didn't want to install that one automaticly the first two times I tried. I only did a regular emerge libsidplay. Anyway, 2.1.1 fails in a similar way:

...
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/crtbeginS.o  .libs/config.o .libs/event.o .libs/player.o .libs/psiddrv.o .libs/mixer.o .libs/reloc65.o .libs/sidplay2.o -Wl,--whole-archive ./mos6510/.libs/libmos6510.a ./mos6526/.libs/libmos6526.a ./mos656x/.libs/libmos656x.a ./xsid/.libs/libxsid.a ./sidtune/.libs/libsidtune.a ./sid6526/.libs/libsid6526.a -Wl,--no-whole-archive  -L/usr/lib/../lib64 -L/lib/../lib64 -L/usr/x86_64-pc-linux-gnu/bin -L/usr/x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/../../../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../.. /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64/crtn.o  -march=athlon64 -Wl,-soname -Wl,libsidplay2.so.1 -o .libs/libsidplay2.so.1.0.1
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: ./sidtune/.libs/libsidtune.a(IconInfo.o): relocation R_X86_64_PC32 against `std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::basic_istringstream(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)@@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.5/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
distcc[22877] ERROR: compile (null) on localhost failed
make[3]: *** [libsidplay2.la] Error 1
make[3]: Leaving directory `/usr/portage/tmp/portage/libsidplay-2.1.1/work/sidplay-libs-2.1.1/libsidplay/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/portage/tmp/portage/libsidplay-2.1.1/work/sidplay-libs-2.1.1/libsidplay/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/portage/tmp/portage/libsidplay-2.1.1/work/sidplay-libs-2.1.1/libsidplay'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/libsidplay-2.1.1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

(I'm always impressed with the fast replies on bugs btw. Thanks for all the great work Gentoo devs! :))
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-18 09:43:23 UTC

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