Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99109 - kdelibs-3.4.1-r2 fails to link kimg_pcx.la
Summary: kdelibs-3.4.1-r2 fails to link kimg_pcx.la
Status: RESOLVED DUPLICATE of bug 69475
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-15 07:14 UTC by Stephen Torri
Modified: 2006-02-27 07:32 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 Stephen Torri 2005-07-15 07:14:26 UTC
When emerging kdelibs-3.4.1-r2 the build process fails when attempting to link
kimg_pcx.la. There are a series of linking errors in kimgio_ico_read and
std::vector.

Reproducible: Always
Steps to Reproduce:
1. emerge -auDv world
2.
3.

Actual Results:  
/bin/sh ../libtool --silent --mode=link --tag=CXX i686-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 -O2 -march=pentium4
-pipe -fno-rename-registers -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 -fexceptions 
 -o kimg_pcx.la -rpath /usr/kde/3.4/lib/kde3 -module -avoid-version
-export-symbols-regex 'kimgio_.*_(read|write)' -no-undefined -Wl,--no-undefined
-Wl,--allow-shlib-undefined -L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/usr/lib   
pcx.lo -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread
../kdecore/libkdecore.la
.libs/ico.o(.text+0xacd): In function `kimgio_ico_read':
: undefined reference to `std::__default_alloc_template<(bool)1,
(int)0>::deallocate(void*, unsigned)'
.libs/ico.o(.text+0x168a): In function `kimgio_ico_read':
: undefined reference to `std::__default_alloc_template<(bool)1,
(int)0>::deallocate(void*, unsigned)'
.libs/ico.o(.gnu.linkonce.t._ZNSt6vectorIN24_GLOBAL__N_ico.cppLVMmbb7IconRecESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_+0x1b6):
In function `std::vector<(anonymous namespace)::IconRec,
std::allocator<(anonymous namespace)::IconRec>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<(anonymous namespace)::IconRec*,
std::vector<(anonymous namespace)::IconRec, std::allocator<(anonymous
namespace)::IconRec> > >, (anonymous namespace)::IconRec const&)':
: undefined reference to `std::__default_alloc_template<(bool)1,
(int)0>::deallocate(void*, unsigned)'
.libs/ico.o(.gnu.linkonce.t._ZNSt6vectorIN24_GLOBAL__N_ico.cppLVMmbb7IconRecESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_+0x1c6):
In function `std::vector<(anonymous namespace)::IconRec,
std::allocator<(anonymous namespace)::IconRec>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<(anonymous namespace)::IconRec*,
std::vector<(anonymous namespace)::IconRec, std::allocator<(anonymous
namespace)::IconRec> > >, (anonymous namespace)::IconRec const&)':
: undefined reference to `std::__default_alloc_template<(bool)1,
(int)0>::allocate(unsigned)'
.libs/ico.o(.gnu.linkonce.t._ZNSt6vectorIN24_GLOBAL__N_ico.cppLVMmbb7IconRecESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_+0x20e):
In function `std::vector<(anonymous namespace)::IconRec,
std::allocator<(anonymous namespace)::IconRec>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<(anonymous namespace)::IconRec*,
std::vector<(anonymous namespace)::IconRec, std::allocator<(anonymous
namespace)::IconRec> > >, (anonymous namespace)::IconRec const&)':
: undefined reference to `std::__default_alloc_template<(bool)1,
(int)0>::deallocate(void*, unsigned)'
collect2: ld returned 1 exit status
make[2]: *** [kimg_ico.la] Error 1
make[2]: *** Waiting for unfinished jobs....


Expected Results:  
Compiled and installed

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.6,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.12
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
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.5
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 -fno-rename-registers"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fno-rename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts bonobo cdr crypt cups curl eds
emboss encode esd fam foomaticdb fortran gd gdbm gif gnome gpm gtk gtk2 gtkhtml
guile imagemagick imlib ipv6 jack java jpeg junit kde kdeenablefinal kdexdeltas
libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl
oss pam pdflib perl pic plotutils png postgres python qt quicktime readline sdl
speex spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts
vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2005-07-15 08:23:03 UTC
If you do a bugzilla query for "std::__default_alloc_template" you'll see that 
other people have run into similiar problems for other packages.  It seems like 
rebuilding various toolchain programs helped. 
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2006-02-27 07:32:37 UTC
Setting as as dup of 69475.  These are just sporadic, and seem to fix themselves after some re-emerges.

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