Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85022 - kdelibs-3.3.2-r2 won't compile, g++ segfaults.
Summary: kdelibs-3.3.2-r2 won't compile, g++ segfaults.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: PPC Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-12 14:52 UTC by Alex Zorach
Modified: 2005-03-12 22:11 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 Alex Zorach 2005-03-12 14:52:55 UTC
While updating whole system, update got through most of base system and then failed when trying to compile kdelibs:

{standard input}: Assembler messages:
{standard input}:0: Warning: end of file not at end of a line; newline inserted
{standard input}:285: Error: missing operand
{standard input}:285: Error: missing operand
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [clipboardcopinterface_skel.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3] Leaving directory '/var/tmp/portage/kdelibs-3.3.2-r2/work/kdelibs-3.3.2/interfaces/ktexteditor'

... etc ...

!!! ERROR: kde-base/kdelibs-3.3.2-r2 failed.
!!! function kde_src_compile, Line 142, Exitcode 2
!!! died running emake, kde_src_compile: make

------
gcc version 3.4.1 20040803
glibc version 2.3.3
kernel 2.6.8-gentoo-r7
750 (G3 blue & white)
My CFLAGS are: "-O2 -mcpu=750 -pipe -mpowerpc-gfxopt -fweb -frename-registers".  

According to what I have read, these flags *should* be safe.  This may be a bug in gcc???  I'm not sure.

Reproducible: Didn't try
Steps to Reproduce:
I am trying to reproduce it currently; the compilation is slow.  I will repost and edit the bug once I reproduce it successfully.


Expected Results:  
kdelibs should have compiled cleanly.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-12 15:49:38 UTC
ppc herd: can you reproduce the problem?
Comment 2 Joe Jezak (RETIRED) gentoo-dev 2005-03-12 16:16:07 UTC
Do you have kernel preemption enabled in your kernel?  That can cause problems like this on ppc.  Please turn it off and try again if it's on.
Comment 3 Alex Zorach 2005-03-12 22:11:14 UTC
I checked, pre-emptible kernel was enabled; recompiled kernel, second time through compilation, worked fine.  Thank you.