Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338011 - kde-base/cantor-4.5.1 build freezes
Summary: kde-base/cantor-4.5.1 build freezes
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-19 09:03 UTC by David Kredba
Modified: 2010-11-25 19:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build.log (build.log,494.16 KB, text/plain)
2010-09-19 09:05 UTC, David Kredba
Details
maximakeywords.ii (maximakeywords.ii,273.51 KB, text/plain)
2010-09-19 09:07 UTC, David Kredba
Details
Maximakeywords.ii from cantor-4.5.2 (maximakeywords.ii,273.51 KB, text/plain)
2010-10-09 10:03 UTC, David Kredba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kredba 2010-09-19 09:03:44 UTC
Compilation of kde-base/cantor-4.5.1 freezes for me in file src/backends/maxima/maximakeywords.cpp. cc1plus is eating 100% CPU.
Tried with -R -ps -handbook, with -debug, -j1. No difference.
Asked gcc to save-temps.

Strange is that on another machine it built fine.

[ebuild   R   ] sci-mathematics/maxima-5.22.1  USE="X clisp latex nls tk unicode -clozurecl (-cmucl) -ecls -emacs (-gcl) -sbcl -xemacs" LINGUAS="-es -pt -pt_BR"
[ebuild   R   ] sci-mathematics/wxmaxima-0.8.4  USE="unicode"
on both machines.

Reproducible: Always

Steps to Reproduce:
1.Upgrade to kde-base/kde-meta-4.5.1
2.See the freeze when kde-base/cantor-4.5.1 is merged
3.

Actual Results:  
Freezes in src/backends/maxima/maximakeywords.cpp file, .ii file generated, .s file zero length, cc1plus using 100% CPU. 

Expected Results:  
Builds fine.

emerge --info
Portage 2.1.9.7 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.1, glibc-2.12.1-r1, 2.6.35-gentoo-r7-1d x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-r7-1d-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 18 Sep 2010 10:30:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.4_p6-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.5.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -save-temps"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=core2 -save-temps"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe -march=core2"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ ftp://gentoo.mirror.web4u.cz/ "
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="echo"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo caps cdr cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr emboss encode examples exif extras fam firefox flac fontconfig fontforge fortran gdbm gif gmp gpm gtk hal iconv idn ithreads java jpeg jpeg2k kde kerberos lcms ldap libedit libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly objc objc++ objc-gc odbc ogg openexr opengl openmp pam pango pch pcre pdf perl png ppds pppd python qt3support qt4 readline reflection samba sdl semantic-desktop session slang spell sqlite sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcl tcpd threads tiff tk truetype unicode usb utils video vorbis x264 xattr xcb xinerama xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" LIRC_DEVICES="inputlirc" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 David Kredba 2010-09-19 09:05:24 UTC
Created attachment 247968 [details]
Build.log
Comment 2 David Kredba 2010-09-19 09:07:21 UTC
Created attachment 247969 [details]
maximakeywords.ii
Comment 3 David Kredba 2010-10-06 16:41:24 UTC
It happends on all my machines for cantor-4.5.2 too now.
Comment 4 David Kredba 2010-10-09 10:03:21 UTC
Created attachment 249999 [details]
Maximakeywords.ii from cantor-4.5.2
Comment 5 David Kredba 2010-10-09 10:22:54 UTC
Can it be graphite problem?

sys-devel/gcc-4.5.1  USE="fortran gcj graphite gtk mudflap (multilib) nls nptl objc objc++ objc-gc openmp (-altivec) -bootstrap -build -doc (-fixed-point) (-hardened) (-libffi) -lto -multislot (-n32) (-n64) -nocxx -nopie -nossp -test -vanilla"
Comment 6 David Kredba 2010-10-09 10:34:41 UTC
No code change between 4.5.1 and 4.5.2:

