Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42249 - KDevelop fails to compile
Summary: KDevelop fails to compile
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on: 42856
Blocks:
  Show dependency tree
 
Reported: 2004-02-20 07:03 UTC by Alexey Parshin
Modified: 2004-04-26 18:09 UTC (History)
1 user (show)

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 Alexey Parshin 2004-02-20 07:03:37 UTC
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/interfaces -I../../lib/compat -I../../lib/util -I../../lib/catalog -I../../lib/cppparser -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT -DAST_DEBUG -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-mp -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 cppsupport_utils.lo `test -f 'cppsupport_utils.cpp' || echo './'`cppsupport_utils.cpp
In file included from cppsupportpart.h:23,
                 from cppcodecompletion.h:23,
                 from codeinformationrepository.h:16,
                 from codeinformationrepository.cpp:12:
/usr/qt/3/include/qguardedptr.h:47: 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
make[4]: *** [codeinformationrepository.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/kdevelop-3.0.1/work/kdevelop-3.0.1/languages/cpp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.0.1/work/kdevelop-3.0.1/languages/cpp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.0.1/work/kdevelop-3.0.1/languages'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0.1/work/kdevelop-3.0.1'make: *** [all] Error 2
 
!!! ERROR: dev-util/kdevelop-3.0.1 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-02-20 12:59:04 UTC
take the -mcpu=athlon-mp out of your cflags, change to -O2, and retry.
Comment 2 Justin Findlay 2004-02-20 13:43:38 UTC
Aha, I was getting simmilar (compiler|assembler) errors during the build of this very package, which just now has been built and emerged, so really entropic non-reproducible stuff that the build tools encountered randomly.  Fascinating.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2004-02-28 05:38:55 UTC
Yep - usually due to internal bugs in gcc.  KDE programs are some of the most resource intensive ones to compile, hence gcc bugs manifest themselves here.
Comment 4 Doug Lacy 2004-04-20 17:46:02 UTC
I also had problems with "Segmentation faults" ... I believe my problem is likely memory errors. In testing with "memtest86", I found that BOTH 256Mb memory cards had single bit errors. I plan to buy ECC memory for my next system.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2004-04-26 18:09:26 UTC
try a more recent gcc/glibc, and a newer kdevelop.  can't do anything about internal compiler errors from this end, however.