Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68676 - Multiple problems with 2004.x and not-G3: No successful install
Summary: Multiple problems with 2004.x and not-G3: No successful install
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-23 21:53 UTC by Decade
Modified: 2004-11-06 12:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Decade 2004-10-23 21:53:15 UTC
I'm using a PowerMac 7600, with a 120MHz PowerPC 604. My immediate issue is that, starting from stage1-ppc-* on either 2004.1 or 2004.2 LiveCD, the bootstrap doesn't work. /usr/bin/gcc complains:
Could not run/locate gcc

So, I tried copying /usr/power-unknown-linux-gnu/gcc-bin/3.3/gcc to /usr/bin/gcc and /usr/bin/cc, and then tried bootstrap.sh again, and it emerged portage and linux-headers, but then it failed to emerge gettext. Something about the compiler not being able to make executables. I got tired of the problem, and decided to complain here.

Reproducible: Always
Steps to Reproduce:
1. Get 7600, get Linux with a modern kernel on it, don't replace CPU with a G3.
2. Get a 2004.x stage1, do the stuff in the install procedure until you get to where you do the bootstrap.
3. Now try to do bootstrap.sh.
Actual Results:  
After waiting a small eternity for it to analyze the situation, it fails to 
use the compiler. 
 
You could also skip the steps after the chroot and env-update, and immediately 
try cc. 

Expected Results:  
After waiting a large eternity, it should have given me a working Gentoo 
system. 

Background story: Old World Macs don't boot using kernels in the 2004.x CDs. 
The 1.4 CD apparently does, but it doesn't have SCSI disk support or 
something. It apparently worked for some Gentoo PPC dev, but the stages aren't 
around anymore. I got it to where I could be trying to install Gentoo by 
installing Debian. That was another unexpectedly difficult hassle, eventually 
involving moving drives around on the 7600's 2 buses. 
 
I have no idea whether the problem actually is in my still having a 604, but 
the stuff seems to be working with other people's G3 and G4, and installing 
Debian and using a new 2.4 kernel worked with my Alpha. I'm imagining that 
once you're booted to Linux, and at this place, the New World/Old World 
difference thing doesn't have effect.
Comment 1 Lars Weiler (RETIRED) gentoo-dev 2004-10-31 20:14:07 UTC
Sounds like that gcc hasn't been configured correctly.

Can you try, if 
1. gcc --version works?  If not, try
2. 'gcc-config 1 && env-update && source /etc/profile' and then again
3. gcc --version

As there are more and more OldWorld users, we currently think about a special CD for those machines.  But first 2004.3 has to be released.
Comment 2 Decade 2004-11-02 08:46:21 UTC
The 2004.3 stage1 from 20040926 seems to have worked. Now if only we had a working kernel...
Comment 3 Decade 2004-11-06 12:02:47 UTC
Oh, yes, about that gcc config thing: I don't think that would work.

When I tried paying closer attention to the error messages once, I saw something saying that the files produced by gcc (invoked by going that whole /usr/powerpc... thing) in the older 2004 stages were not executable.