Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge xfee problems... help?
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
rutabegaa
n00b
n00b


Joined: 13 Oct 2002
Posts: 3
Location: MA -- USA

PostPosted: Sun Oct 13, 2002 5:30 am    Post subject: emerge xfee problems... help? Reply with quote

Hello all...
I have been installing genoo on a PPC G4 (7400) 400mhz machine
I bootstrapped from stage 1 and everything has gone well except
that after several attempts I can't seem emerge xfree.

I was hoping to get some advice before I have another go at it...

The ebuild always dies at the same point with:

Code:

LD_LIBRARY_PATCH=../../../exports/lib ../../../exports/bin/mkfontdir -x bdf .
make[4]: ***[fonts.dir] Segmentation fault
make[4]: Leaving directory 'var/tmp/portage/xfree-4.2.0-r12/work/xc/fonts/bdf/misc'
make[3]: ***[install] Error 2
make[3]: Leaving directory 'var/tmp/portage/xfree-4.2.0-r12/work/xc/fonts/bdf'
make[2]: ***[install] Error 2
make[2]: Leaving directory 'var/tmp/portage/xfree-4.2.0-r12/work/xc/fonts'
make[1]: ***[install] Error 2
make[1]: Leaving directory 'var/tmp/portage/xfree-4.2.0-r12/work/xc'
make: ***[install] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line 9, Exitcode 2
!!! (no error message)


my CFLAGS are set to
"-03 -pipe -mcpu=7400 -maltivec -mpoerpc-gfxopt -fsigned-char"


I read several posts about people having trouble compiling xfree but many of the solutions (Remerge gcc) either didn't work for me or (add -mno-mmx) didn't seem appropriate for powerpc... I noticed that the ebuild includes the -mno-mmx fix for x86... but i'm not sure what to use for ppc :?


Oh, my gcc version is 3.2

If anone can point me in the right direction I would really appreciate it :)
Back to top
View user's profile Send private message
Bobbus
n00b
n00b


Joined: 13 Oct 2002
Posts: 12
Location: Paris, France

PostPosted: Sun Oct 13, 2002 11:28 am    Post subject: Re: emerge xfee problems... help? Reply with quote

rutabegaa wrote:
my CFLAGS are set to
"-03 -pipe -mcpu=7400 -maltivec -mpoerpc-gfxopt -fsigned-char"


Here are your problems. The -O3 flag doesn't provide stable builds on a G4 CPU.
You should add a flag -mabi=altivec too.
See www.freehackers.org/gentoo/gccflags for more info

Bob[/url]
Back to top
View user's profile Send private message
pfeifer
Retired Dev
Retired Dev


Joined: 31 Aug 2002
Posts: 37
Location: 49 degrees north

PostPosted: Sun Oct 13, 2002 2:10 pm    Post subject: Reply with quote

Well, I am sure after much testing the O3 flag was deemed to have issues, but I have my entire system compiled with the following flags on gcc 3.2:

CFLAGS="-O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -fsigned-char"
CXXFLAGS="${CFLAGS}"

no noted issues due to CFLAGS so far. i have xfree compiled, kde compiled, gnome compiled, and many others. of course, i started building this system around the 15th of September. This was before the suggested G4 compile flags were changed (namely the addition of the -mabi=altivec right around the 24th of September). i was already using it, the only real difference was the O2 vs O3. i have seen no reason to change.

i guess that with the O3 flag, your mileage may vary.

Maybe Gerk can elaborate on this (issues with O3 on G4s)?

Oh, I have a PowerMac G4 466 (PowerMac G4 Silver) just to clarify which model I am using.

regards,

_j_
Back to top
View user's profile Send private message
rutabegaa
n00b
n00b


Joined: 13 Oct 2002
Posts: 3
Location: MA -- USA

PostPosted: Sun Oct 13, 2002 6:41 pm    Post subject: Reply with quote

thanks for the tips!
the freehackers site is definately helpful.

I'm going to have a go at it with -02 -mabi=altivec
and if that works then maybe i'll take shot
at it with -03 just to see what the exact problem was...

I'm also curious about what the 03 g4 issue is...

thanks agan!
Back to top
View user's profile Send private message
rutabegaa
n00b
n00b


Joined: 13 Oct 2002
Posts: 3
Location: MA -- USA

PostPosted: Sun Oct 13, 2002 10:55 pm    Post subject: Reply with quote

-02 -mabi=altivec

worked like a charm!
thanks again

now if i could just configure without crashing the server...

Xeasyconf
(and XFree86 -configure)

both crash almost immediately
Xeasyconf
crashes the server when it tries to probe with:
'exepected at least 3 tokens for --msgbox, have 1'

but i've only just begun to fail at configuring so I'll probably fail for another week before i cry out for help again :wink:

thanks again everyone!

-ruty
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