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

Bug 118554

Summary: kdegraphics-3.5.0* fails to build on AMD64
Product: Gentoo Linux Reporter: Michael Dale Long <mdl695>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Dale Long 2006-01-10 10:20:31 UTC
kdegraphics fails to build with the following error message:

...
/bin/sh ../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++  -W
no-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconv
ersion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march
=athlon64 -O2 -pipe -fno-ident -fvisibility-inlines-hidden -Wformat-security -Wm
issing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fn
o-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT
_NO_TRANSLATION    -o kcm_kgamma.la -rpath /usr/kde/3.5/lib64/kde3 -L/usr/kde/3.
5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    -module -avoid-version -module -no-und
efined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib64 -R /
usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64  xf86configpath.lo xvidextwra
p.lo displaynumber.lo gammactrl.lo kgamma.lo -lXxf86vm -lkdeui -lkdecore -lqt-mt
  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: w
arning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: .
libs/xvidextwrap.o: relocation R_X86_64_PC32 against `std::basic_istringstream<c
har, std::char_traits<char>, std::allocator<char> >::basic_istringstream(std::ba
sic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Io
s_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: f
inal link failed: Bad value
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
make[4]: *** [kcm_kgamma.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdegraphics-3.5.0-r4/work/kdegraphics-3.5.0/kgamma/kcmkgamma'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdegraphics-3.5.0-r4/work/kdegraphics-3.5.0/kgamma/kcmkgamma'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdegraphics-3.5.0-r4/work/kdegraphics-3.5.0/kgamma'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdegraphics-3.5.0-r4/work/kdegraphics-3.5.0'
make: *** [all] Error 2

My 'emerge --info' follows:

Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 4000+
Gentoo Base System version 1.12.0_pre13
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 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 -fno-ident"
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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/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 -fno-ident -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.seren.com/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/"
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 3dnowex X acpi aim alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt curl directfb dvd dvdr dvdread eds emacs emul-linux-x86 encode ethereal expat fam fbcon ftp gdbm gif gmp gpm gstreamer gtk gtk2 icq idn imagemagick imap imlib ipv6 jabber java javascript joystick jpeg kde kdeenablefinal lcms lm_sensors lua lzw lzw-tiff mad mhash mime mmap mng mozilla mp3 mpeg msn ncurses nls nptl nptlonly nvidia ogg openal opengl oscar pam pcre pdflib perl png python qt quicktime readline ruby samba sdl sharedmem simplexml sockets sox speex spell ssl svg szip tcltk theora threads tidy tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis wifi xine xinerama xml2 xmms xpm xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-01-10 16:39:42 UTC

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