Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199789 - gcc memory leak during compilation of kmail
Summary: gcc memory leak during compilation of kmail
Status: RESOLVED DUPLICATE of bug 154455
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-20 15:35 UTC by Pawel Sedrowski
Modified: 2007-12-25 13:02 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 Pawel Sedrowski 2007-11-20 15:35:44 UTC
While compiling kmail gcc needs about 1,5 GB of memory - I've got only 1 GB of RAM so you can imagine the swap usage and computer responsiveness... I think this problem is connected with the kmail source code, because I did not observe anything similar with other applications I emerge. I deleted the ebuild and resynced, I also deleted and downloaded again kmail package - it didn't help.

gcc-4.1.2
kmail-3.5.7-r2

It reaches 1,5 GB when I see:
...
Making all in backends
Making all in chiasmus
Making all in kpgp
Making all in qgpgme
Making all in kleo
Making all in pics
Making all in tests
Making all in ui
Making all in libkdepim
Making all in about
Making all in cfgc
Making all in icons
Making all in interfaces
Making all in komposer
Making all in core
Making all in tests
Making all in plugins
Making all in default
Making all in test
Making all in kpartsdesignerplugin
Making all in pics
Making all in tests
Making all in libkpimidentities
Making all in korganizer
Making all in kmail
Making all in interfaces
Making all in .
creating libkmailpart_la.all_cpp.cpp ...
creating libkmailprivate_la.all_cpp.cpp ...
configuredialog.cpp: In constructor 'ConfigureDialog::ConfigureDialog(QWidget*, const char*, bool)':
configuredialog.cpp:219: warning: '__base_ctor ' is deprecated (declared at /usr/kde/3.5/include/kcmultidialog.h:105)
kmfoldertree.cpp: In member function 'virtual void KMFolderTree::contentsDropEvent(QDropEvent*)':
kmfoldertree.cpp:1449: warning: 'keyboardModifiers' is deprecated (declared at /usr/kde/3.5/include/kapplication.h:1069)
kmfoldermbox.cpp: At global scope:
kmfoldermbox.cpp:92: warning: unused parameter 'owner'
kmfoldermbox.cpp:259: warning: unused parameter 'owner'
kmpopfiltercnfrmdlg.cpp: In constructor 'KMPopHeadersView::KMPopHeadersView(QWidget*, KMPopFilterCnfrmDlg*)':
kmpopfiltercnfrmdlg.cpp:33: warning: unused variable 'mDownIndex'
kmedit.cpp: At global scope:
kmedit.cpp:516: warning: unused parameter 'proc'

and I kill it here (can't use the computer :-/ ).

Reproducible: Always




emerge --info:
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz
Timestamp of tree: Tue, 20 Nov 2007 14:30:08 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl"
MAKEOPTS="-j3 -s"
PKGDIR="/usr/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi aiglx alsa amd64 apache2 automount bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cli config_wizard cpudetection cracklib crypt dbus dga directfb divx djvu dri dvb dvd dvdr dvdread emerald encode exif extraicons extramodules extras fbcon ffmpeg flac foomaticdb fortran gadu gdbm ggi gif glitz gmedia gnutls gpm gstreamer gtk hal hdaps history iconv ipw4965 isdnlog jabber jack java java5 javascript jpeg jpeg2k kde kdeenablefinal lcms libcaca mad midi mmx mng mozbranding mozdevelop mp3 mpeg mplayer mudflap ncurses nls no-seamonkey nptl nptlonly nsplugin ogg openal openexr opengl openmp oracle oss pam pcmcia pcre pdf perl plugins png ppds pppd python qt3 quicktime rdesktop readline realmedia reflection rtsp samba sdl server session slang smp sms sndfile sound speex spell spl sse sse2 ssl svg sword symlink tcpd tiff tordns truetype truetype-fonts type1-fonts unicode usb vcd voice vorbis wifi wma wmf wmp x264 xanim xine xml xorg xosd xscreensaver xv xvid zip" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2007-12-25 13:02:58 UTC
There's a fat EXPERIMENTAL sign attached to the kdeenablefinal use flag. Simply don't use it.

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