Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146537 - kmail won't build (allocates memory like crazy)
Summary: kmail won't build (allocates memory like crazy)
Status: RESOLVED DUPLICATE of bug 114860
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: 2006-09-06 05:01 UTC by Robert Voinea
Modified: 2006-09-06 05:09 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 Robert Voinea 2006-09-06 05:01:20 UTC
I have a problem building kmail-3.5.4
It stops at a point in build and allocates memory like crazy.
After about 3 hours there was no advance...

At the time of the building there was nothing running on the machine... except for "emerge kmail"
This started to happen after I upgraded gcc from 3.3 to 4.1
The process that eats that amount of memory(~600MB) is cc1plus... so I would suspect a gcc problem... 

Everything else has been built just fine.
System AMD Athlon 1G/256M Swap 1G

<snip>

/usr/qt/3/bin/moc ./folderjob.h -o folderjob.moc
/usr/qt/3/bin/moc ./signatureconfigurator.h -o signatureconfigurator.moc
/usr/qt/3/bin/moc ./folderrequester.h -o folderrequester.moc
/usr/qt/3/bin/moc ./identitylistview.h -o identitylistview.moc
/usr/qt/3/bin/moc ./listjob.h -o listjob.moc
creating libkmailprivate_la.all_cpp.cpp ...
/bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkdepim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib -I../certmanager/lib -I../certmanager/lib/ui -I../indexlib -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-tbird -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o libkmailprivate_la.all_cpp.lo `test -f 'libkmailprivate_la.all_cpp.cpp' || echo './'`libkmailprivate_la.all_cpp.cpp
configuredialog.cpp: In constructor 'ConfigureDialog::ConfigureDialog(QWidget*, const char*, bool)':
configuredialog.cpp:216: warning: '__base_ctor ' is deprecated (declared at /usr/kde/3.5/include/kcmultidialog.h:105)
index.cpp: At global scope:
index.cpp:484: warning: unused parameter 'folder'
index.cpp:495: warning: unused parameter 'folder'
kmfoldertree.cpp: In member function 'virtual void KMFolderTree::contentsDropEvent(QDropEvent*)':
kmfoldertree.cpp:1383: warning: 'keyboardModifiers' is deprecated (declared at /usr/kde/3.5/include/kapplication.h:1069)
kmpopfiltercnfrmdlg.cpp: In constructor 'KMPopHeadersView::KMPopHeadersView(QWidget*, KMPopFilterCnfrmDlg*)':
kmpopfiltercnfrmdlg.cpp:33: warning: unused variable 'mDownIndex'
kmedit.cpp: At global scope:
kmedit.cpp:511: warning: unused parameter 'proc'

!!!!= RIGHT HERE IT STARTS ALLOCATING MEMORY LIKE CRAZY ~~600MB!!! 
<CTRL+C>

make[3]: *** [libkmailprivate_la.all_cpp.lo] Error 1
make[2]: *** [all-recursive] Interrupt
make[1]: *** [all-recursive] Interrupt
make: *** [all] Interrupt


Exiting on signal 2

/home/portage/tree/kde-base/kmail/kmail-3.5.4-r1.ebuild: src_compile aborted; exiting.


emerge --info 

Portage 2.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.18-rc5-1 i686)
=================================================================
System uname: 2.6.18-rc5-1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-tbird -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-tbird -fomit-frame-pointer -pipe"
DISTDIR="/home/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.iasi.roedu.net/mirrors/gentoo.org/           http://ftp.snt.utwente.nl/pub/os/linux/gentoo      http://194.83.57.11/sites/www.ibiblio.org/gentoo/                http://212.219.247.11/sites/www.ibiblio.org/gentoo/"
PKGDIR="/home/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/home/portage/tree"
PORTDIR_OVERLAY="/home/portage/custom"
SYNC="rsync://ftp.roedu.net/gentoo-portage"
USE="x86 3dnow 3dnowext X aac acl acpi aim alsa apache2 arts bcmath berkdb bitmap-fonts bzip2 bzlib caps cdparanoia cli clibpdf contactnotes crypt cscope ctype cups curl curlwrappers dba dbm dbx dga dio divx4linux dlloader dri dvd dvdread encode exif expat fftw flac flash foomaticcdb fortran ftp gd gdbm geoip gif gnutls history icq idn imap imlib innodb ipv6 irc isdnlog jabber javascript jpeg kde kdeenablefinal latex ldap lirc lm_sensors logrotate mad maildir memlimit mhash mime mmap mmx mmxext mng mp3 mpeg msn musicbrainz mysql mysqli nagios-dns ncurses nls nocd nptl nptlonly offensive ogg opengl pam pcntl pcre perl php pic plotutils png posix postgres ppds pppd python qt3 quicktime readline reflection samba sasl session sharedmem slp smime sockets softmmu spell spl sql ssl subversion svg sysvipc szip tcpd tetex tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb v4l2 vhosts vorbis win32codecs wmf xcomposite xml xmms xnns xorg xosd xpm xscreensaver xsl xv xvid yahoo zip zlib elibc_glibc input_devices_-* input_devices_keyboard input_devices_mouse kernel_linux lirc_devices_kworld userland_GNU video_cards_-* video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Robert Voinea 2006-09-06 05:09:20 UTC

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