Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89425 - Build of kdegraphics-3.4.0 fails with link error
Summary: Build of kdegraphics-3.4.0 fails with link error
Status: RESOLVED DUPLICATE of bug 78720
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-17 09:04 UTC by Kevin Lacquement
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Kevin Lacquement 2005-04-17 09:04:51 UTC
Build of kdegraphics-3.4.0 fails with a link error on xvidextwrap.o

Reproducible: Always
Steps to Reproduce:
1. emerge kdegraphics

Actual Results:  
/bin/sh ../../libtool --silent --mode=link --tag=CXX x86_64-pc-linux-gnu-g++ 
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O3
-pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -w -fforce-addr
-freduce-all-givs -fmove-all-movables -fvisibility-inlines-hidden
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-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.4/lib64/kde3
-L/usr/kde/3.4/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    -module -avoid-version
-module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R
/usr/kde/3.4/lib64 -R /usr/kde/3.4/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 
xf86configpath.lo xvidextwrap.lo displaynumber.lo gammactrl.lo kgamma.lo
-lXxf86vm -lkdeui -lkdecore -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE
-lpthread 

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld:
.libs/xvidextwrap.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.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld:
final link failed: Bad value

collect2: ld returned 1 exit status

make[4]: *** [kcm_kgamma.la] Error 1

make[4]: Leaving directory
`/var/tmp/portage/kdegraphics-3.4.0/work/kdegraphics-3.4.0/kgamma/kcmkgamma'

make[3]: *** [all-recursive] Error 1

make[3]: Leaving directory
`/var/tmp/portage/kdegraphics-3.4.0/work/kdegraphics-3.4.0/kgamma/kcmkgamma'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory
`/var/tmp/portage/kdegraphics-3.4.0/work/kdegraphics-3.4.0/kgamma'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory
`/var/tmp/portage/kdegraphics-3.4.0/work/kdegraphics-3.4.0'

make: *** [all] Error 2



!!! ERROR: kde-base/kdegraphics-3.4.0 failed.

!!! Function kde_src_compile, Line 166, Exitcode 2

!!! died running emake, kde_src_compile:make

!!! If you need support, post the topmost build error, NOT this status message.





Expected Results:  
emerged kdegraphics

Gentoo Base System version 2.6.10
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 2800+
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr  2 2005, 22:59:15)]
dev-lang/python:     2.3.5
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-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer -funroll-loops
-fprefetch-loop-arrays -w -fforce-addr -freduce-all-givs -fmove-all-movables"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/init.d /etc/terminfo /etc/texmf/web2c
/lib/modules /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer -funroll-loops
-fprefetch-loop-arrays -w -fforce-addr -freduce-all-givs -fmove-all-movables
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox strict
userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/
http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="amd64 3dnowext X a52 aac acpi alsa apache2 apm arts artswrappersuid asm
auctex audiofile avi bash-completion berkdb bitmap-fonts blender-game bonobo
bootsplash bzip2 bzlib cddb cdr cdrom chroot clanJavaScript clanVoice codecs
crypt css cups curl dga directfb divx4linux dnd doc dpms dvd dvdr dvdread ecc
edl emul-linux encode esd examples fam ffmpeg flac fmod font-server foomaticdb
fortran ftp gcj gd gdbm gif gimpprint glep glut gphoto2 gpm gstreamer gtk gtk2
gtkhtml guile hbci icq idea imagemagick imap imlib ipv6 jabber java javadoc
javascript jce jikes jp2 jpeg kde kdepim kdexdeltas koffice-plugin libwww lzw
lzw-tiff maildir matrox memlimit mikmod mime monkey motif mozcalendar mozdevelop
mozilla mozp3p mozsvg mp3 mpeg mplayer msn ncurses netbeans nethack nptl nvidia
offensive ofx ogg oggvorbis openal opengl oss pam pam_chroot pam_console
pam_timestamp pda pdf pdflib perl perlsuid physfs pic pie png posix ppds print
python qt quicktime quotes readline rss screenshot sdl session shorten simplexml
smime source speex spell ssl subversion svg sysfs sysvipc tcltk tcpd tetex tga
theora threads tidy tiff toolbar truetype truetype-fonts type1-fonts unicode usb
userlocales vcd vim-pager vim-with-x vorbis xanim xemacs xface xine xml xml2
xmms xpm xprint xrandr xscreensaver xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-04-17 09:59:35 UTC
It's caused by -fvisibility-inlines-hidden in your CXXFLAGS.

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