Summary: | kmail-3.5.2-r1 doesn't compile while using kdeenablefinal | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Piotr Jaroszyński (RETIRED) <peper> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED UPSTREAM | ||
Severity: | major | CC: | esigra, gentoo+bugs, hkbst, jkt, muczyjoe, rvoinea, thedude0001 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge info
emerge info emerge info |
Description
Piotr Jaroszyński (RETIRED)
2005-12-08 04:41:32 UTC
Created attachment 74293 [details]
emerge info
Created attachment 74294 [details]
emerge info
Created attachment 74295 [details]
emerge info
I can reproduce this: emerge info
kmail-3.5.0-r3 solved that for me. Changing status to fixed. 3.5.2-r1 has the same bug. Actually I have experienced the same problem. It happens when I get to: kmedit.cpp: At global scope: kmedit.cpp:511: warning: unused parameter 'proc' Compilation does go further, but it takes incredibly long and system performance is extremely poor due to thrashing. I have 1GB of RAM and when I get to this point it is all filled up and 1GB of swap is used. Compilation does eventually finish. My emerge info (while emerging kmail): Portage 2.1_rc1-r1 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.4-r3, 2.6.16.14 x86_64) ================================================================= System uname: 2.6.16.14 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.0_pre19 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-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -pipe -O2 -ggdb1" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon64 -pipe -O2 -ggdb1" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/ " LC_ALL="nl_NL@euro.UTF-8" LINGUAS="nl en" MAKEOPTS="-j2" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X Xaw3d a52 aac aalib acpi aim alsa apache2 apm artworkextra avi bash-completion berkdb bidi bitmap-fonts bzip2 canna cdr cjk cli crypt cups dga directfb divx4linux dri dvd dvdr eds emboss encode fbcon firefox foomaticdb fortran freewnn ftp gif ginac gnome gpm gstreamer gtk gtk2 gtkhtml guile hal hardened icq ieee1394 imlib ipv6 isdnlog jabber java javascript jpeg kde kdeenablefinal libcaca libwww lzw lzw-tiff mad mozilla mp3 mpeg mplayer msn mule ncurses nls nptl nptlonly offensive ogg opengl oscar pam pcre pdflib perl php png pppd python qt quicktime readline reflection sasl sdl session speex spell spl ssl svg tcpd theora tidy tiff truetype-fonts type1-fonts unicode usb v4l vcd videos vorbis wmf xine xmms xorg xpm xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_nl linguas_en userland_GNU video_cards_ati video_cards_fbdev video_cards_vesa" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY I just experienced the same with kmail-3.5.4 The following command consumes all available memory (from a total of 1GB ram + 512MB swap) and cpu over a period of 5 min. At that point I grow impatient and the compile is killed by me as it is dragging the system down to an unbearable slow state. /bin/sh ../libtool --silent --tag=CXX --mode=compile x86_64-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 -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 -march=athlon64 -mtune=athlon64 -O2 -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 libkmailpart_la.all_cpp.lo libkmailpart_la.all_cpp.cpp $ emerge --info Portage 2.1.1_pre4-r1 (default-linux/amd64/2005.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo x86_64) ================================================================= System uname: 2.6.17-gentoo x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.4 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.UTF-8" LINGUAS="en nl" MAKEOPTS="-j2" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/etc/portage/overlay" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 X alsa avi bash-completion berkdb bitmap-fonts bzip2 cjk cli crypt dlloader dvdr dvdread eds emboss flac foomaticdb fortran gif gpm gstreamer gtk gtk2 hal imlib isdnlog jpeg kde kdeenablefinal kdehiddenvisibility lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl pic png pppd python qt qt3 qt4 quicktime readline reflection sdl session spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis xcomposite xml xml2 xorg xpm xv zlib elibc_glibc input_devices_evdev input_devices_keyboard kernel_linux linguas_en linguas_nl userland_GNU video_cards_nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS *bump* I ran into this when I first tested kmail months ago, forgot about it, then again ran into this as I had to reinstall Gentoo... Can we please drop kdeenablefinal from kmail as it uses an unreasonable ammount of memory during compilation when enabled? *** Bug 146537 has been marked as a duplicate of this bug. *** kdeenablefinal - Makes kde ebuilds use the enable-final flag, yielding big compilation speedups at the cost of very heavy mem usage Re-read: "at the cost of very heavy mem usage" Re-read: "very heavy mem usage" If KMail requires about 3GiB of RAM it's not our fault, tell that to GCC or KDE upstreams, and don't use kdeenablefinal if you don't want to use such a great quantity of RAM. *** Bug 149032 has been marked as a duplicate of this bug. *** *** Bug 158717 has been marked as a duplicate of this bug. *** |