Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 51413

Summary: Kdelibs-3.2.2 Internal error Killed program cc1plus
Product: Gentoo Linux Reporter: Mike Almogy <mike>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED CANTFIX    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Almogy 2004-05-18 12:15:54 UTC
I'm trying to install kdelibs-3.2.2 but getting this error:

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kio/kssl -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.2/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -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 -march=i686 -O3 -pipe -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  -c -o dcopfind.o dcopfind.cpp
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:14184: Warning: partial line at end of file ignored
make[4]: *** [dcop.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/kdelibs-3.2.2/work/kdelibs-3.2.2/dcop/client'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.2.2/work/kdelibs-3.2.2/dcop'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.2/work/kdelibs-3.2.2/dcop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.2/work/kdelibs-3.2.2'
make: *** [all] Error 2
 
!!! ERROR: kde-base/kdelibs-3.2.2 failed.
!!! Function kde_src_compile, Line 129, Exitcode 2
!!! died running emake, kde_src_compile:make
 


Reproducible: Always
Steps to Reproduce:
1. emerge kdelibs


Actual Results:  
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kio/kssl -I../../dcop
-I../../libltdl -I../../kdefx -I../../kdecore -I../../kdeui -I../../kio
-I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include
-I/usr/X11R6/include -I/usr/kde/3.2/include   -DQT_THREAD_SUPPORT  -D_REENTRANT
 -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 -march=i686 -O3 -pipe
-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  -c -o dcopfind.o dcopfind.cpp
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:14184: Warning: partial line at end of file ignored
make[4]: *** [dcop.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
`/var/tmp/portage/kdelibs-3.2.2/work/kdelibs-3.2.2/dcop/client'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.2.2/work/kdelibs-3.2.2/dcop'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.2/work/kdelibs-3.2.2/dcop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.2/work/kdelibs-3.2.2'
make: *** [all] Error 2
 
!!! ERROR: kde-base/kdelibs-3.2.2 failed.
!!! Function kde_src_compile, Line 129, Exitcode 2
!!! died running emake, kde_src_compile:make
 



The system is PII 350Mhz with 256MB RAM.
The Desktop is Gnome.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-05-18 15:59:37 UTC
you didn't show your cflags but they're probably too aggressive.
Comment 2 Mike Almogy 2004-05-18 23:08:46 UTC
Oppss, sorry about that.
Anyway i'm using the default CCFLAGS, as you can see.

USE ="X alsa gnome"
                                                                                                                           CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
                                                                                                                            ACCEPT_KEYWORDS="x86"
                                                                                                                            MAKEOPTS="-j2"
PORTAGE_NICENESS=3
AUTOCLEAN="yes"
Comment 3 Werner Viehhauser 2004-05-19 12:10:46 UTC
have a similar problem here, kdelibs-3.2.2-r1 dies running emake (on a XP1800+), no change when switching distcc on/off. 

it DID, however, emereg without problems on a 2GHz Celery

AMD:   CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ffast-math"
Intel: CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math"




render_style.cpp:166: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproduceable, so it is likely a hardware or OS problem
distcc[31273] ERROR: compile on localhost failed
make[3]: *** [render_style.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
bidi.cpp: In member function `void khtml::RenderBlock::bidiReorderLine(const
   khtml::BidiIterator&, const khtml::BidiIterator&)':
bidi.cpp:1049: warning: unused variable `khtml::BidiContext*endEmbed'
bidi.cpp: In member function `khtml::InlineFlowBox*
   khtml::RenderBlock::constructLine(const khtml::BidiIterator&, const
   khtml::BidiIterator&)':
bidi.cpp:506: warning: unused parameter `const khtml::BidiIterator&start'
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.2.2-r1/work/kdelibs-3.2.2/khtml/rendering'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.2-r1/work/kdelibs-3.2.2/khtml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.2-r1/work/kdelibs-3.2.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.2.2-r1 failed.
!!! Function kde_src_compile, Line 129, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 4 Werner Viehhauser 2004-05-28 02:29:33 UTC
try running ldconfig, did solve it for me
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2004-07-02 06:50:01 UTC
I can't do anything about local compilation issues.