Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unexpected instability
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
Solra Bizna
n00b
n00b


Joined: 07 May 2005
Posts: 40

PostPosted: Sat Oct 22, 2005 6:24 am    Post subject: Unexpected instability Reply with quote

I've installed ppc64 Gentoo 2005.1 on my dual 2GHz G5 (512MB RAM, Radeon 9600 64MB video). I was stupid enough to try installing an unfamiliar+unstable architecture, AND install for my first time without doing a disk-wide reformat (I was installing it over an existing partition), AND install on an external disk, AND use potentially dangerous cflags.... I'm honestly surprised the machine hasn't exploded, but so far (with a few preemptive... how to say... "repackagings") it's totally stable. I even got the volume and eject buttons working.
And while I was expecting problems using these cflags, I was definitely not expecting them in these particular packages. Mozilla Firefox simply exits with status 1 on startup, and xmms segfaults when I try to play. But everything else is stable, even mplayer.
Code:
hardin ~ # emerge --info
Portage 2.0.51.22-r2 (default-linux/ppc/2005.1/ppc64/64bit-userland, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r10 ppc64)
=================================================================
System uname: 2.6.12-gentoo-r10 ppc64 PPC970, altivec supported
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O3 -pipe -fomit-frame-pointer -ffast-math -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 -malign-natural -ffast-math -funroll-loops -mcpu=G5 -mpowerpc-gpopt -mtune=G5 -fsched-interblock -fgcse-sm -mpowerpc64 -maltivec"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe -fomit-frame-pointer -ffast-math -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 -malign-natural -ffast-math -funroll-loops -mcpu=G5 -mpowerpc-gpopt -mtune=G5 -fsched-interblock -fgcse-sm -mpowerpc64 -maltivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://cudlug.cudenver.edu/gentoo/"
LINGUAS="ja"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc64 X aalib alsa altivec berkdb bitmap-fonts curl custom-cflags dvd encode fam flac fortran gdbm gif gpm gtk ibm ipv6 jpeg kde mad mikmod mp3 ncurses nls nptl ogg opengl pam perl png python qt readline sdl speex ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode vorbis xml2 xv zlib linguas_ja userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
I'm about to do an emerge sync, emerge --newuse world, and emerge --update world (I recently changed the USE flags a little) and record the unstable or unkeyworded packages I've found to be stable...but I'm hoping someone can throw some insight into the firefox/xmms thing. (I tried doing some detective work on my own with firefox, but the build system interfered.)
-:sigma.SB
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Sat Oct 22, 2005 12:46 pm    Post subject: Reply with quote

Hi,

for Firefox (and mozilla in general) look here and here. Basicly Morzilla application cannot run on ppc64 yet, because they have not been ported to that platform.

And for xmms: I have not yet expected this problem, but I only play with xmms, when needing to mark a new version stable. As you are the first person, who reports this and xmms is marked stable for quite some time, I expect your problem is somewhere else.. You could try beep-media-player BTW :wink:.

Your CFLAGS seem not realy "oh my god optimized" :roll: . Please use something like this:

Code:

CFLAGS="-O2 -pipe -mtune=970 -mcpu=970 -mabi=altivec"
CXXFLAGS=${CFLAGS}


This are the defaults in default-linux/ppc/2005.1/ppc64/64bit-userland/970/pmac/ profile BTW and work just fine for me!

Regards,

Markus
Back to top
View user's profile Send private message
Solra Bizna
n00b
n00b


Joined: 07 May 2005
Posts: 40

PostPosted: Sat Oct 22, 2005 9:23 pm    Post subject: Reply with quote

corsair wrote:
Basicly Morzilla application cannot run on ppc64 yet, because they have not been ported to that platform.

Oh! Maybe THAT was the reason it had no ppc64 keyword! *bangs head on desk, makes note not to blindly keyword stuff*
It probably ought to be marked -ppc64 until it works...

corsair wrote:
And for xmms: I have not yet expected this problem, but I only play with xmms, when needing to mark a new version stable. As you are the first person, who reports this and xmms is marked stable for quite some time, I expect your problem is somewhere else.. You could try beep-media-player BTW :wink:.

I tried manually compiling and it didn't help. I guess I'll have to live without xmms. :( I'll emerge beep-media-player.... (Edit: which is totally stable as well. :/)

corsair wrote:
Your CFLAGS seem not realy "oh my god optimized" :roll: . Please use something like this:
[snip]
This are the defaults in default-linux/ppc/2005.1/ppc64/64bit-userland/970/pmac/ profile BTW and work just fine for me!

The cflags I chose are the cflags triggered in Apple GCC when you pass it the -fast option, with some Apple-specific options removed. Besides, I don't want to recompile my system again... (never forget the opengl use flag if you want opengl... :|)
-:sigma.SB
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