Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
G5: PPC32 and PPC64: livecds && optimized builds
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
NetSyphon
n00b
n00b


Joined: 10 Apr 2004
Posts: 5
Location: VA,US

PostPosted: Wed May 12, 2004 1:22 am    Post subject: Reply with quote

yes with the 32 bit 2004.1-minimal cd and the stage 1 tarball i get errors extracting the archive. did you bootstrap yours and did you also use the same release i did?
Back to top
View user's profile Send private message
aarestad
n00b
n00b


Joined: 09 Jan 2004
Posts: 32
Location: Chicago, USA

PostPosted: Sun May 16, 2004 2:16 am    Post subject: Re: ppc64 optimizations Reply with quote

korg wrote:


Try using:

install-ppc-minimal-2004.1.iso

(the ppc32 boot cd) to boot from and fdisk your hard disk. Then reboot with the ppc64 cd and just skip the fdisk stage (because you already did it :).


I was able to get my disk formatted and partitioned, but a few things:

1) It should be noted that the directions didn't indicate that it's necessary to create the disk catalog (or whatever) as the first "partition" of a newly-minted drive.
1b) Incidentally, why are the internal hard drives "/dev/sda" and "/dev/sdb" on the G5? Does that have something to do with the fact that they're SATA drives? I've done all my Linux work on x86es, and ATA drives have always been "/dev/hda", "/dev/hdb", etc.

2) I tried to format my root partition as ReiserFS, XFS, and JFS, but the 64-bit universal CD's kernel recognized none of them! I finally gave up and used ext3 and that seemed to work. What happened here?

3) Per a previous message, I tried to use the bootstrap-2.6 script, but something bizarre keeps happening: somewhere in the middle of the script, my Mac just spontaneously reboots! :?: This is really messed up. Should I just be using the "bootstrap.sh" script?

If you need more info, let me know. I'm eager to help get the 64-bit Linux system running - I want to be able to use my G5 to its full potential without having to wait for 64-bit OS X. :wink:
_________________
During times of universal deceit, telling the truth becomes a revolutionary act.
--George Orwell
Back to top
View user's profile Send private message
ericvh
n00b
n00b


Joined: 20 Oct 2003
Posts: 18
Location: Austin, TX

PostPosted: Sun May 30, 2004 5:19 pm    Post subject: Current State? Reply with quote

So I run several G5s (and an 8-way IBM p650) with Gentoo ppc64 kernels and ppc32 user environments. I've had some limited success with compiling 64-bit user-land apps by building my own 64-bit cross-tools following the instructions on penguinppc64.org.

From readings posts here, it seems like ppc64 user environment is till pretty unstable (just what exactly does that mean? what doesn't run?) - but what about building ppc64 tool chains? Is there a gentoo emerge equivilent for the bi-arch chain - or do people in the ppc64 environment just bootstrap ppc64 and not build any 32-bit apps?

It seems like what we would want would be a way for KEYWORDS to specify how to build a particular app. If ppc64 is defined that build it -m64 with biarch - otherwise build it -m32 with biarch. --or am I just daft, and this is the way things already work?

Anyone have any luck with getting xlc and/or xlf working under gentoo? This is actually what we are trying to get working at the moment.
Back to top
View user's profile Send private message
pvdabeel
Retired Dev
Retired Dev


Joined: 25 Mar 2003
Posts: 188
Location: Belgium

PostPosted: Mon May 31, 2004 12:15 am    Post subject: Re: Current State? Reply with quote

ericvh wrote:

From readings posts here, it seems like ppc64 user environment is till pretty unstable (just what exactly does that mean? what doesn't run?) - but what about building ppc64 tool chains? Is there a gentoo emerge equivilent for the bi-arch chain - or do people in the ppc64 environment just bootstrap ppc64 and not build any 32-bit apps?


What is relatively stable at this moment are the install livecds and the stages. What still needs work is keywording, testing, patching, documenting, and even gcc-3.4 toolchain work:

http://dev.gentoo.org/~tgall/

Quote:

It seems like what we would want would be a way for KEYWORDS to specify how to build a particular app. If ppc64 is defined that build it -m64 with biarch - otherwise build it -m32 with biarch. --or am I just daft, and this is the way things already work?


Currently still on the todo list, but the way it is going to work is:

you install a 64bit kernel and choose between 32bit and 64 bit userland (or later: a bi-arch toolchain). if you run a 64bit kernel and you emerge something the 64bit version gets emerged, by prepending

powerpc32

to the emerge command, the compile will happen in 32bit. Similar to amd64 or (to some extend) sparc64 on gentoo
Back to top
View user's profile Send private message
pvdabeel
Retired Dev
Retired Dev


Joined: 25 Mar 2003
Posts: 188
Location: Belgium

PostPosted: Mon May 31, 2004 12:26 am    Post subject: Reply with quote

An update from developerland:

We are currently running gcc-3.3.3_pre20040408-r1 with glibc-2.3.3_pre20040420-r1. This toolchain will most likely become available in your 2004.0 or 2004.1 profile soon. I have a full NPTL enabled (2.6 headers) G3,G4,G5 optimized set of GRP and stages ready against this toolchain (hence the recent stable bumps (kde-3.2.2, gnome-2.6, mysql, ...))

We are also working on the default-ppc-2004.2 profile, which will have a gcc-3.4 toolchain (depending on how stuff evolves). I currently have a full set of stages and GRP build. Some apps still need a bit of patching, (because of the more strict C++ handling) we're working on that.

I am in the process of building a kde/gnome livecd again, which will be released this week. It will have 32bit G3,G4,G5 (SMP enabled) kernels and also a 64bit kernel (G5). The userland will be 32bit. A full 64bit kde/gnome livecd is for later. ).

We will have xorg in both 32bit and 64 as default on the next release.

Both architectures are still in need of developers wanting to work on stuff like docs, ebuilds, testing, toolchains, kernels... Speak to me or tgall if you're interested.
Back to top
View user's profile Send private message
asv
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 138
Location: State College, PA United States

PostPosted: Fri Jun 04, 2004 11:12 pm    Post subject: libperl problems Reply with quote

I noticed someone was having the same problem with libperl on the G5. Any one have answer for this one?
Code:

       CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -O3 -mcpu=power4 -mtune=power4 -mabi=altivec -maltivec -fno-strict-aliasing -pipe  -Wall
gcc -o libperl.so.1.5.8 -L/usr/local/lib perl.o  gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o  -lnsl -ldl -lm -lcrypt -lutil -lc -lbsd  -Wl,-soname -Wl,libperl.so.`echo libperl.so.1.5.8 | cut -d. -f3`
/usr/lib/gcc-lib/powerpc64-unknown-linux-gnu/3.3.3/../../../../lib64/crt1.o(.data.rel.ro.local+0x8): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [libperl.so.1.5.8] Error 1
 
!!! ERROR: sys-devel/libperl-5.8.2 failed.
!!! Function src_compile, Line 206, Exitcode 2
!!! Unable to make libperl.so
Back to top
View user's profile Send private message
ampedover
n00b
n00b


Joined: 18 Dec 2003
Posts: 12
Location: San Diego

PostPosted: Mon Jun 07, 2004 4:53 pm    Post subject: Re: libperl problems Reply with quote

Try using stage1-ppc64-20040224.tar.bz2. You'll get passed the perl issue (I had the same problem). However, I run into other problems down the road but I'm trying the ppc64 builds.

Code:
# cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
CFLAGS="-O2"
CHOST="powerpc64-unknown-linux-gnu"
USE=""
CXXFLAGS="${CFLAGS}"
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
Goto page Previous  1, 2
Page 2 of 2

 
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