| View previous topic :: View next topic |
| Author |
Message |
rutabegaa n00b

Joined: 13 Oct 2002 Posts: 3 Location: MA -- USA
|
Posted: Sun Oct 13, 2002 5:30 am Post subject: emerge xfee problems... help? |
|
|
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 |
|
 |
Bobbus n00b

Joined: 13 Oct 2002 Posts: 12 Location: Paris, France
|
Posted: Sun Oct 13, 2002 11:28 am Post subject: Re: emerge xfee problems... help? |
|
|
| 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 |
|
 |
pfeifer Retired Dev

Joined: 31 Aug 2002 Posts: 37 Location: 49 degrees north
|
Posted: Sun Oct 13, 2002 2:10 pm Post subject: |
|
|
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 |
|
 |
rutabegaa n00b

Joined: 13 Oct 2002 Posts: 3 Location: MA -- USA
|
Posted: Sun Oct 13, 2002 6:41 pm Post subject: |
|
|
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 |
|
 |
rutabegaa n00b

Joined: 13 Oct 2002 Posts: 3 Location: MA -- USA
|
Posted: Sun Oct 13, 2002 10:55 pm Post subject: |
|
|
-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
thanks again everyone!
-ruty |
|
| Back to top |
|
 |
|