diff maximakeywords452.ii maximakeywords451.ii 
1c1
< # 1 "/var/tmp/portage/kde-base/cantor-4.5.2/work/cantor-4.5.2/cantor/src/backends/maxima/maximakeywords.cpp"
---
> # 1 "/var/tmp/portage/kde-base/cantor-4.5.1/work/cantor-4.5.1/cantor/src/backends/maxima/maximakeywords.cpp"
4,7c4,7
< # 1 "/var/tmp/portage/kde-base/cantor-4.5.2/work/cantor-4.5.2/cantor/src/backends/maxima/maximakeywords.cpp"
< # 21 "/var/tmp/portage/kde-base/cantor-4.5.2/work/cantor-4.5.2/cantor/src/backends/maxima/maximakeywords.cpp"
< # 1 "/var/tmp/portage/kde-base/cantor-4.5.2/work/cantor-4.5.2/cantor/src/backends/maxima/maximakeywords.h" 1
< # 24 "/var/tmp/portage/kde-base/cantor-4.5.2/work/cantor-4.5.2/cantor/src/backends/maxima/maximakeywords.h"
---
> # 1 "/var/tmp/portage/kde-base/cantor-4.5.1/work/cantor-4.5.1/cantor/src/backends/maxima/maximakeywords.cpp"
> # 21 "/var/tmp/portage/kde-base/cantor-4.5.1/work/cantor-4.5.1/cantor/src/backends/maxima/maximakeywords.cpp"
> # 1 "/var/tmp/portage/kde-base/cantor-4.5.1/work/cantor-4.5.1/cantor/src/backends/maxima/maximakeywords.h" 1
> # 24 "/var/tmp/portage/kde-base/cantor-4.5.1/work/cantor-4.5.1/cantor/src/backends/maxima/maximakeywords.h"
7904c7904
< # 25 "/var/tmp/portage/kde-base/cantor-4.5.2/work/cantor-4.5.2/cantor/src/backends/maxima/maximakeywords.h" 2
---
> # 25 "/var/tmp/portage/kde-base/cantor-4.5.1/work/cantor-4.5.1/cantor/src/backends/maxima/maximakeywords.h" 2
7916c7916
< # 22 "/var/tmp/portage/kde-base/cantor-4.5.2/work/cantor-4.5.2/cantor/src/backends/maxima/maximakeywords.cpp" 2
---
> # 22 "/var/tmp/portage/kde-base/cantor-4.5.1/work/cantor-4.5.1/cantor/src/backends/maxima/maximakeywords.cpp" 2
Comment 7 David Kredba 2010-10-09 10:43:27 UTC
With CXXFLAGS and CFLAGS set to -ggdb -pipe -march=core2
and MAKEOPTS=-ji USE=debug it freezes the same way:

[ 32%] Built target cantorpart                                                                                                          
Scanning dependencies of target cantor_nullbackend_automoc
Generating nullbackend.moc                                                                                                              
Generating nullexpression.moc                                                                                                           
Generating nullsession.moc                                                                                                              
[ 32%] Built target cantor_nullbackend_automoc                                                                                          
Scanning dependencies of target cantor_nullbackend
[ 33%] Building CXX object cantor/src/backends/null/CMakeFiles/cantor_nullbackend.dir/cantor_nullbackend_automoc.o                      
[ 34%] Building CXX object cantor/src/backends/null/CMakeFiles/cantor_nullbackend.dir/nullbackend.o                                     
[ 35%] Building CXX object cantor/src/backends/null/CMakeFiles/cantor_nullbackend.dir/nullsession.o                                     
[ 36%] Building CXX object cantor/src/backends/null/CMakeFiles/cantor_nullbackend.dir/nullexpression.o                                  
[ 37%] Building CXX object cantor/src/backends/null/CMakeFiles/cantor_nullbackend.dir/nullcompletionobject.o                            
Linking CXX shared module ../../../../lib/cantor_nullbackend.so                                                                         
[ 37%] Built target cantor_nullbackend                                                                                                  
Scanning dependencies of target cantor_maximabackend_automoc
Generating maximabackend.moc                                                                                                            
Generating maximasession.moc                                                                                                            
Generating maximaexpression.moc                                                                                                         
Generating moc_maximasyntaxhelpobject.cpp                                                                                               
[ 37%] Built target cantor_maximabackend_automoc                                                                                        
[ 37%] Generating ui_settings.h
[ 38%] Generating settings.h, settings.cpp                                                                                              
Scanning dependencies of target cantor_maximabackend                                                                                    
[ 39%] Building CXX object cantor/src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/cantor_maximabackend_automoc.o                
[ 40%] Building CXX object cantor/src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/maximabackend.o                               
[ 41%] Building CXX object cantor/src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/maximasession.o                               
[ 42%] Building CXX object cantor/src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/maximaexpression.o                            
[ 42%] Building CXX object cantor/src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/maximaextensions.o                            
[ 43%] Building CXX object cantor/src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/maximahighlighter.o                           
[ 44%] Building CXX object cantor/src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/maximakeywords.o

