View previous topic :: View next topic |
Author |
Message |
Richard n00b
Joined: 21 Nov 2002 Posts: 34 Location: Australia
|
Posted: Thu Nov 21, 2002 11:36 pm Post subject: KDE emerge fails |
|
|
Hi,
I tried posting this to the mailing list with no joy, so I thought I would try here.
I am having problems emergeing kde. It crashes whilst emergeing kde_libs (3.0.4).
The machine is an imac G3 350Mhz (740/750) model with 128mb ram.
I am running gentoo (ppc): v1.4 RC1
c++: v 3.2.
I use only the default "USE" flags and the optimisation line is :
CFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char"
this is the error (excuse any typos as I transcribed it by hand). I should have used something like "emerge kde 2> errorfile", but I forgot. Any help is greatly appreciated.
--------------------------------------------------------------------------------
/usr/include/g++v32/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiqated 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.
libtool: link: warning: '-version-info' is ignored for programs
powerpc-unknown-linux-gnu-g++: Internal error: Terminated (program cc1pluss)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [katedocument.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
{standard input}: Assembler message:
{standard input}:11376: Warning: end of file not end of a line; newline inserted
{standard input}:13076: Error: missing operand
{standard input}:13076: Error: missing operand
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
!!! ERROR: The ebuild did not complete successfully
!!! Function kde_src_compile, line -6662, Exitcode 2
!!! died running emake, kde_src_compile: make
-----------------------------------------------------------------------
regards
Richard |
|
Back to top |
|
|
ales n00b
Joined: 20 Nov 2002 Posts: 19
|
Posted: Fri Nov 22, 2002 12:46 am Post subject: |
|
|
I have just about the same ibook as you...
check your /etc/make.conf
this line doesn't look right in your error msg ... :
Code: | powerpc-unknown-linux-gnu-g++: Internal error: Terminated (program cc1pluss) |
make sure you only have 1 "CHOST=" line (incase you modified your make.conf and added an additional by accident)
and it should look like this:
Code: |
CHOST="powerpc-unknown-linux-gnu"
|
and these are my "USE" flags...
Code: |
USE="X gtk xml xml2 pdflib xmms cups slp dga opengl imlib gd qt qtmt -gnome -alsa ssl crypt socks5 mozzilla"
|
also I use this kernel config :
[url] http://www.desertsol.com/~kevin/ppc/ [/url]
here's a direct link:
[url] http://www.desertsol.com/~kevin/ppc/quasarkernel.config.txt [/url]
NOTE: the only thing i change from the above config is the video card to Rage 128 (from RADEON) (there are 2 parts that indicate this in the .config)
hope that helps somewhat...
-ales |
|
Back to top |
|
|
Gerk Retired Dev
Joined: 07 May 2002 Posts: 435
|
Posted: Fri Nov 22, 2002 4:00 pm Post subject: |
|
|
I've seen this problem several times now, something in kde randomly causes compiler issues when using the -mcpu=750 optimization.
I reccomend removing the -mcpu=750 option from your CFLAGS temporarily, just to build kde stuffs, it should work ok from my past experience. gcc 3.2 is still fussy at time on ppc
Gerk |
|
Back to top |
|
|
Richard n00b
Joined: 21 Nov 2002 Posts: 34 Location: Australia
|
Posted: Mon Nov 25, 2002 2:25 am Post subject: |
|
|
Thanks Folks
The problem was the -mcpu=750 option. I removed it, and the compile finished. (actually i have switched to blackbox, but the problem followed me)
Richard |
|
Back to top |
|
|
|