Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE emerge fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Richard
n00b
n00b


Joined: 21 Nov 2002
Posts: 34
Location: Australia

PostPosted: Thu Nov 21, 2002 11:36 pm    Post subject: KDE emerge fails Reply with quote

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
View user's profile Send private message
ales
n00b
n00b


Joined: 20 Nov 2002
Posts: 19

PostPosted: Fri Nov 22, 2002 12:46 am    Post subject: Reply with quote

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
View user's profile Send private message
Gerk
Retired Dev
Retired Dev


Joined: 07 May 2002
Posts: 435

PostPosted: Fri Nov 22, 2002 4:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Richard
n00b
n00b


Joined: 21 Nov 2002
Posts: 34
Location: Australia

PostPosted: Mon Nov 25, 2002 2:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum