Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106755 - digikam won't compile on gcc-3.3.6
Summary: digikam won't compile on gcc-3.3.6
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-20 23:29 UTC by mikael lammentausta
Modified: 2005-09-21 03:23 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 mikael lammentausta 2005-09-20 23:29:30 UTC
It might be just my system (probably) but digikam-0.7.4 fails to compile with
gc-3.3.6 but compiles with 3.4.4. I have both of the compilers installed side by
side, and I switch them with gcc-config. 

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

Actual Results:  
void*, unsigned)'
.libs/digikamtags.o(.text+0xa38): In function
`kio_digikamtagsProtocol::~kio_digikamtagsProtocol [in-charge deleting]()':
: undefined reference to `std::__default_alloc_template<(bool)1,
(int)0>::deallocate(void*, unsigned)'
.libs/digikamtags.o(.gnu.linkonce.t._ZNSt10_List_baseI7QStringSaIS0_EE7__clearEv+0x57):
In function `std::_List_base<QString, std::allocator<QString> >::__clear()':
: undefined reference to `std::__default_alloc_template<(bool)1,
(int)0>::deallocate(void*, unsigned)'
.libs/digikamtags.o(.gnu.linkonce.t._ZNSt4listI7QStringSaIS0_EE4sortEv+0x41): In
function `std::list<QString, std::allocator<QString> >::sort()':
: undefined reference to `std::__default_alloc_template<(bool)1,
(int)0>::allocate(unsigned)'
.libs/digikamtags.o(.gnu.linkonce.t._ZNSt4listI7QStringSaIS0_EE4sortEv+0x6c): In
function `std::list<QString, std::allocator<QString> >::sort()':
: undefined reference to `std::__default_alloc_template<(bool)1,
(int)0>::allocate(unsigned)'
.libs/digikamtags.o(.gnu.linkonce.t._ZNSt4listI7QStringSaIS0_EE4sortEv+0x263):
In function `std::list<QString, std::allocator<QString> >::sort()':
: undefined reference to `std::__default_alloc_template<(bool)1,
(int)0>::deallocate(void*, unsigned)'
.libs/digikamtags.o(.gnu.linkonce.t._ZNSt4listI7QStringSaIS0_EE4sortEv+0x288):
In function `std::list<QString, std::allocator<QString> >::sort()':
: undefined reference to `std::__default_alloc_template<(bool)1,
(int)0>::deallocate(void*, unsigned)'
.libs/digikamtags.o(.gnu.linkonce.t._ZNSt4listI7QStringSaIS0_EE6insertESt14_List_iteratorIS0_RS0_PS0_ERKS0_+0x2e):
In function `std::list<QString, std::allocator<QString>
>::insert(std::_List_iterator<QString, QString&, QString*>, QString const&)':
: undefined reference to `std::__default_alloc_template<(bool)1,
(int)0>::allocate(unsigned)'
collect2: ld returned 1 exit status
make[3]: *** [kio_digikamtags.la] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/digikam-0.7.4/work/digikam-0.7.4/digikam/kioslave'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/digikam-0.7.4/work/digikam-0.7.4/digikam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/digikam-0.7.4/work/digikam-0.7.4'
make: *** [all] Error 2



Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1,
2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-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/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo"
LINGUAS="fi en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/gentoo-de"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi alsa arts asm avi bash-completion bitmap-fonts bzlib cdr
crypt cups curl directfb divx4linux dvb dvd dvdr emboss encode fam fbcon ffmpeg
flac font-server foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2 hal
imagemagick imlib imlib2 jack jikes jpeg kde kdeenablefinal libcaca libg++
libwww lirc mad mikmod mmx motif mp3 mpeg mysql nas ncurses nls nptl nvidia ogg
oggvorbis opengl pam pdflib perl png python qt readline scanner sdl slang slp
spell sse sse2 ssl svga tcpd theora tiff truetype truetype-fonts type1-fonts usb
v4l vorbis win32codecs xine xml2 xmms xv xvid xvmc zlib linguas_fi linguas_en
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-21 03:23:53 UTC
Sorry, but switching arbitrarily between incompatible gcc versions is a bad
idea. This is bound to fail if dependencies have been already compiled w/ the
other version. Don't do this.