Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8006 - kdeedu compile fails with segmentation fault
Summary: kdeedu compile fails with segmentation fault
Status: RESOLVED INVALID
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: 2002-09-16 18:41 UTC by Kurt Lieber
Modified: 2003-02-04 19:42 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 Kurt Lieber 2002-09-16 18:41:13 UTC
Athlon XP 1800+ with 512MB RAM running Gentoo 1.4rc1 with the following CFLAGS:

CFLAGS="-march=athlon-xp -O2 -pipe"

kdeedu emerge fails with the following:
[snip]
In file included from /usr/include/g++-v32/backward/iostream.h:31,
                 from langset.cpp:44,
                 from libkvoctraincore_la.all_cpp.cpp:2:
/usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This 
file includes at least one deprecated or antiquated header. Please consider 
using one of the 32 headers found in section 17.4.1.2 of the C++ standard. 
Examples include substituting the <X> header for the <X.h> header for C++ 
includes, or <sstream> instead of the deprecated header <strstream.h>. To 
disable this warning use -Wno-deprecated.
In file included from libkvoctraincore_la.all_cpp.cpp:5:
kvoctraindoc.cpp: In member function `int kvoctrainDoc::cleanUp()':
kvoctraindoc.cpp:1117: warning: passing `double' for argument 2 of `void
   kvoctrainDoc::progressChanged(kvoctrainDoc*, int)'
kvoctraindoc.cpp:1142: warning: passing `double' for argument 2 of `void
   kvoctrainDoc::progressChanged(kvoctrainDoc*, int)'
In file included from libkvoctraincore_la.all_cpp.cpp:7:
kvd_rb_kvtml1.cpp: In member function `bool
   kvoctrainDoc::parseBody_kvtml(XmlElement, XmlReader&)':
kvd_rb_kvtml1.cpp:844: warning: passing `float' for argument 2 of `void
   kvoctrainDoc::progressChanged(kvoctrainDoc*, int)'
In file included from libkvoctraincore_la.all_cpp.cpp:8:
kvd_rb_kvtml2.cpp: In member function `bool
   kvoctrainDoc::parseBody_e(XmlElement, XmlReader&)':
kvd_rb_kvtml2.cpp:505: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[5]: *** [libkvoctraincore_la.all_cpp.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/kdeedu-3.0.3/work/kdeedu-
3.0.3/kvoctrain/kvoctrain/kvt-core'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdeedu-3.0.3/work/kdeedu-
3.0.3/kvoctrain/kvoctrain/kvt-core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdeedu-3.0.3/work/kdeedu-
3.0.3/kvoctrain/kvoctrain'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdeedu-3.0.3/work/kdeedu-
3.0.3/kvoctrain'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdeedu-3.0.3/work/kdeedu-3.0.3'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line -6658, Exitcode 2
!!! died running emake, kde_src_compile:make
m3 root #
---------------------------------------------------------------------------
I don't believe this is a hardware problem for the following reasons:

* I have tried emerging kdeedu several times.  The ebuild always fails in the 
exact same spot, even after a fresh reboot of the computer.  
* I can emerge KDE 3.0.3 just fine on a 1.2/gcc 2.9x system on this machine.
* Memtest86 gives the RAM a clean bill of health.

--kurt
Comment 1 Hannes Mehnert (RETIRED) gentoo-dev 2002-10-15 09:15:56 UTC
please try kde-3.0.4, it might be fixed there. 
Comment 2 Hannes Mehnert (RETIRED) gentoo-dev 2002-11-05 06:09:59 UTC
this also looks like an upgrade from gcc-2.95.3 to gcc-3.2 problem, did you started 
with gcc-3.2 from scratch? 
If you updated your gcc, please take a look at 
http://bugs.gentoo.org/show_bugs.cgi?id=9599, which was   
also an gcc-upgrade problem, but is fixed.   
The fix is:   
I removed all /var/tmp/portage/gcc-3.1* and I renamed all  
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1* and  
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95*.  
  
Maybe this fixes also your problem.  
Comment 3 Hannes Mehnert (RETIRED) gentoo-dev 2002-11-15 10:50:58 UTC
any progress/news here? 
Comment 4 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-22 21:06:14 UTC
please post any progress here. is this still an issue? 
Comment 5 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-06 03:25:29 UTC
was probably a hardware issue, klieber told me in irc that this computer no longer 
exists due hardware issues.