Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462550 - [4.6/ICE] sys-devel/gcc-4.6.3 Segmentation fault (program cc1plus) compiling kde-base/rocs-4.10.1 on ppc64
Summary: [4.6/ICE] sys-devel/gcc-4.6.3 Segmentation fault (program cc1plus) compiling ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-21 02:17 UTC by Jack Morgan (RETIRED)
Modified: 2014-08-10 22:45 UTC (History)
2 users (show)

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


Attachments
emerge-info.log (emerge-info.log,3.78 KB, text/plain)
2013-03-21 02:17 UTC, Jack Morgan (RETIRED)
Details
build logs (rocs-4.10.1:20130320-050915.log,408.64 KB, text/plain)
2013-03-21 02:18 UTC, Jack Morgan (RETIRED)
Details
CMakeCCompilerId.i file (CMakeCCompilerId.i,1.44 KB, text/plain)
2013-03-24 20:26 UTC, Jack Morgan (RETIRED)
Details
updated build logs (rocs-4.10.1:20130324-201249.log,668.21 KB, text/plain)
2013-03-24 20:28 UTC, Jack Morgan (RETIRED)
Details
save-temps output (bug462550.i.xz,452.62 KB, application/x-xz)
2013-03-28 11:10 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Morgan (RETIRED) gentoo-dev 2013-03-21 02:17:27 UTC
Created attachment 342810 [details]
emerge-info.log

/usr/include/boost-1_49/boost/iostreams/detail/resolve.hpp:70:1: warning: "BOOST_IOSTREAMS_GCC_WORKAROUND_GUARD" is not defined [-Wundef]
powerpc64-unknown-linux-gnu-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[2]: *** [RocsCore/LoadSave/Plugins/dotFileFormat/CMakeFiles/rocs_dotfileformat.dir/DotGrammar.cpp.o] Error 4
make[2]: Leaving directory `/var/tmp/portage/kde-base/rocs-4.10.1/work/rocs-4.10.1_build'
make[1]: *** [RocsCore/LoadSave/Plugins/dotFileFormat/CMakeFiles/rocs_dotfileformat.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/kde-base/rocs-4.10.1/work/rocs-4.10.1_build'
make: *** [all] Error 2
 * ERROR: kde-base/rocs-4.10.1 failed (compile phase):
Comment 1 Jack Morgan (RETIRED) gentoo-dev 2013-03-21 02:18:03 UTC
Created attachment 342812 [details]
build logs
Comment 2 Jack Morgan (RETIRED) gentoo-dev 2013-03-21 02:18:39 UTC
adding ppc64 arch
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2013-03-22 18:30:55 UTC
Either this is a bug in gcc or you are running out of memory somewhere. 

See http://gcc.gnu.org/bugs/ on how to report this bug to gcc upstream, 

or see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49351#c7 (different issue) as an example for figuring out if this is a memory problem.
Comment 4 Jack Morgan (RETIRED) gentoo-dev 2013-03-24 20:26:07 UTC
Updated =dev-qt/qtcore-4.8.4-r4 which didn't resolve this defect. Today I updated kde-base/kdelibs-4.10.1-r1 which didn't reolve this defect. I'm not setting Segmentation fault but still failing. Attaching new logs and /var/tmp/portage/kde-base/rocs-4.10.1/work/rocs-4.10.1_build/CMakeFiles/CompilerIdC/CMakeCCompilerId.i per xarthisius request
Comment 5 Jack Morgan (RETIRED) gentoo-dev 2013-03-24 20:26:36 UTC
Created attachment 343154 [details]
CMakeCCompilerId.i file
Comment 6 Jack Morgan (RETIRED) gentoo-dev 2013-03-24 20:28:09 UTC
Created attachment 343156 [details]
updated build logs
Comment 7 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2013-03-28 11:10:37 UTC
Created attachment 343514 [details]
save-temps output
Comment 8 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2013-03-28 15:39:20 UTC
#0  0x00000000102fe8a0 in lookup_page_table_entry (p=0x0) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/gcc/ggc-page.c:575
#1  0x0000000010300130 in ggc_set_mark (p=0xfffb665e738) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/gcc/ggc-page.c:1323
#2  0x000000001021f2a4 in gt_ggc_mx_lang_tree_node (x_p=0xfffb665e738) at ./gt-cp-tree.h:146
#3  0x0000000010220d54 in gt_ggc_mx_lang_tree_node (x_p=0xfffb665dac8) at ./gt-cp-tree.h:353
#4  0x000000001021eb20 in gt_ggc_mx_VEC_qualified_typedef_usage_t_gc (x_p=0xfffb663df70) at ./gt-cp-tree.h:67
(More stack frames follow...)

I've gave up after frame no. 1024, needs reducing
Comment 9 SpanKY gentoo-dev 2013-03-29 04:41:49 UTC
i can't reproduce w/a cross-compiler.  but 4.6.3 crashes natively.  4.7.2 native works fine.

i have a reducer running, but it's incredibly slow due to each compile being exceedingly slow.  so it'll be a day or two before i get something smaller.
Comment 10 Jack Morgan (RETIRED) gentoo-dev 2013-03-31 02:47:04 UTC
upgraded to gcc-4.7.2 and rocs-4.10.1 merged fine.
Comment 11 Agostino Sarubbo gentoo-dev 2013-04-01 22:21:59 UTC
I can confirm the issue with 4.6.3
Comment 12 Johannes Huber (RETIRED) gentoo-dev 2014-08-10 22:45:33 UTC
Thanks for reporting. We have raised the minimum gcc version. Fixed in cvs now. 

+
+  10 Aug 2014; Johannes Huber <johu@gentoo.org> kde4-base.eclass:
+  Raise gcc minimum version to 4.7, bugs #462550, #471770, #508324.
+