Comment 8 David Kredba 2010-10-10 14:21:56 UTC
Gcc builded with USE=-graphite fails the same way.
Comment 9 David Kredba 2010-10-13 15:20:51 UTC
Please kindly close this my report.

After todays updates in portage it builds fine.

[ebuild     U ] dev-libs/nspr-4.8.6-r1 [4.8.6] USE="-debug" 0 kB
[ebuild     U ] media-libs/lv2core-4.0 [3.0] 127 kB
[ebuild     U ] dev-util/strace-4.5.20-r1 [4.5.20] USE="alsa%* -aio -static" 0 kB
[ebuild     U ] sys-apps/man-pages-3.28 [3.27] USE="nls" LINGUAS="cs -da -de -fr -it -ja -nl -pl -ro -ru -zh_CN" 1,101 kB
[ebuild     U ] sci-astronomy/xephem-3.7.4-r1 [3.7.4] 0 kB
[ebuild     U ] dev-libs/dbus-glib-0.88 [0.86] USE="-bash-completion -debug -doc -static-libs% -test" 673 kB
[ebuild     U ] sys-fs/udev-163 [162] USE="extras (-selinux) -test" 544 kB
[ebuild     U ] media-libs/libsndfile-1.0.23 [1.0.22] USE="alsa sqlite -minimal" 1,013 kB
[ebuild     U ] dev-java/sun-jre-bin-1.6.0.22 [1.6.0.21] USE="X alsa nsplugin odbc -jce" 81,887 kB
[ebuild     U ] dev-java/sun-jdk-1.6.0.22 [1.6.0.21] USE="X alsa odbc -derby -doc -examples -jce -nsplugin" 0 kB
[ebuild     U ] dev-lang/python-2.6.6-r1 [2.6.5-r3] USE="berkdb gdbm ncurses readline sqlite ssl threads tk (wide-unicode) xml -build -doc -examples -ipv6 -wininst" 10,837 kB                                                                                                  
[ebuild   R   ] net-libs/xulrunner-1.9.2.9-r1  USE="alsa dbus ipc java libnotify -custom-optimization -debug -gnome -startup-notification -system-sqlite -wifi (-cups%*)" 0 kB                                                                                                  
[ebuild     U ] net-libs/webkit-gtk-1.2.5 [1.2.3] USE="gstreamer -coverage -debug -doc (-introspection) -test" 6,571 kB
[ebuild   R   ] www-client/firefox-3.6.9-r1  USE="alsa bindist dbus ipc java libnotify -custom-optimization -gnome -startup-notification -system-sqlite -wifi (-cups%*)" LINGUAS="cs en -af -ar -as -be -bg -bn -bn_BD -bn_IN -ca -cy -da -de -el -en_GB -en_US -eo -es -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy -fy_NL -ga -ga_IE -gl -gu -gu_IN -he -hi -hi_IN -hr -hu -id -is -it -ja -ka -kk -kn -ko -ku -lt -lv -mk -ml -mr -nb -nb_NO -nl -nn -nn_NO -oc -or -pa -pa_IN -pl -pt -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -sq -sr -sv -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW" 0 kB                                                                                            
[ebuild     U ] x11-libs/vdpau-video-0.7.2 [0.6.10] USE="opengl -debug" 391 kB
[ebuild     U ] kde-base/cantor-4.5.2 [4.5.1] USE="R handbook ps (-aqua) -debug (-kdeenablefinal) (-kdeprefix)" 0 kB
[ebuild     U ] kde-base/kdeedu-meta-4.5.2 [4.5.1] USE="(-aqua) (-kdeprefix)" 0 kB
[ebuild     U ] kde-base/kde-meta-4.5.2 [4.5.1] USE="accessibility nls sdk semantic-desktop (-aqua) (-kdeprefix)" 0 kB
[ebuild     U ] app-emulation/emul-linux-x86-java-1.6.0.22 [1.6.0.21] USE="X alsa -nsplugin" 81,859 kB